Bug#495629: installing, puring, reinstalling amavisd-new fails because purge does not deluser/delgroup.

2008-08-19 Thread Brian May
Trent W. Buck wrote: As a resolution to #431853, simply leaving a broken user and group lying around is *not* sensible. It would be better to call deluser, but succeed on error 127 (deluser not found). The attached patch demonstrates this. Note that this approach is taken by many other

Bug#495629: installing, puring, reinstalling amavisd-new fails because purge does not deluser/delgroup.

2008-08-19 Thread Trent W. Buck
On Tue, Aug 19, 2008 at 05:58:05PM +1000, Brian May wrote: Trent W. Buck wrote: As a resolution to #431853, simply leaving a broken user and group lying around is *not* sensible. It would be better to call deluser, but succeed on error 127 (deluser not found). The attached patch

Bug#495629: installing, puring, reinstalling amavisd-new fails because purge does not deluser/delgroup.

2008-08-18 Thread Trent W. Buck
Package: amavisd-new Version: 1:2.6.1.dfsg-1 Severity: normal If this package is purged and reinstalled, the reinstall fails because the amavis user's home directory is deleted, but the amavis user and group are not. # dpkg --configure amavisd-new Setting up amavisd-new