Bug#606784: snmpd: package fails to upgrade properly from lenny

2011-01-23 Thread Luci Stanescu
On 01/23/2011 05:32 PM, Julien Cristau wrote: > Without the backquotes though. Oops, my bad. This is what happens when you hastily write code in your MUA... :-) In any case, I'm not perfectly sure this postinst script problem really is related to this bug, but I didn't want to open a new report in

Bug#606784: snmpd: package fails to upgrade properly from lenny

2011-01-23 Thread Julien Cristau
On Sun, Jan 23, 2011 at 17:07:20 +, Luci Stanescu wrote: > Are you sure it shouldn't have been: > if ! `getent group snmp >/dev/null`; then > ? > Without the backquotes though. Cheers, Julien signature.asc Description: Digital signature

Bug#606784: snmpd: package fails to upgrade properly from lenny

2011-01-23 Thread Luci Stanescu
Are you this isn't something else? This part from the postinst script is a bit weird: the postinst does: if [ "x$1" = xconfigure ]; then if [ ! `getent group snmp >/dev/null` ]; then deluser --quiet --system snmp fi adduser --quiet --system --group --no-cr

Bug#606784: snmpd: package fails to upgrade properly from lenny

2010-12-28 Thread Julien Cristau
On Sat, Dec 18, 2010 at 22:50:24 +, Jonathan Wiltshire wrote: > (dropping the submitter, there's a deeper problem here) > > On Sat, Dec 18, 2010 at 11:01:22PM +0100, Julien Cristau wrote: > > the postinst does: > > > > if [ "x$1" = xconfigure ]; then > > if [ ! `getent group snmp >/d

Bug#606784: snmpd: package fails to upgrade properly from lenny

2010-12-19 Thread Lucas Nussbaum
On 18/12/10 at 21:38 +, Jonathan Wiltshire wrote: > It's because of this part: > > On Sat, Dec 11, 2010 at 06:48:34PM +0100, Lucas Nussbaum wrote: > > > Preparing to replace snmpd 5.4.1~dfsg-12 (using > > > .../snmpd_5.4.3~dfsg-1_amd64.deb) ... > > > invoke-rc.d: policy-rc.d denied execution

Bug#606784: snmpd: package fails to upgrade properly from lenny

2010-12-18 Thread Jonathan Wiltshire
(dropping the submitter, there's a deeper problem here) On Sat, Dec 18, 2010 at 11:01:22PM +0100, Julien Cristau wrote: > the postinst does: > > if [ "x$1" = xconfigure ]; then > if [ ! `getent group snmp >/dev/null` ]; then > deluser --quiet --system snmp > fi >

Bug#606784: snmpd: package fails to upgrade properly from lenny

2010-12-18 Thread Julien Cristau
On Sat, Dec 18, 2010 at 21:38:57 +, Jonathan Wiltshire wrote: > It's because of this part: > > On Sat, Dec 11, 2010 at 06:48:34PM +0100, Lucas Nussbaum wrote: > > > Preparing to replace snmpd 5.4.1~dfsg-12 (using > > > .../snmpd_5.4.3~dfsg-1_amd64.deb) ... > > > invoke-rc.d: policy-rc.d deni

Bug#606784: snmpd: package fails to upgrade properly from lenny

2010-12-18 Thread Jonathan Wiltshire
It's because of this part: On Sat, Dec 11, 2010 at 06:48:34PM +0100, Lucas Nussbaum wrote: > > Preparing to replace snmpd 5.4.1~dfsg-12 (using > > .../snmpd_5.4.3~dfsg-1_amd64.deb) ... > > invoke-rc.d: policy-rc.d denied execution of stop. > > Unpacking replacement snmpd ... resulting in: > > S