When Gutsy Gibbon was released back in October I was quick to upgrade my home Ubuntu server to this new release. The upgrade went smoothly apart from one failure - a strange error message when upgrading the SNMP support:
This time I found the reason, the SNMP package upgrade scripts don't stop snmpd before they perform the upgrade, so you need to stop snmpd before you update.
This is how I did it:
Technorati Tags: Ubuntu, Gutsy Gibbon, Linux, Upgrade, SNMP, Andrew Beacock
Starting network management services:invoke-rc.d: initscript snmpd, action "start" failed.I didn't understand the error message and googling for it at the time brought up no solutions. I checked and found that snmpd was running successfully and all appeared fine. I recently applied some more updates and received the same error message so I investigated it again.
dpkg: error processing snmpd (--configure):
subprocess post-installation script returned error exit status 1
This time I found the reason, the SNMP package upgrade scripts don't stop snmpd before they perform the upgrade, so you need to stop snmpd before you update.
This is how I did it:
$ sudo /etc/init.d/snmpd stopThat's it, all updated and no errors, I do hope that the installation scripts get fixed for this soon...
Stopping network management services: snmpd snmptrapd.
$ sudo dpkg --configure -a
Setting up snmpd (5.3.1-6ubuntu2) ...
Starting network management services: snmpd.
Technorati Tags: Ubuntu, Gutsy Gibbon, Linux, Upgrade, SNMP, Andrew Beacock
Comments