Package: adduser,ippl Severity: important Hi, % 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. % apt-cache show perl-modules | grep Priority Priority: standard % grep -B2 -A2 deluser /var/lib/dpkg/info/ippl.p* rm -rf /var/log/ippl if command -v deluser >/dev/null; then echo >&2 ''Removing system user'' deluser --remove-home --system $USERNAME else echo >&2 ''Not removing system user, deluser not found'' fi fi % Obviously I''ll install perl-modules to work around this problem, but there should be a better way. -- 2. That which causes joy or happiness.
On Thu, Apr 26, 2007 at 12:51:37PM +0200, Josip Rodin wrote:> Obviously I''ll install perl-modules to work around this problem, but there > should be a better way.And even once I did that, I got: Purging configuration files for ippl ... Removing system user Looking for files to backup/remove ... Not backing up/removing `/var/run/ippl'', it matches ^/var/.*. Removing user `Debian-ippl'' ... Done. This left /var/run/ippl/ippl.conf intact, which shouldn''t be the case. I''m thinking ''userdel -r ippl'' would have been more appropriate, so the postrm script is more at fault here. -- 2. That which causes joy or happiness.
Debian Bug Tracking System
2007-Apr-26 11:37 UTC
[Adduser-devel] Processed: Re: Bug#421089: deluser and perl-modules
Processing commands for control@bugs.debian.org:> clone #421089 -1Bug#421089: deluser and perl-modules Bug 421089 cloned as bug 421094.> reassign #421089 adduserBug#421089: deluser and perl-modules Bug reassigned from package `adduser,ippl'' to `adduser''.> reassign -1 ipplBug#421094: deluser and perl-modules Bug reassigned from package `adduser,ippl'' to `ippl''.> retitle #421089 please document "perl-modules not installed" return valueBug#421089: deluser and perl-modules Changed Bug title to please document "perl-modules not installed" return value from deluser and perl-modules.> retitle -1 please correctly handle "perl-modules not installed" after deluserBug#421094: deluser and perl-modules Changed Bug title to please correctly handle "perl-modules not installed" after deluser from deluser and perl-modules.> block -1 with #421089Bug#421089: please document "perl-modules not installed" return value Bug#421094: please correctly handle "perl-modules not installed" after deluser Was not blocked by any bugs. Blocking bugs of 421094 added: 421089> thanksStopping processing here. Please contact me if you need assistance. Debian bug tracking system administrator (administrator, Debian Bugs database)
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 thanks 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. Greetings Marc -- ----------------------------------------------------------------------------- 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
Debian Bug Tracking System
2007-Jun-18 23:09 UTC
[Adduser-devel] Bug#421089: marked as done (please document "perl-modules not installed" return value)
Your message dated Mon, 18 Jun 2007 23:02:02 +0000 with message-id <E1I0QEU-0008Mu-Q0 at ries.debian.org> and subject line Bug#421089: fixed in adduser 3.103 has caused the attached Bug report to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what I am talking about this indicates a serious mail system misconfiguration somewhere. Please contact me immediately.) Debian bug tracking system administrator (administrator, Debian Bugs database) -------------- next part -------------- An embedded message was scrubbed... From: Josip Rodin <joy at debbugs.entuzijast.net> Subject: deluser and perl-modules Date: Thu, 26 Apr 2007 12:51:37 +0200 Size: 2365 Url: http://lists.alioth.debian.org/pipermail/adduser-devel/attachments/20070618/413d2e5d/attachment-0002.eml -------------- next part -------------- An embedded message was scrubbed... From: Joerg Hoh <joerg at joerghoh.de> Subject: Bug#421089: fixed in adduser 3.103 Date: Mon, 18 Jun 2007 23:02:02 +0000 Size: 3586 Url: http://lists.alioth.debian.org/pipermail/adduser-devel/attachments/20070618/413d2e5d/attachment-0003.eml