Install the software Yum to process the error segmentation fault [Solved]

yum installation software error Segmentation fault handling


When using yum to update software, it prompts.
Segmentation fault

Chinese error message: Segmentation fault

[root@CMS-BAK:/usr/local/lib]# yum install -y screen
Freeing read locks for locker 0x2f: 13195/140686785021696
Freeing read locks for locker 0x31: 13195/140686785021696
Freeing read locks for locker 0x32: 13195/140686785021696
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist error was
14: PYCURL ERROR 6 – “Couldn’t resolve host ‘'”
* base:
* extras:
* updates:
Segmentation fault

It is possible that zlib was manually compiled and installed, and /etc/ was modified to include /usr/local/lab

The system has two versions of zlib, use ldconfig -v|grep libz to see the two versions of zlib.


[root@CMS-BAK:/usr/local/lib]# ldconfig -v|grep libz
ldconfig: Can’t stat /usr/local/lab/libevent-2.0.21-stable/lib: No such file or directory -> ->
[root@CMS-BAK:/usr/local/lib]# find/-name ‘’

So, comment out the zlib in /etc/
[root@CMS-BAK:/data/mysql_data]# cat /etc/
#####ADD BY lx#####

Execute ldconfig once

Execute yum clean all

yum install screen -y


Similar Posts: