[Pkg-freeipa-devel] Bug#804312: pki-base: fails to purge: rmdir: failed to remove '/etc/pki': Directory not empty

Andreas Beckmann anbe at debian.org
Sat Nov 7 08:55:11 UTC 2015

Package: pki-base
Version: 10.2.6-1
Severity: important
User: debian-qa at lists.debian.org
Usertags: piuparts


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 pki-base (10.2.6-1) ...
  Purging configuration files for pki-base (10.2.6-1) ...
  rmdir: failed to remove '/etc/pki': Directory not empty
  dpkg: error processing package pki-base (--purge):
   subprocess installed post-removal script returned error exit status 1

This was observed during a test of the freeipa-server paclage, not
pki-base itself. Having two packages use that directory clearly means
both of them need to ship it in the package and let dpkg take care of
creation and removal, this is not the maintainer scripts task.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-server_4.0.5-6.log.gz
Type: application/gzip
Size: 57193 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-freeipa-devel/attachments/20151107/b62af6e4/attachment-0001.bin>

More information about the Pkg-freeipa-devel mailing list