elfutils-libelf-devel- 相互有依賴關係的rpm需要同時安裝

tolywang發表於2011-11-09

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

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




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


or  




方法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,如果還不能裝,請加--force  
方法2: yum install elfutils-libelf-devel*



來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/35489/viewspace-710479/,如需轉載,請註明出處,否則將追究法律責任。

相關文章