rhel5使用rhel6或者fedora11以上版本作为yum 源就会发生如下报错:
[Errno -3] Error performing checksum
报错原因:rhel6中repomd.xml文件使用sha256作为hash算法,在rhel5中默认使用的是sha作为hash算法,倒是rhel5读取rhel6yum源中的repomd.xml出现问题;
解决办法:
将rhel6 光盘中内容拷贝出来,createrepo -s sha ./ 重新创建repo ,并制定默认算法sha。