微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

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 了。

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐