[Pkg-net-snmp-devel] Bug#626312: I also constantly get error on upgrade
kenneth at southpole.se
Sat Jan 28 22:43:30 UTC 2012
not knowing what the correct solution is I simply change the postinst
script to exit with 0 in the middle before it fail.
Don't know what the correct solution is but this is starting to be
really annoying. if all it takes is moving the load of confmodule to the
top I don't understand why this is not changed.
Will try the next time I get a failure if that is enough to make it
if [ "x$1" = xconfigure ]; then
if [ ! `getent group snmp >/dev/null` ]; then
deluser --quiet --system snmp
adduser --quiet --system --group --no-create-home
--home /var/lib/snmp snmp
chown -R snmp:snmp /var/lib/snmp
# Automatically added by
if [ -x "/etc/init.d/snmpd" ]; then
update-rc.d snmpd defaults >/dev/null
invoke-rc.d snmpd start || exit $?
# End automatically added
More information about the Pkg-net-snmp-devel