Error: failure: repodata/filelists.sqlite.bz2 from updates: [Errno 256] No more mirrors to try.

今天在在用yum的时候出现下面的郁闷事情

 

[root@localhost ~]# yum install -y python python-devel
Loaded plugins: aliases, changelog, downloadonly, fastestmirror, filter-data, keys, kmod, list-data, priorities, protect-packages,
              : protectbase, security, tmprepo, verify, versionlock
Loading mirror speeds from cached hostfile
Skipping filters plugin, no data
0 packages excluded due to repository protections
Reading version lock configuration
Setting up Install Process
Resolving Dependencies
Skipping filters plugin, no data
--> Running transaction check
--> Processing Dependency: python = 2.4.3-24.el5 for package: tkinter
---> Package python.i386 0:2.4.3-27.el5 set to be updated
---> Package python-devel.i386 0:2.4.3-27.el5 set to be updated
--> Running transaction check
---> Package tkinter.i386 0:2.4.3-27.el5 set to be updated
updates/filelists_db                                                                                         | 3.0 MB     00:02    
http://mirrors.163.com/centos/5/updates/i386/repodata/filelists.sqlite.bz2: [Errno -1] Metadata file does not match checksum
Trying other mirror.
Error: failure: repodata/filelists.sqlite.bz2 from updates: [Errno 256] No more mirrors to try.
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest

[root@localhost ~]#

 

google baidu了大半天最好发现一个网友(

http://www.siutung.org/post/176/

)有我类似的问题,说只要执行yum clean all就OK了,回去又看了一遍yum命令的参数,是有这个参数呢,不管三七二十一,试一下再说。

 

然后再yum就一切OK 了。

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值