Stig Sandbeck Mathisen <s...@debian.org> writes:

> The "deluser" command is in the non-essential "adduser" package.  The
> "puppet" package assumes this is present on install and purge, which
> may not be the case.
>
> I've attached a patch to fix this by:
>
>  * Moving adduser from Depends: to Pre-Depends

This requires debian-devel discussion and approval.

Why is puppet calling adduser in preinst anyway?  Usually this can be
done in postinst.

>  * Checking if "userdel" and "groupdel" is available during purge, and
>    only removing users if they are.

Yup, this is the right solution.

-- 
Russ Allbery (r...@debian.org)               <http://www.eyrie.org/~eagle/>



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to