package dcc-common tags 307672 + patch stop commands here > > Did adduser manage to add the dcc user and group for you? > adduser doesn't add the user if is already exists.
That doesn't answer the question. The postrm script won't try to remove the users if they are already removed, so you should remove the dcc user and group from LDAP *before* doing the --purge and there would be no error. Did adduser add the dcc user and group for you, or did you add it yourself? I think that dcc should warn it couldn't remove the user and group if the adduser commands can't, but not fail. I'm mildly concerned that usermod is used instead of moduser in postinst. I also think your system is misconfigured (but that doesn't excuse dcc-common failing to remove) and you should add files back into nsswitch if you want debian packages to install and purge without sysadmin intervention. Here's a udiff. Excuse timestamps: --- debian/dcc-common.postrm.orig 2005-05-10 11:05:07.000000000 +0100 +++ debian/dcc-common.postrm 2005-05-10 11:07:28.000000000 +0100 @@ -24,12 +24,12 @@ rm -rf /var/log/dcc /var/lib/dcc/log /var/lib/dcc/map /var/lib/dcc/map.txt /var/lib/dcc/ids /etc/dcc /var/lib/dcc/whiteclnt /var/lib/dcc /var/run/dcc if getent passwd dcc >/dev/null; then - deluser dcc + userdel dcc || echo "dcc: Could not remove dcc user" >&2 fi if getent group dcc >/dev/null; then - delgroup dcc + groupdel dcc || echo "dcc: Could not remove dcc group" >&2 fi -- MJR/slef -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]