Bug#398540: [Pkg-net-snmp-devel] Bug#398540: snmpd: postrm fails: /var/lib/dpkg/info/snmpd.postrm: line 24: deluser: command not found

Stephen Gran sgran at debian.org
Tue Nov 14 13:01:19 CET 2006


This one time, at band camp, Jochen Friedrich said:
> Hi Lucas,
> 
> > adduser is not essential, you must depend on it.
> 
> Yes, i know. And snmpd already does depend on adduser:

It doesn't guarantee it's availability in --purge, though.  Just wrap
the calls in 
if [ -x /usr/sbin/deluser ]; then
  ....
else
  echo "Can't remove $user"
fi

etc.

Take care,
-- 
 -----------------------------------------------------------------
|   ,''`.                                            Stephen Gran |
|  : :' :                                        sgran at debian.org |
|  `. `'                        Debian user, admin, and developer |
|    `-                                     http://www.debian.org |
 -----------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-net-snmp-devel/attachments/20061114/0ecedfe7/attachment.pgp


More information about the Pkg-net-snmp-devel mailing list