(root)/root> rpm -ivh glibc-common-2.17-55.el7_0.5.x86_64.rpm
warning: glibc-common-2.17-55.el7_0.5.x86_64.rpm: Header V4 DSA/SHA1 Signature,key ID 192a7d7d: NOKEY
error: Failed dependencies:
glibc = 2.17-55.el7_0.5 is needed by glibc-common-2.17-55.el7_0.5.x86_64
(root)/root> rpm -ivh glibc-2.17-55.el7_0.5.x86_64.rpm
warning: glibc-2.17-55.el7_0.5.x86_64.rpm: Header V4 DSA/SHA1 Signature,key ID 192a7d7d: NOKEY
error: Failed dependencies:
glibc-common = 2.17-55.el7_0.5 is needed by glibc-2.17-55.el7_0.5.x86_64
解决办法:把它们放在一起执行,用空格分开就可以了。
(root)/root> rpm -ivh glibc-2.17-55.el7_0.5.x86_64.rpm glibc-common-2.17-55.el7_0.5.x86_64.rpm
warning: glibc-2.17-55.el7_0.5.x86_64.rpm: Header V4 DSA/SHA1 Signature,key ID 192a7d7d: NOKEY
Preparing... ################################# [100%]