今天在在用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 了。
原文链接:https://www.f2er.com/sqlite/202989.html