码迷,mamicode.com
首页 > 系统相关 > 详细

Linux环境下RPM包相互依赖的解决办法

时间:2017-02-18 18:13:36      阅读:249      评论:0      收藏:0      [点我收藏+]

标签:evel   ...   div   linux环境   back   top   rpm包   style   header   

Linux环境下安装Oracle11gR2提示缺少“Package: elfutils-libelf-devel-0.125    FAILED”包,按照提示安装该包时又提示缺少依赖包“elfutils-libelf-devel-static-x86_64”,而安装依赖包时又提示缺少原有的包,形成了相互依赖的关系。

[root@dhcc_plat rpms]# rpm -ivh elfutils-libelf-devel-0.137-3.el5.x86_64.rpm 
warning: elfutils-libelf-devel-0.137-3.el5.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
error: Failed dependencies:
    elfutils-libelf-devel-static-x86_64 = 0.137-3.el5 is needed by elfutils-libelf-devel-0.137-3.el5.x86_64
[root@dhcc_plat rpms]# 
[root@dhcc_plat rpms]# rpm -ivh elfutils-libelf-devel-static-0.137-3.el5.x86_64.rpm 
warning: elfutils-libelf-devel-static-0.137-3.el5.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
error: Failed dependencies:
    elfutils-libelf-devel-x86_64 = 0.137-3.el5 is needed by elfutils-libelf-devel-static-0.137-3.el5.x86_64
[root@dhcc_plat rpms]#

解决办法很简单,一起安装他们就可以了,包之间使用空格分开。

[root@dhcc_plat rpms]# rpm -ivh elfutils-libelf-devel-0.137-3.el5.x86_64.rpm elfutils-libelf-devel-static-0.137-3.el5.x86_64.rpm
warning: elfutils-libelf-devel-0.137-3.el5.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
Preparing...                ########################################### [100%]
   1:elfutils-libelf-devel-s########################################### [ 50%]
   2:elfutils-libelf-devel  ########################################### [100%]
[root@dhcc_plat rpms]#

Linux环境下RPM包相互依赖的解决办法

标签:evel   ...   div   linux环境   back   top   rpm包   style   header   

原文地址:http://www.cnblogs.com/xusweeter/p/6413512.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!