rpm包互相依赖 无法安装 死锁

前端之家收集整理的这篇文章主要介绍了rpm包互相依赖 无法安装 死锁前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
两个包彼此需要,听说yum可以解决,不知道怎么弄?
错误如下:
安装devel时候
 Missing Dependency: elfutils-libelf-devel-static-x86_64 = 0.137-3.el5 is needed by package elfutils-libelf-devel-0.137-3.el5.x86_64 (/elfutils-libelf-devel-0.137-3.el5.x86_64)
安装devel-static时候
Missing Dependency: elfutils-libelf-devel-x86_64 = 0.137-3.el5 is needed by package elfutils-libelf-devel-static-0.137-3.el5.x86_64 (/elfutils-libelf-devel-static-0.137-3.el5.x86_64
 
解答方法 
方法1:
rpm -ivh elfutils-libelf-devel-0.137-3.el5.x86_64.rmp elfutils-libelf-devel-static-0.137-3.el5.x86_64.rpm 
如果还不能,请加--nodeps,,
可以使用--nodeps参数安装,作用是忽略依赖关系,
如果还不能装,请加--force
方法2:yum install elfutils-libelf-devel*

猜你在找的设计模式相关文章