Package: debarchiver
Version: 0.6.4
Severity: serious

Hello Ola,

There is an error when attempting to purge debarchiver:
  Removing debarchiver ...
  Purging configuration files for debarchiver ...
  /var/lib/dpkg/info/debarchiver.postrm: line 22: userdel: command not found
  dpkg: error processing debarchiver (--purge):

The postrm script cannot rely on adduser to be available when purging.

See Policy 7.2:
  Note, however, that the `postrm' cannot rely on any non-essential packages to
  be present during the `purge' phase.

Also the postrm do
        if grep "^debarchiver:" /etc/passwd > /dev/null 2>&1 ; then
            userdel debarchiver
        fi
        if grep "^debarchiver:" /etc/group > /dev/null 2>&1 ; then
            groupdel debarchiver
        fi

You should rather use getent and deluser/delgroup which obey
configuration in adduser.conf.

Cheers,
-- 
Bill. <[EMAIL PROTECTED]>

Imagine a large red swirl here. 


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

Reply via email to