[Pkg-puppet-devel] Bug#527381: purge fails

Holger Levsen holger at layer-acht.org
Thu May 7 12:21:01 UTC 2009


Package: puppet
Version: 0.24.8-1
Severity: serious
User: debian-qa at lists.debian.org
Usertags: piuparts piuparts.d.o

Hi, 

during a test with piuparts I noticed your package fails to purge.

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

0m28.0s DEBUG: Starting command: 
['chroot', '/org/piuparts.debian.org/tmp/tmpUUO6tz', 'dpkg', '--purge', '--pending']
0m28.0s DUMP: 
  (Reading database ... 5843 files and directories currently installed.)
  Removing puppet ...
  Purging configuration files for puppet ...
  /var/lib/dpkg/info/puppet.postrm: line 6: deluser: command not found
  dpkg: error processing puppet (--purge):
   subprocess post-removal script returned error exit status 127
  Errors were encountered while processing:
   puppet
0m28.0s ERROR: Command failed (status=1): 
['chroot', '/org/piuparts.debian.org/tmp/tmpUUO6tz', 'dpkg', '--purge', '--pending']
  (Reading database ... 5843 files and directories currently installed.)
  Removing puppet ...
  Purging configuration files for puppet ...
  /var/lib/dpkg/info/puppet.postrm: line 6: deluser: command not found
  dpkg: error processing puppet (--purge):
   subprocess post-removal script returned error exit status 127
  Errors were encountered while processing:
   puppet

From the third paragraph about the meaning of the depends field in 
http://www.debian.org/doc/debian-policy/ch-relationships.html#s-binarydeps 

The Depends field should also be used if the postinst, prerm or postrm scripts 
require the package to be present in order to run. __Note, however, that the 
postrm cannot rely on any non-essential packages to be present during the 
purge phase__.


regards,
	Holger
-------------- next part --------------
A non-text attachment was scrubbed...
Name: puppet_0.24.8-1.log
Type: text/x-log
Size: 44165 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-puppet-devel/attachments/20090507/e8ea3910/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/pkg-puppet-devel/attachments/20090507/e8ea3910/attachment-0001.pgp>


More information about the Pkg-puppet-devel mailing list