Package: python-poker-network
Version: 2.0.0-1
Severity: important
User: debian...@lists.debian.org
Usertags: piuparts

Hi,

during a test with piuparts I noticed your package failed to purge.
According to policy 7.2 you cannot rely on the depends being available
during purge, only the essential packages are available for sure.

Filing this as important because a.) it's a clear policy violation (to
not clean up at purge) b.) having a piuparts clean archive is a release
goal since lenny and c.) this package being piuparts buggy blocks
packages depending on it from being tested by piuparts (and thus
possibly the detection of more severe problems).

>From the attached log (scroll to the bottom...):

  Removing python-poker-network ...
  Purging configuration files for python-poker-network ...
  dpkg: error processing python-poker-network (--purge):
   subprocess installed post-removal script returned error exit status 127
  Errors were encountered while processing:
   python-poker-network

And with some more set -x we see:

  Removing python-poker-network ...
  Purging configuration files for python-poker-network ...
  + set -e
  + '[' -f /usr/share/debconf/confmodule ']'
  + . /usr/share/debconf/confmodule
  ++ '[' '!' '' ']'
  ++ PERL_DL_NONLAZY=1
  ++ export PERL_DL_NONLAZY
  ++ '[' '' ']'
  ++ exec /usr/share/debconf/frontend 
/var/lib/dpkg/info/python-poker-network.postrm purge
  + set -e
  + '[' -f /usr/share/debconf/confmodule ']'
  + . /usr/share/debconf/confmodule
  ++ '[' '!' 1 ']'
  ++ '[' -z '' ']'
  ++ exec
  ++ '[' '' ']'
  ++ exec
  ++ DEBCONF_REDIR=1
  ++ export DEBCONF_REDIR
  + db_get python-poker-network/configure
  + _db_cmd 'GET python-poker-network/configure'
  + _db_internal_IFS='
  '
  + IFS=' '
  + printf '%s\n' 'GET python-poker-network/configure'
  + IFS='
  '
  + IFS='
  '
  + read -r _db_internal_line
  + RET=false
  + case ${_db_internal_line%%[         ]*} in
  + return 0
  + '[' false '!=' false ']'
  + rm -f '/etc/munin/plugins/poker_*'
  + '[' purge = purge ']'
  + for file in /etc/poker-network/poker.bot.xml 
/etc/poker-network/poker.server.xml
  + ucf --debconf-ok --purge /etc/poker-network/poker.bot.xml
  dpkg: error processing python-poker-network (--purge):
   subprocess installed post-removal script returned error exit status 127
  Errors were encountered while processing:
   python-poker-network

So it's yet another case of ucf not found with stderr redirected to /dev/null 
...

Hi,

during a test with piuparts I noticed your package failed to purge due
to a command not found. According to policy 7.2 you cannot rely on the
depends being available during purge, only the essential packages are
available for sure.

Please see the manpages ucf(1), ucfr(1) and the example maintainer
scripts under /usr/share/doc/ucf/examples/ for correct usage of ucf.

Filing this as important because a.) it's a clear policy violation (to
not clean up at purge) b.) having a piuparts clean archive is a release
goal since lenny and c.) this package being piuparts buggy blocks
packages depending on it from being tested by piuparts (and thus
possibly the detection of more severe problems).


cheers,

Andreas

Attachment: python-poker-network_2.0.0-1.log.gz
Description: GNU Zip compressed data

Reply via email to