问题:
RHEL5.5安装oracle11gR2的时候需要安装elfutils-libelf-devel-0.137-3.e15.i386.rpm和elfutils-libelf-devel-static-0.137-3.e15.i386.rpm,这个两个安装是互相依赖,分别安装会提示如下错误
对这两个包单独安装时会出错
例如:
rpm -ivh elfutils-libelf-devel-0.137-3.e15.i386.rpm
会提示:
warning:elfutils-libelf-devel-0.137-3.e15.i386.rpm:Header V3 DSA
signature:NOKEY,key ID e8562897 error:Failed dependencies;
elfutils-libelf-devel-static-i386=0.137-3.e15 is needed by elfutils-libelf-devel-0.137-3.e15.i386.
也就是说安装elfutils-libelf-devel-0.137-3.e15.i386.rpm的时候需要elfutils-libelf-devel-static-0.137-3.e15.i386.rpm,安装elfutils-libelf-devel-static-0.137-3.e15.i386.rpm的时候需要elfutils-libelf-devel-0.137-3.e15.i386.rpm,这两个包是互相依赖包,不能单独安装。
解决办法:
使用rpm将两个包同时一起安装
rpm -ivh elfutils-libelf-devel-0.137-3.e15.i386.rpm elfutils-libelf-devel-static-0.137-3.e15.i386.rpm
Rpeparing packages for installing...
elfutils-libelf-devel-0.137-3.e15.i386.rpm ############################################# 100%
elfutils-libelf-devel-static-0.137-.e15.i386.rpm ############################################# 100%
rpm -qa |grep elfutils-libelf-devel*
elfutils-libelf-devel-static-0.137-.e15
elfutils-libelf-devel-0.137-3.e15