执行yum命令时报错

There was a problem importing one of the Python modules

required to run yum. The error leading to this problem was:

libssl.so.6: cannot open shared object file: No such file or directory

(libcrypto.so.6: 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

执行yum操作时,报这个错误,是由于缺少libssl.so.6,libcrypto.so.6这两个模块所致

解决方法:

cd /usr/lib64/

ln -s libssl.so.1.0.1e libssl.so.6

ln -s libcrypto.so.1.0.1e libcrypto.so.6

做两个软连接至此模块即可。

时间: 2024-10-14 07:03:23

执行yum命令时报错的相关文章

zabbix服务器执行zabbix_get命令时报错:“zabbix_get [22209]: Timeout while executing operation”

前面刚把Windows平台的zabbix agent安装并启动成功,但是,zabbix的web监控页面显示,还是无法发现这台Windows服务器:大体的意思就是无法连接这台zabbix agent端. 根据之前的经验,我登录到zabbix服务端执行zabbix_get命令进行测试: [[email protected] ~]# zabbix_get -s 10.253.40.64 -p 10050 -k "agent.version" zabbix_get [22209]: Timeo

Linux执行YUM命令报错解决方案

Loaded plugins: rhnplugin, security This system is not registered with RHN. RHN support will be disabled. Setting up Install Process No package subversion available. Nothing to do 红帽中出现"This system is not registered with RHN"这个的原因是因为红帽中没有注册RHN.

执行yiic webapp命令时报错:php.exe不是内部或外部命令,也不是可运行的程序

在执行 yiic webapp ../abc 命令时报错: “php.exe”不是内部或外部命令,也不是可运行的程序 或批处理文件. 这是因为yiic批处理程序找不到php.exe的执行路径引起的. 解决方法: 打开yiic.bat文件, 将php.exe的绝对路径赋值给PHP_COMMAND,将: if “%PHP_COMMAND%” == “” set PHP_COMMAND=php.exe 改为 if “%PHP_COMMAND%” == “” set PHP_COMMAND=E:\xam

(转)svn执行clean up命令时报错“Previous operation has not finished; run 'cleanup' if it was interrupted”

今天碰到了个郁闷的问题,svn执行clean up命令时报错“Previous operation has not finished; run 'cleanup' if it was interrupted”.无论你到那个父层次的目录执行“clean up “,都是报一样的错.执行cleanup时候,提示要cleanup.看来是进入死循环了. 可能是频繁做了一些改名,文件打开的时候更新或者提交操作,导致svn罢工了.这个也该算是svn的bug吧.类似的情况,其实之前也碰到过.之前都是图省事,把整

安装webpack后,执行webpack -v命令时报错:SyntaxError: Block-sc

安装webpack后,执行webpack -v命令时报错如下: [[email protected] ~]# webpack -v /usr/local/node-v4.4.7-linux-x64/lib/node_modules/webpack/bin/webpack.js:3 let webpackCliInstalled = false; ^^^ SyntaxError: Block-scoped declarations (let, const, function, class) not

191016 Linux中python2升级到python3导致yum命令报错

因为python2到python3的升级,导致使用yum相关的命令时报错: 报错一: command not found... 方案:修改/usr/bin/yum文件的第一行,将结尾的python改成python27(或python2.7),请自行尝试,修改后能查询yum版本即可: 报错二:cannot retrieve matalink for repository:epel/x86... 方案:sed -i ‘s#https://#http://#g' /etc/yum.repos.d/ep

maven执行update命令时报org/apache/maven/shared/filtering/MavenFilteringException错误

原 maven执行update命令时报org/apache/maven/shared/filtering/MavenFilteringException错误 在eclipse中对准项目执行maven->update project命令时报错:org/apache/maven/shared/filtering/MavenFilteringException,让人不胜其烦. 解决办法:删除.m2下repository文件夹下org/apache/maven下的文件夹,然后重新update proje

(转)Linux安装SwfTools-0.9.2安装事,在执行make install时报错

系统:CentOS6.5 安装SwfTools-0.9.2的时候,在执行make install时报错, rm -f /usr/local/share/swftools/swfs/default_viewer.swf -o -L /usr/local/share/swftools/swfs/default_viewer.swfrm:无效选项 -- o请尝试执行"rm --help"来获取更多信息.make[1]: *** [install] 错误 1make[1]: Leaving d

执行 maven 命令 报错Unable to add module to the current project as it is not of packaging type 'pom'[转]

今天学习在本地搭建Maven工程时,执行了mvn archetype:generate 命令,报错. Unable to create project from archetype [org.apache.maven.archetypes:maven-archetype-quickstart:1.1] Unable to add module to the current project as it is not of packaging type 'pom' 上网搜资料发现一个帖子,问题解决: