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

Jochen Friedrich jochen at scram.de
Tue Nov 14 13:06:49 CET 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Stephen,

> 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

I guess this is the best solution.

Thanks,
Jochen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQEVAwUBRVmxWcP9a9GOLSE6AQL5qwf/fqWW5VkKcQPEdzVhBSjUVk2wdKCO9olS
+DcKhZ5ss/lxi1jjC8EaNMVtTkP6GzUD2Cs2EdRzku/J9HNqe60xrQ05ihdvj+Z0
J95vvevslVXE+aTisRn4/8JP2N4hs49wNW4XXkGBPU0HhDyj+CL7tZEgpW71gUA9
DW8hEGJnjj4cgDSP4rWp25hOk7itK71FGZj4Azi2F2/HOvdYnFr133/lltHmfJOv
s4LT+/D6QsFKvcByR0y+HteAUavuCqRVYWuLwr2cw2yB2KK7JPN/LZ/jhkwSOyor
3DEEf6OK4j1G+CQa4XkFsfPbEp4nZTumbeev/WNDLCVSARRQxM3mng==
=5icw
-----END PGP SIGNATURE-----




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