Package: adduser Version: 3.160 Severity: serious User: [email protected] Usertags: piuparts
Hi, during the sid-strict test of x2goserver-desktopsharing at piuparts.d.o I noticed your package failed to purge due to failing to delete a directory [1]. This causes adduser to remain in the “Config-Files” state. From the linked log [1] (search for /var/lib/adduser): Purging configuration files for adduser (3.160) ... removed '/var/lib/adduser/state' rm: cannot remove '/var/lib/adduser': Is a directory dpkg: error processing package adduser (--purge): installed adduser package postrm maintainer script subprocess failed with exit status 1 The reason for this error is in debian/postrm, line 8 [2] where '/var/lib/adduser' is supposed to get removed. However this fails for option -r is missing from the 'rm' call. I also noticed a file '/var/lib/adduser/state.lock' gets generated. So, it might be good idea to not delete '/var/lib/adduser/state' explicitely, but rely on rm -rfv /etc/adduser.conf /etc/adduser.conf.dpkg-save /etc/adduser.conf.update-old /var/lib/adduser cheers, Sven [1] https://piuparts.debian.org/sid-strict/fail/x2goserver-desktopsharing_4.1.0.6-3.log [2] https://sources.debian.org/src/adduser/3.160/debian/postrm#L8 -- GPG Fingerprint 3DF5 E8AA 43FC 9FDF D086 F195 ADF5 0EDA F8AD D585
signature.asc
Description: This is a digitally signed message part

