- 积分
- 117977
- 威望
-
- 金钱
-
- 注册时间
- 2009-4-24
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
发表于 2017-9-20 16:52:32
|
显示全部楼层
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:
/usr/lib64/libcurl.so.4: undefined symbol: libssh2_scp_recv2
Please install a package which provides this module, or
verify that the module is installed correctly.
It's possible that the above module doesn't match the
current version of Python, which is:
2.6.6 (r266:84292, Jan 22 2014, 09:42:36)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-4)]
If you cannot solve this problem yourself, please go to
the yum faq at:
http://yum.baseurl.org/wiki/Faq
系统yum有问题,可能是系统上libcurl、libssh2有问题导致的
可以尝试 http://mirrors.163.com/centos/6/os/x86_64/Packages/ 下 下载curl、libcurl、libcurl-devel、libssh2、libssh2-devel 几个包,然后 rpm -Uvh --oldpackage *.rpm 看一下能否正常安装上
如果正常安装上可以再 yum install wget 试试能否正常运行,不确定该方法能否解决,楼主可以试一下反馈一下 |
|