Q1.* Starting network management services:
/usr/sbin/snmpd: symbol lookup error: /usr/local/lib/libnetsnmpagent.so.15: undefined symbol: boot_DynaLoader
yy@yy-virtual-machine:/home/snmp/net-snmp/agent$ apt-get remove --purge snmpdE: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
解决方案:
sudo rm -rf /var/lib/dpkg/lock
sudo rm -rf /var/cache/apt/archives/lock
sudo apt-get update
最后运行:sudo dpkg --configure -a 重新配置(系统会提醒) 。