i just surfer in google and gor the solution.

Before the problem araised, the net-snmp-5.7.3, snmp-mibs-downloader and snmpd 
were already downloaded by me.
At this point of time, the libraries which will be used by snmpd are installed 
at two locations "/usr/lib/x86_64-linux-gnu/" and "/usr/local/lib". when I 
tried to start the snmpd, as the libraries were at two locations, snmpd service 
is confused which location of libraries to use.. Thus I have to remove the 
oldest libraries installed among them to make it work.

To check if you have the libraries at two locations use "find /usr/ -name 
libnetsnmp*" command on terminal.
If you find 'libnetsnmp-' files on both the above mentioned locations,
remove the oldest libs (in my case) using: "sudo rm /usr/local/lib/libnetsnmp*"
This will solve the problem of snmpd to start.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1713194

Title:
  package snmpd 5.7.3+dfsg-1ubuntu4 failed to install/upgrade:
  subprocess installed post-installation script returned error exit
  status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/1713194/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to