[Adduser-devel] Bug#421089: deluser and perl-modules

Marc Haber mh+debian-packages at zugschlus.de
Thu Apr 26 11:30:20 UTC 2007

clone #421089 -1
reassign #421089 adduser
reassign -1 ippl
retitle #421089 please document "perl-modules not installed" return value
retitle -1 please correctly handle "perl-modules not installed" after deluser
block -1 with #421089

On Thu, Apr 26, 2007 at 12:51:37PM +0200, Josip Rodin wrote:
> % sudo dpkg -P ippl
> (Reading database ... 8277 files and directories currently installed.)
> Removing ippl ...
> Stopping IP protocols logger: ippl.
> Purging configuration files for ippl ...
> Removing system user
> /usr/sbin/deluser: In order to use the --remove-home, --remove-all-files,
> and --backup features,
> you need to install the `perl-modules' package. To accomplish that, run
> apt-get install perl-modules.
> dpkg: error processing ippl (--purge):
>  subprocess post-removal script returned error exit status 1
> Errors were encountered while processing:
>  ippl
> % 
> Hrm.

"Unschön", as German says.

I think the cleanest way to go is to have deluser return a documented
return code in the case of "perl-modules not installed, I cannot fully
perform what I was asked for", and for ippl's postrm (and a whole
bunch of others of my packages) to properly special-case this.

Cloning, reassigning and renaming appropriately.


Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 72739835

More information about the Adduser-devel mailing list