Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1116422
  • 博文数量: 188
  • 博客积分: 2267
  • 博客等级: 大尉
  • 技术积分: 1907
  • 用 户 组: 普通用户
  • 注册时间: 2011-08-01 11:17
文章分类

全部博文(188)

文章存档

2016年(16)

2015年(16)

2014年(12)

2013年(32)

2012年(45)

2011年(67)

分类: LINUX

2011-11-10 08:54:33

rhel 5 使用 rhel6 或者 fedora 11 以上版本作为yum 源就会发生如下报错:

: [Errno -3] Error performing checksum
Trying other mirror.

原因: rhel 6 中 repomd.xml 文件使用 sha256 作为hash 算法 ,在rhel 5中 默认使用的是sha 作为hash 算法 ,倒是rhel5 读取 rhel 6 yum 源中的repomd.xml 出现问题

 

解决办法: 将rhel 6 光盘中内容拷贝出来 ,createrepo  -s sha  ./   重新创建repo ,并制定默认算法 sha


阅读(3041) | 评论(1) | 转发(0) |
给主人留下些什么吧!~~

squall12012-03-13 17:07:01

You could try running: package-cleanup --problems