error: Failed dependencies:librpm.so.3()(64bit) is needed by の解決方法

問題
# rpm -ivh rpm-4.11.3-25.el7.x86_64.rpm
error: Failed dependencies:
librpm.so.3()(64bit) is needed by rpm-4.11.3-25.el7.x86_64
librpmio.so.3()(64bit) is needed by rpm-4.11.3-25.el7.x86_64

解決方法
# wget ftp://ftp.pbone.net/mirror/ftp.scientificlinux.org/linux/scientific/7.4/x86_64/os/Packages/rpm-libs-4.11.3-25.el7.x86_64.rpm
# rpm -Uvh rpm-libs-4.11.3-25.el7.x86_64.rpm
warning: rpm-libs-4.11.3-25.el7.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 192a7d7d: NOKEY
Preparing… ################################# [100%]
Updating / installing…
1:rpm-libs-4.11.3-25.el7 ################################# [100%]

# rpm -Uvh rpm-4.11.3-25.el7.x86_64.rpm

Linux

Posted by arkgame