centos系统下的yum命令错误 50
大神们!!求帮助啊~我要升级centos服务器上的ssh服务,查阅网上相关教程之后,升级了ssl,本来yum还是可以使用的,但是升级ssl后开始安装ssh时缺少gcc,所...
大神们!!求帮助啊~我要升级centos服务器上的ssh服务,查阅网上相关教程之后,升级了ssl,本来yum还是可以使用的,但是升级ssl后开始安装ssh时缺少gcc,所以用yum命令,这时yum就提示如下错误
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:
libssl.so.10: cannot open shared object file: No such file or directory
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, Nov 22 2013, 12:16:22)
[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
查看网上资料,说是vi /usr/bin/yum中将python版本改掉就行,可是centos6.5自带的是python2.6,也只有这一个,yum之前还可以用的,想着使用winSCP将下载好的python2.4和python2.7版本的粘进去,悲剧的是因为安装了ssl,远程访问不了服务器了,怎么办呢?求大神们赐教 展开
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:
libssl.so.10: cannot open shared object file: No such file or directory
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, Nov 22 2013, 12:16:22)
[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
查看网上资料,说是vi /usr/bin/yum中将python版本改掉就行,可是centos6.5自带的是python2.6,也只有这一个,yum之前还可以用的,想着使用winSCP将下载好的python2.4和python2.7版本的粘进去,悲剧的是因为安装了ssl,远程访问不了服务器了,怎么办呢?求大神们赐教 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询