报错
[root@node01 ~]# rpm -ivh wget-1.14-18.el7_6.1.x86_64.rpm
warning: wget-1.14-18.el7_6.1.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
error: Failed dependencies:
libc.so.6(GLIBC_2.14)(64bit) is needed by wget-1.14-18.el7_6.1.x86_64
libc.so.6(GLIBC_2.15)(64bit) is needed by wget-1.14-18.el7_6.1.x86_64
libc.so.6(GLIBC_2.17)(64bit) is needed by wget-1.14-18.el7_6.1.x86_64
libpcre.so.1()(64bit) is needed by wget-1.14-18.el7_6.1.x86_64
原因
wget-1.14-18.el7_6.1.x86_64.rpm 版本太高了。
解决
到http://rpm.pbone.net/resultsb_dist_79_size_492960_name_wget-1.12-1.4.el6.x86_64.rpm.html ,在这里下载wget-1.12-1.4.el6.x86_64.rpm
,成功。