免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12下一页
最近访问板块 发新帖
查看: 8724 | 回复: 11
打印 上一主题 下一主题

[系统管理] 求助-yum install net-snmp-devel和openssl-devel无法安装问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2015-07-09 10:33 |只看该作者 |倒序浏览
求助应该怎么办呢,谢谢啦
[root@nginx ]# yum install net-snmp-devel
Loaded plugins: fastestmirror, priorities, refresh-packagekit, security
Setting up Install Process
Repository base is listed more than once in the configuration
Repository updates is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository centosplus is listed more than once in the configuration
Repository contrib is listed more than once in the configuration
Loading mirror speeds from cached hostfile
* base: mirrors.sina.cn
* epel: mirror.premi.st
* extras: mirrors.yun-idc.com
* updates: mirrors.yun-idc.com
204 packages excluded due to repository priority protections
Resolving Dependencies
--> Running transaction check
---> Package net-snmp-devel.x86_64 1:5.5-50.el6_6.1 will be installed
--> Processing Dependency: openssl-devel for package: 1:net-snmp-devel-5.5-50.el6_6.1.x86_64
--> Running transaction check
---> Package openssl-devel.x86_64 0:1.0.1e-16.el6_5.7 will be installed
--> Processing Dependency: openssl = 1.0.1e-16.el6_5.7 for package: openssl-devel-1.0.1e-16.el6_5.7.x86_64
--> Finished Dependency Resolution
Error: Package: openssl-devel-1.0.1e-16.el6_5.7.x86_64 (openstack-icehouse)
Requires: openssl = 1.0.1e-16.el6_5.7
Installed: openssl-1.0.1e-30.el6.8.x86_64 (@updates)
openssl = 1.0.1e-30.el6.8
Available: openssl-1.0.1e-15.el6.x86_64 (openstack-icehouse)
openssl = 1.0.1e-15.el6
Available: openssl-1.0.1e-16.el6_5.x86_64 (openstack-icehouse)
openssl = 1.0.1e-16.el6_5
Available: openssl-1.0.1e-16.el6_5.4.x86_64 (openstack-icehouse)
openssl = 1.0.1e-16.el6_5.4
Available: openssl-1.0.1e-16.el6_5.7.x86_64 (openstack-icehouse)
openssl = 1.0.1e-16.el6_5.7
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

[root@nginx ]# yum install openssl-devel
Loaded plugins: fastestmirror, priorities, refresh-packagekit, security
Setting up Install Process
Repository base is listed more than once in the configuration
Repository updates is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository centosplus is listed more than once in the configuration
Repository contrib is listed more than once in the configuration
Loading mirror speeds from cached hostfile
* base: mirrors.sina.cn
* epel: mirror.premi.st
* extras: mirrors.yun-idc.com
* updates: mirrors.yun-idc.com
204 packages excluded due to repository priority protections
Resolving Dependencies
--> Running transaction check
---> Package openssl-devel.x86_64 0:1.0.1e-16.el6_5.7 will be installed
--> Processing Dependency: openssl = 1.0.1e-16.el6_5.7 for package: openssl-devel-1.0.1e-16.el6_5.7.x86_64
--> Finished Dependency Resolution
Error: Package: openssl-devel-1.0.1e-16.el6_5.7.x86_64 (openstack-icehouse)
Requires: openssl = 1.0.1e-16.el6_5.7
Installed: openssl-1.0.1e-30.el6.8.x86_64 (@updates)
openssl = 1.0.1e-30.el6.8
Available: openssl-1.0.1e-15.el6.x86_64 (openstack-icehouse)
openssl = 1.0.1e-15.el6
Available: openssl-1.0.1e-16.el6_5.x86_64 (openstack-icehouse)
openssl = 1.0.1e-16.el6_5
Available: openssl-1.0.1e-16.el6_5.4.x86_64 (openstack-icehouse)
openssl = 1.0.1e-16.el6_5.4
Available: openssl-1.0.1e-16.el6_5.7.x86_64 (openstack-icehouse)
openssl = 1.0.1e-16.el6_5.7
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

论坛徽章:
0
2 [报告]
发表于 2015-07-09 11:45 |只看该作者
求助怎么能够解决呢,貌似是依赖关系的问题,怎么装都不行呀

论坛徽章:
41
操作系统版块每日发帖之星
日期:2016-08-21 06:20:00每日论坛发贴之星
日期:2016-05-05 06:20:00操作系统版块每日发帖之星
日期:2016-05-05 06:20:00IT运维版块每日发帖之星
日期:2016-05-05 06:20:0015-16赛季CBA联赛之山西
日期:2016-04-27 08:49:00操作系统版块每日发帖之星
日期:2016-04-25 06:20:00操作系统版块每日发帖之星
日期:2016-04-17 06:23:2815-16赛季CBA联赛之吉林
日期:2016-03-25 15:46:3415-16赛季CBA联赛之四川
日期:2016-03-25 14:26:19操作系统版块每日发帖之星
日期:2016-05-27 06:20:00操作系统版块每日发帖之星
日期:2016-05-28 06:20:00IT运维版块每日发帖之星
日期:2016-08-18 06:20:00
3 [报告]
发表于 2015-07-09 13:07 |只看该作者
openssl包的版本有要求

论坛徽章:
0
4 [报告]
发表于 2015-07-09 13:52 |只看该作者
回复 3# jixuuse

需要怎么安装需要的版本呢,怎么试都不行呀

   

论坛徽章:
0
5 [报告]
发表于 2015-07-13 10:01 |只看该作者
试下
yum --skip-broken -y install net-snmp-devel  
不行就  
yum remove openssl-1.0.1e-30.el6.8.x86_64
yum install openssl-devel-1.0.1e-16.el6_5.7.x86_64
yum install net-snmp-devel

论坛徽章:
0
6 [报告]
发表于 2015-07-13 15:06 |只看该作者
回复 5# Ap_e


还是不行呀...


输入yum --skip-broken -y install net-snmp-devel  

Loaded plugins: fastestmirror, priorities, refresh-packagekit, security
Setting up Install Process
Repository base is listed more than once in the configuration
Repository updates is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository centosplus is listed more than once in the configuration
Repository contrib is listed more than once in the configuration
Loading mirror speeds from cached hostfile
* base: mirrors.aliyun.com
* epel: mirrors.ustc.edu.cn
* extras: mirrors.btte.net
* updates: mirrors.pubyun.com
204 packages excluded due to repository priority protections
Resolving Dependencies
--> Running transaction check
---> Package net-snmp-devel.x86_64 1:5.5-50.el6_6.1 will be installed
--> Processing Dependency: openssl-devel for package: 1:net-snmp-devel-5.5-50.el6_6.1.x86_64
--> Running transaction check
---> Package openssl-devel.x86_64 0:1.0.1e-16.el6_5.7 will be installed
--> Processing Dependency: openssl = 1.0.1e-16.el6_5.7 for package: openssl-devel-1.0.1e-16.el6_5.7.x86_64

Packages skipped because of dependency problems:
    1:net-snmp-devel-5.5-50.el6_6.1.x86_64 from updates
    openssl-devel-1.0.1e-16.el6_5.7.x86_64 from openstack-icehouse


输入yum remove openssl-1.0.1e-30.el6.8.x86_64

最后的结果
Error: Trying to remove "yum", which is protected

论坛徽章:
0
7 [报告]
发表于 2015-07-13 15:50 |只看该作者
回复 6# pozimxb


    试图卸载原有的openssl为什么报错会提示卸载yum?

论坛徽章:
1
2015年亚洲杯之澳大利亚
日期:2015-03-30 11:12:52
8 [报告]
发表于 2015-07-13 15:53 |只看该作者
是不是你的yum源和你的系统版本不一致啊?   

论坛徽章:
0
9 [报告]
发表于 2015-07-13 16:02 |只看该作者
刚看了一下,openssl与很多包有依赖关系,没法直接卸载。话说你的源是不是有点老?为什么安装snmp还要用16的啊?
如果你是centos 6.5的话
试着安装一下epel的源然后在安装snmp试一试
yum -y install epel-release   
然后
yum -y install openssl openssl-devel net-snmp-devel

论坛徽章:
0
10 [报告]
发表于 2015-07-13 17:18 |只看该作者
回复 7# Ap_e


是呀 我也奇怪,屏幕刷出来好多需要卸载的包,最后的一条结果 就是这个....
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP