[buildd-tools-devel] Bug#619892: sbuild: fails to purge - command (deluser|adduser) in postrm not found

Holger Levsen holger at layer-acht.org
Mon Mar 28 09:36:01 UTC 2011


Package: sbuild
Version: 0.61.0-1
Severity: important
User: debian-qa at lists.debian.org
Usertags: piuparts piuparts.d.o

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.

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...):

0m23.4s DEBUG: Starting command: 
['chroot', '/org/piuparts.debian.org/tmp/tmpxqK83Q', 'dpkg', '--purge', 'sbuild']
0m23.4s DUMP: 
  (Reading database ... 6164 files and directories currently installed.)
  Removing sbuild ...
  Purging configuration files for sbuild ...
  /var/lib/dpkg/info/sbuild.postrm: 90: delgroup: not found
  dpkg: error processing sbuild (--purge):
   subprocess installed post-removal script returned error exit status 127
  Errors were encountered while processing:
   sbuild

The fix should be easy: your package is using adduser or deluser from the 
adduser package, which is only priority important. Using useradd or userdel 
from the passwd package should fix this problem.


cheers,
	Holger
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sbuild_0.61.0-1.log
Type: text/x-log
Size: 69518 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20110328/81de2d46/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/buildd-tools-devel/attachments/20110328/81de2d46/attachment-0001.pgp>


More information about the Buildd-tools-devel mailing list