现象:

[root@TEST-01 yum.repos.d]# yum clean all

Cleaning up Everything

[root@TEST-01 yum.repos.d]# yum makecache

base                      100% |=========================| 3.7 kB    00:00     

9a3a8909e656c27cd85c75a2d 100% |=========================| 4.6 MB    00:02     

http://mirrors.aliyun.com/centos/6/os/x86_64/repodata/9a3a8909e656c27cd85c75a2d53b491040effa3f170b0369172433843e1829d7-primary.sqlite.bz2: [Errno -3] Error performing checksum

Trying other mirror.

http://mirrors.aliyuncs.com/centos/6/os/x86_64/repodata/9a3a8909e656c27cd85c75a2d53b491040effa3f170b0369172433843e1829d7-primary.sqlite.bz2: [Errno 4] IOError:

Trying other mirror.

Error: failure: repodata/9a3a8909e656c27cd85c75a2d53b491040effa3f170b0369172433843e1829d7-primary.sqlite.bz2 from base: [Errno 256] No more mirrors to try.

[root@TEST-01 yum.repos.d]#

解决方法:

1、尝试了网络上enable=0和hash加密的解决方法,还是未解决

2、主要是因为repos的版本与系统不一样,因为我的系统核心是Linux .6.26.8.4. 而我下载的是centos 6的repo文件,正确的应该是下载Centos 5的相应文件