Package: rageircd
Version: 2.0.1-4
Severity: normal

dpkg --purge rageircd fails due to a bug in the postrm script.

# dpkg --purge rageircd
(Reading database ... 33339 files and directories currently installed.)
Removing rageircd ...
Purging configuration files for rageircd ...
Removing system user
Unknown option: home
/usr/sbin/deluser: The user `/var/run/rageircd' does not exist.
dpkg: error processing rageircd (--purge):
 subprocess post-removal script returned error exit status 2
Errors were encountered while processing:
 rageircd

The offending line in the postrm script is line 17:
    deluser --home /var/run/rageircd --remove-home --system $USERNAME

deluser does not take a --home option.

Obviously a savvy enough user can merely dpkg --remove rageircd and then 
remove the user and its directories manually, but still, this seems like 
a pretty big oversight.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12.6-xen
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages rageircd depends on:
ii  adduser                       3.87       Add and remove users and groups
ii  libc6                         2.3.6-7    GNU C Library: Shared libraries
ii  libssl0.9.8                   0.9.8b-2   SSL shared libraries
ii  logrotate                     3.7.1-3    Log rotation utility
ii  ssl-cert                      1.0.13     Simple debconf wrapper for openssl
ii  zlib1g                        1:1.2.3-11 compression library - runtime

rageircd recommends no packages.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to