Package: bind9 Version: 1:9.8.1.dfsg.P1-3 Severity: important User: [email protected] Usertags: piuparts
Hi, during a test with piuparts I noticed your package failed to purge. The following actions were performed: boostrap a minimal sid chroot apt-get install $PACKAGE # installs $PACKAGE and $DEPENDENCIES apt-get remove $PACKAGE $DEPENDENCIES dpkg --purge $DEPENDENCIES dpkg --purge $PACKAGE >From the attached log (scroll to the bottom...): Removing bind9 ... Purging configuration files for bind9 ... rmdir: failed to remove `/var/lib/bind': No such file or directory Deleting bind user /var/lib/dpkg/info/bind9.postrm: 11: /var/lib/dpkg/info/bind9.postrm: deluser: not found rmdir: failed to remove `/var/lib/bind': No such file or directory /var/lib/dpkg/info/bind9.postrm: 11: /var/lib/dpkg/info/bind9.postrm: deluser: not found dpkg: error processing bind9 (--purge): subprocess installed post-removal script returned error exit status 128 Errors were encountered while processing: bind9 After checking the postrm script, none of these errors was fatal (because of trailing '|| true'), so I added set -x to see what is going on afterwards: Removing bind9 ... Purging configuration files for bind9 ... + [ purge = purge ] + rm -f /etc/bind/rndc.key /etc/default/bind9 + rmdir /etc/bind + true + rm -f /etc/apparmor.d/force-complain/usr.sbin.named + rmdir /var/lib/bind rmdir: failed to remove `/var/lib/bind': No such file or directory + getent passwd bind + echo Deleting bind user Deleting bind user + deluser --quiet bind /var/lib/dpkg/info/bind9.postrm: 12: /var/lib/dpkg/info/bind9.postrm: deluser: not found + true + [ purge = purge ] + update-rc.d bind9 remove + [ purge = purge ] + [ -e /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/bind9.postrm purge + [ purge = purge ] + rm -f /etc/bind/rndc.key /etc/default/bind9 + rmdir /etc/bind + true + rm -f /etc/apparmor.d/force-complain/usr.sbin.named + rmdir /var/lib/bind rmdir: failed to remove `/var/lib/bind': No such file or directory + getent passwd bind + echo Deleting bind user + deluser --quiet bind /var/lib/dpkg/info/bind9.postrm: 12: /var/lib/dpkg/info/bind9.postrm: deluser: not found + true + [ purge = purge ] + update-rc.d bind9 remove + [ purge = purge ] + [ -e /usr/share/debconf/confmodule ] + . /usr/share/debconf/confmodule + [ ! 1 ] + [ -z ] + exec + [ ] + exec + DEBCONF_REDIR=1 + export DEBCONF_REDIR + db_purge + _db_cmd PURGE + _db_internal_IFS= + IFS= + printf %s\n PURGE + IFS= + IFS= read -r _db_internal_line + RET=20 Unsupported command "deleting" (full line was "Deleting bind user") received from confmodule. + return 20 dpkg: error processing bind9 (--purge): subprocess installed post-removal script returned error exit status 128 Errors were encountered while processing: bind9 Looks like debconf gets confused by the "Deleting bind user" message that gets output inbetween. cheers, Andreas
bind9_1:9.8.1.dfsg.P1-3.log.gz
Description: GNU Zip compressed data

