使用阿里云的repo没问题,当我添加epel源的时候,就会出现Segmentation fault。要崩溃了。只要不是aliyun的源头,基本就会出现这个错误。怎么破?
[root@cluster yum.repos.d]# yum repolist
base                                        | 3.7 kB     00:00     
base/primary_db                             | 4.7 MB     00:05     
extras                                      | 3.4 kB     00:00     
extras/primary_db                           |  30 kB     00:00     
updates                                     | 3.4 kB     00:00     
updates/primary_db                          | 8.1 MB     00:12     
repo id       repo name                                      status
base          CentOS-6 - Base - mirrors.aliyun.com           6,706
extras        CentOS-6 - Extras - mirrors.aliyun.com            53
updates       CentOS-6 - Updates - mirrors.aliyun.com        1,308
repolist: 8,067
这个是只开启aliyun的yum源。
[epel]
name=Extra Packages for Enterprise Linux 6 - $basearch
#baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch
failovermethod=priority
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
这个是开启了epel源。
[root@cluster yum.repos.d]# yum repolist
epel/metalink                                                                                                  | 6.9 kB     00:00     
Segmentation fault
就是这个情况。网上说的更改zlib的问题。应该不是那个问题。毕竟只用阿里云的时候好好的。
求教各位大佬。能否解答一波。