Chinaunix首页 | 论坛 | 博客
  • 博客访问: 959317
  • 博文数量: 245
  • 博客积分: 11429
  • 博客等级: 上将
  • 技术积分: 2662
  • 用 户 组: 普通用户
  • 注册时间: 2009-08-15 00:16
文章存档

2011年(56)

2010年(174)

2009年(15)

分类: LINUX

2010-08-10 11:09:31

安装是
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

~                                 
阅读(1907) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~