yum 报错 "[Errno -3] Error performing checksum"
2014-05-29 11:47
387 查看
使用 RHEL6 为 RHE5 制作并发布yum 源,在RHEL5上使用该yum源出现如下报错:
[Errno -3] Error performing checksum
原因: RHEL6 中 repomd.xml 文件默认使用 sha256 作为hash 算法 ,而在RHEL5中 默认使用的是sha 作为hash 算法
因此RHEL5 读取 RHEL6 的yum 源中的repomd.xml 出现问题
解决办法: 制作yum源的时候加入-s sha参数,指定hash算法为sha即可。
createrepo -d -p -s sha ./ #重新创建repo
在客户端 yum clean all ; yum repolist #清空缓存
[Errno -3] Error performing checksum
原因: RHEL6 中 repomd.xml 文件默认使用 sha256 作为hash 算法 ,而在RHEL5中 默认使用的是sha 作为hash 算法
因此RHEL5 读取 RHEL6 的yum 源中的repomd.xml 出现问题
解决办法: 制作yum源的时候加入-s sha参数,指定hash算法为sha即可。
createrepo -d -p -s sha ./ #重新创建repo
在客户端 yum clean all ; yum repolist #清空缓存
相关文章推荐
- linux基础-"[Errno -3] Error performing checksum" yum 报错
- yum makecache 时出现[Errno -3] Error performing checksum 错误的解决方法
- Linux 使用开源 yum 报错 Error performing checksum 解决方法
- centos yum报错: [Errno -3] Error performing checksum
- Linux 使用开源 yum 报错 Error performing checksum 解决方法
- yum install * 出现[Errno -3] Error performing checksum Trying other mirror.
- Fix error: yum primary.sqlite.bz2: [Errno -3] Error performing checksum Trying other mirror.
- yum checksum error的解决
- 在oracle linux下使用yum安装报错:[Errno -1] Metadata file does not match checksum
- yum报错[Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404"
- yum [Errno -1] Metadata file does not match checksum
- yum安装失败[Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'mirrors.aliyun.com'"
- 解決yum [Errno -1] Metadata file does not match checksum
- configure: error: C++ preprocessor "/lib/cpp" fails sanity check
- configure: error: C++ preprocessor "/lib/cpp" fails sanity check
- 错误集锦之 "Unparsed aapt error(s)! Check the console for output".
- configure: error: C++ preprocessor "/lib/cpp" fails sanity check
- configure: error: C++ preprocessor "/lib/cpp" fails sanity check
- ChecksumException: Checksum error
- yum update 报错Transaction Check Error