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

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了安装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.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


本文出自 “文弱小小生” 博客,请务必保留此出处http://maoyi.blog.51cto.com/8671058/1745556

以上是关于安装snmp无法安装依赖包net-snmp-libs = 1:5.3.2.2-20.el5的主要内容,如果未能解决你的问题,请参考以下文章

snmp服务从rpm打包到离线安装

中标麒麟snmp配置

zabbix搭建

MongoDB 企业版4.2.2安装

构建Cacti监测系统

Linux下安装配置SNMP服务