安装是
yum install aa
Loaded plugins: fastestmirror
Determining fastest mirrors
addons | 951 B 00:00
addons/primary | 202 B 00:00
Segmentation fault
解决1:yum clean all
解决2:更改源
解决3:
修改yum.conf文件
1 [main]
2 cachedir=/var/cache/yum
3 keepcache=0
4 debuglevel=2
5 logfile=/var/log/yum.log
6 distroverpkg=redhat-release
7 tolerant=1
8 exactarch=1
9 obsoletes=1
10 gpgcheck=0
11 plugins=1
12
13 # Note: yum-RHN-plugin doesn't honor this.
14 metadata_expire=1h
15
16 # Default.
17 # installonly_limit = 3
18
19 # PUT YOUR REPOS HERE OR IN separate files named file.repo
20 # in /etc/yum.repos.d
修改源vi /etc/yum.repos.d/CentOS-Base.repo
[BASE]
2 name=Red Hat Enterprise Linux $releasever - $basearch - Debug
3 baseurl=
4 enabled=1
~
阅读(1901) | 评论(0) | 转发(0) |