sysklogd fails on postrm during purge since it tries to delete the user
syslog, but the replacement rsyslogd is logged in in as that user now.

D000002: fork/exec /var/lib/dpkg/info/sysklogd.postrm ( purge )
userdel: user syslog is currently logged in
/usr/sbin/deluser: `/usr/sbin/userdel syslog' returned error code 8. Exiting.
dpkg: error processing sysklogd (--purge):
subprocess installed post-removal script returned error exit status 1
Errors were encountered while processing:
sysklogd

maybe test for existence of rsyslog in post removal script?

if [ ! -f /etc/init.d/rsyslog ]
    then
        deluser --system --quiet syslog
fi

or suchlike

** Changed in: sysklogd (Ubuntu)
       Status: New => Confirmed

-- 
package sysklogd (not installed) failed to install/upgrade: subprocess 
installed post-removal script returned error exit status 1
https://bugs.launchpad.net/bugs/401056
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to