Linux环境下RPM包相互依赖的解决办法
Posted 星火燎原
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Linux环境下RPM包相互依赖的解决办法相关的知识,希望对你有一定的参考价值。
Linux环境下安装Oracle11gR2提示缺少“Package: elfutils-libelf-devel-0.125 FAILED”包,按照提示安装该包时又提示缺少依赖包“elfutils-libelf-devel-static-x86_64”,而安装依赖包时又提示缺少原有的包,形成了相互依赖的关系。
[[email protected]_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 [[email protected]_plat rpms]# [[email protected]_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 [[email protected]_plat rpms]#
解决办法很简单,一起安装他们就可以了,包之间使用空格分开。
[[email protected]_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%] [[email protected]_plat rpms]#
以上是关于Linux环境下RPM包相互依赖的解决办法的主要内容,如果未能解决你的问题,请参考以下文章