问题:一直不能安装依赖包net-snmp-libs = 1:5.3.2.2-20.el5
原因:系统已经存在net-snmp-libs-5.3.2.2-25.el5_11
解决办法:先删除存在的包rpm -e --allmatches --nodeps net-snmp-libs-5.3.2.2-25.el5_11
esolving Dependencies
--> Running transaction check
---> Package net-snmp.x86_64 1:5.3.2.2-20.el5 set to be updated
--> Processing Dependency: net-snmp-libs = 1:5.3.2.2-20.el5 for package: net-snmp
--> Processing Dependency: libsensors.so.3()(64bit) for package: net-snmp
--> Running transaction check
---> Package lm_sensors.x86_64 0:2.10.7-9.el5 set to be updated
---> Package net-snmp.x86_64 1:5.3.2.2-20.el5 set to be updated
--> Processing Dependency: net-snmp-libs = 1:5.3.2.2-20.el5 for package: net-snmp
--> Finished Dependency Resolution
1:net-snmp-5.3.2.2-20.el5.x86_64 from qiyi has depsolving problems
--> Missing Dependency: net-snmp-libs = 1:5.3.2.2-20.el5 is needed by package 1:net-snmp-5.3.2.2-20.el5.x86_64 (qiyi)
Error: Missing Dependency: net-snmp-libs = 1:5.3.2.2-20.el5 is needed by package 1:net-snmp-5.3.2.2-20.el5.x86_64 (qiyi)
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest
rpm -e --allmatches --nodeps net-snmp-libs-5.3.2.2-25.el5_11