您的位置:首页 > 其它

yum makecache 时出现[Errno -3] Error performing checksum 错误的解决方法

2015-05-27 10:34 846 查看
现象:
[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: <urlopen error (-3, '\xd3\xf2\xc3\xfb\xbd\xe2\xce\xf6\xd4\xdd\xca\xb1\xca\xa7\xb0\xdc')>
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的相应文件
本文出自 “工作点滴” 博客,请务必保留此出处http://fanyk.blog.51cto.com/3380850/1655534
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐