Thanks for the patch, it is much appreciated. I'll upload a fixed version to unstable and to stable proposed-updates.
Jeroed, feel free to clone my git repository somewhere (github / alioth) and ask for pull requests. O. On Thu, Apr 7, 2011 at 14:46, Jeroen Schot <sc...@a-eskwadraat.nl> wrote: > Hi, > > On Wed, Apr 06, 2011 at 11:44:17AM +0200, S Berder wrote: >> Package: nsd3 >> Version: 3.2.5-1 >> Severity: important >> >> When using 'apt-get remove --purge nsd3', the /var/lib/dpkg/statoverride >> file is left in an unstable state. >> Reproduced the problem several times by installing the package and >> removing/purging it. >> After the remove/purge, any further install fails. >> >> After 'apt-get remove --purge nsd3' : >> # cat /var/lib/dpkg/statoverride >> >> nsd nsd 755 /var/lib/nsd3 >> nsd nsd 750 /etc/nsd3 >> nsd nsd 640 /etc/nsd3/nsd.conf >> [...] >> # apt-get install package >> [...] >> Preconfiguring packages ... >> dpkg: unrecoverable fatal error, aborting: >> syntax error: unknown user 'nsd' in statoverride file >> E: Sub-process /usr/bin/dpkg returned an error code (2) > > This is because the postrm script removes the nsd user before it > removes the stat overrides. > > Attached patch fixes this (and also suppresses a spurious warning when > /var/lib/nsd3 was empty and thus automatically removed). > > Would this be a candidate for proposed-updates as it fixes an > installability bug? > > Regards, > -- > Jeroen Schot > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.0.14 (GNU/Linux) > > iF4EAREIAAYFAk2dsjsACgkQltTwwNczgvFIQQD8DnnvGsZK8LF564eSdmsjkb41 > 9NzdD8fBmHKxR29ddYIA/ibnX3/+Ive/fz3p0C6V/8V7oN+PAx6OX17ryMNxR4et > =Y7D3 > -----END PGP SIGNATURE----- > > -- Ondřej Surý <ond...@sury.org> -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org