今天在给CentOS YUM的时候,突然发现报错了:
[root@CentOS yum.repos.d]# yum -y install xxxxx
Loading "fastestmirror" plugin
Loading mirror speeds from cached hostfile
* dag: apt.sw.be * utterramblings: www.jasonlitka.com
* extras: centos.ustc.edu.cn|
* updates: centos.ustc.edu.cn
* base: centos.ustc.edu.cn
* addons: centos.ustc.edu.cn
updates 100% |=========================| 951 B 00:00
primary.xml.gz 100% |=========================| 288 kB 00:06
updates : ################################################## 658/658
Setting up Install Process
Parsing package install argumentsResolving Dependencies
--> Running transaction check
---> Package vsftpd.i386 0:2.0.5-12.el5 set to be updated
filelists.xml.gz 100% |=========================| 3.1 MB 01:15
http://apt.sw.be/redhat/el5/en/i386/dag/repodata/filelists.xml.gz: [Errno -1] Metadata file does not match checksum Trying other mirror.
Error: failure: repodata/filelists.xml.gz from dag: [Errno 256] No more mirrors to try.
碰到此问题,只要执行yum clean all就OK了。