百胜“yum”分段错误

在centos服务器(2.6.18-194.el5PAE#1)中使用yum命令时,会抛出“Segmentation fault”.

[root@server2 ~]# yum check-update

Loaded plugins: fastestmirror Loading
mirror speeds from cached hostfile

Segmentation fault

[root@server2 ~]# yum installlve-devel cmake

Loaded plugins:
fastestmirror Loading mirror speeds
from cached hostfile Segmentation fault

[root@server2 ~]# yum update

Loaded plugins: fastestmirror Loading

mirror speeds from cached hostfile

Segmentation fault

我怎么解决这个问题?

问题是从源代码升级zlib,这是一个影响所有RHEL / CentOS / CL安装的问题:

http://bugs.centos.org/view.php?id=4702&nbn=1

删除了源zlib

/usr/local/lib/libz.so.1.2.5

并更改了链接

/usr/local/lib/libz.so ->
libz.so.1.2.5 lrwxrwxrwx 1 root root
13 Sep 24 2010
/usr/local/lib/libz.so.1 ->
libz.so.1.2.5

指向libz.so.1.2.3.这解决了这个问题.

相关文章

用的openwrt路由器,家里宽带申请了动态公网ip,为了方便把2...
#!/bin/bashcommand1&command2&wait从Shell脚本并行...
1.先查出MAMP下面集成的PHP版本cd/Applications/MAMP/bin/ph...
1、先输入locale-a,查看一下现在已安装的语言2、若不存在如...
BashPerlTclsyntaxdiff1.进制数表示Languagebinaryoctalhexa...
正常安装了k8s后,使用kubect工具后接的命令不能直接tab补全...