[Pkg-puppet-devel] Bug#527381: purge fails
Stig Sandbeck Mathisen
ssm at debian.org
Fri May 8 08:37:40 UTC 2009
tags 527381 + patch
thanks
On Thu, May 07, 2009 at 02:21:01PM +0200, Holger Levsen wrote:
> Removing puppet ...
> Purging configuration files for puppet ...
> /var/lib/dpkg/info/puppet.postrm: line 6: deluser: command not found
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
* Checking if "userdel" and "groupdel" is available during purge, and only
removing users if they are.
--
Stig Sandbeck Mathisen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: puppet_527381.diff
Type: text/x-diff
Size: 1318 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-puppet-devel/attachments/20090508/cc14a7cb/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-puppet-devel/attachments/20090508/cc14a7cb/attachment.pgp>
More information about the Pkg-puppet-devel
mailing list