安装snmp无法安装依赖包net-snmp-libs = 1:5.3.2.2-20.el5

问题:一直不能安装依赖包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.el5is 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

相关文章

迭代器模式(Iterator)迭代器模式(Iterator)[Cursor]意图...
高性能IO模型浅析服务器端编程经常需要构造高性能的IO模型,...
策略模式(Strategy)策略模式(Strategy)[Policy]意图:定...
访问者模式(Visitor)访问者模式(Visitor)意图:表示一个...
命令模式(Command)命令模式(Command)[Action/Transactio...
生成器模式(Builder)生成器模式(Builder)意图:将一个对...