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

2006-11-14 Thread Jochen Friedrich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Lucas, adduser is not essential, you must depend on it. Yes, i know. And snmpd already does depend on adduser: Package: snmpd Section: net Priority: optional Architecture: any Conflicts: snmp (3.6-3), snmptraplogd Replaces: snmptraplogd

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

2006-11-14 Thread Steve Langasek
On Tue, Nov 14, 2006 at 12:20:43PM +0100, Jochen Friedrich wrote: adduser is not essential, you must depend on it. Yes, i know. And snmpd already does depend on adduser: The real problem is that adduser is not essential, so you're not allowed to use it from postrm purge without first checking

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

2006-11-14 Thread Stephen Gran
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

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

2006-11-14 Thread Jochen Friedrich
-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

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

2006-11-14 Thread Lucas Nussbaum
On 14/11/06 at 12:20 +0100, Jochen Friedrich wrote: Hi Lucas, adduser is not essential, you must depend on it. Yes, i know. And snmpd already does depend on adduser: Package: snmpd Section: net Priority: optional Architecture: any Conflicts: snmp (3.6-3), snmptraplogd Replaces: