[Pkg-dns-devel] Bug#882999: bind9: fails to purge: rmdir: failed to remove '/var/lib/bind': No such file or directory

Andreas Beckmann anbe at debian.org
Tue Nov 28 15:48:06 UTC 2017


Package: bind9
Version: 1:9.10.6+dfsg-5
Severity: important
User: debian-qa at 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...):

  Purging configuration files for bind9 (1:9.10.6+dfsg-5) ...
  rmdir: failed to remove '/var/lib/bind': No such file or directory
  dpkg: error processing package bind9 (--purge):
   installed bind9 package post-removal script subprocess returned error exit status 1

This was observed while testing the dms-wsgi package, nut just bind9
itself. So a certain package combination seems to trigger it.
Anyway, postrm should not assume the stuff it wants to delete
must exist.


cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dms-wsgi_1.0.8-1.2.log.gz
Type: application/gzip
Size: 38937 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-dns-devel/attachments/20171128/9442186e/attachment-0001.bin>


More information about the pkg-dns-devel mailing list