yum更新返回“元数据文件不匹配校验和”

[root@someserver yum]# yum update Loaded plugins: rhnplugin, security rhel-x86_64-server-5 | 1.4 kB 00:00 rhel-x86_64-server-5/primary | 3.4 MB 00:03 rhel-x86_64-server-5 10025/10025 rhel-x86_64-server-supplementary-5 | 1.4 kB 00:00 rhel-x86_64-server-supplementary-5/primary | 250 kB 00:00 rhel-x86_64-server-supplementary-5/primary | 250 kB 00:00 rhel-x86_64-server-supplementary-5/primary | 250 kB 00:00 rhel-x86_64-server-supplementary-5/primary | 250 kB 00:00 Error: failed to retrieve repodata/f0************************************************74-primary.xml.gz from rhel-x86_64-server-supplementary-5 error was [Errno -1] Metadata file does not match checksum [root@someserver yum]# 

谷歌说:

  • https://access.redhat.com/kb/docs/DOC-25842
  • https://bugzilla.redhat.com/show_bug.cgi?id=480183
  • https://www.redhat.com/archives/redhat-list/2009-January/msg00101.html

根据以上的信息我已经尝试过

 yum clean all rm -rf /var/cache/yum/* 

除了启用和禁用不同的“频道”。

有人知道这个解决scheme吗?

这是RHN的一个问题,它是CDN,它说“XYZ”是文件A的校验和,但是当yum对它下载的内容进行校验时,它没有得到“XYZ”,所以拒绝使用它。

我强烈build议你打开支持票,或者你可以等待它自己修复。

您可能希望将支持票连接到:

https://bugzilla.redhat.com/show_bug.cgi?id=638922

…这是当前问题被收集的地方。

你尝试过yum makecache