RHEL 5.11 中的 yum 更新错误

RHEL 5.11 中的 yum 更新错误
http://10.91.209.2:81/builds/rhel/RHEL6.4-Server-x86_64/Server/repodata/af55926cd66a289d9c7eaf352b2ed91ca0e28f91a505fff2b5c4c7cc2f1885e0-primary.sqlite.bz2: [Errno -3] Error performing checksum
Trying other mirror.
http://10.91.209.2:81/builds/rhel/RHEL6.4-Server-x86_64/Server/repodata/af55926cd66a289d9c7eaf352b2ed91ca0e28f91a505fff2b5c4c7cc2f1885e0-primary.sqlite.bz2: [Errno -3] Error performing checksum
Trying other mirror.
Error: failure: repodata/af55926cd66a289d9c7eaf352b2ed91ca0e28f91a505fff2b5c4c7cc2f1885e0-primary.sqlite.bz2 from RHEL_Server: [Errno 256] No more mirrors to try.

我在 RHEL 5.7 版本中收到此错误,但在 RHEL 6 中不会发生此错误。

在 RHEL 6.7 中:-

yum repolist
Loaded plugins: product-id, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
repo id                                                                                        repo name                                                                                       status
NetAct-product-16.2.0.677                                                                      NetAct product 16.2.0.677                                                                       1,051
RHEL_HighAvailability                                                                          "RHEL HighAvailability"                                                                            56
RHEL_LoadBalancer                                                                              "RHEL LoadBalancer"                                                                                 4
RHEL_ScalableFileSystem                                                                        "RHEL ScalableFileSystem"                                                                           7
RHEL_Server                                                                                    "RHEL Server"                                                                                   3,648
RHEL_cpf_Errata                                                                                "RHEL cpf Errata"                                                                               4,255
repolist: 9,021

在 RHEL 5.11 中:-

yum repolist
RHEL_Server/primary_db                                                                                                                                                        | 3.1 MB     00:00
http://10.91.209.2:81/builds/rhel/RHEL6.4-Server-x86_64/Server/repodata/af55926cd66a289d9c7eaf352b2ed91ca0e28f91a505fff2b5c4c7cc2f1885e0-primary.sqlite.bz2: [Errno -3] Error performing checksum
Trying other mirror.
repo id                                                                                        repo name                                                                                       status
NetAct-product-16.2.0.677                                                                      NetAct product 16.2.0.677                                                                       1051
RHEL_Server                                                                                    "RHEL Server"                                                                                      0
RHEL_cpf_Errata                                                                                "RHEL cpf Errata"                                                                                  0
repolist: 1051

答案1

这是因为这些是单独的存储库和单独的元数据。

您可以尝试通过清理所有元数据yum clean all --enablerepo="*",然后重试。但如果镜子的错误仍然存​​在,您将需要使用其他镜子或联系镜子所有者以便他查看。看来上次同步只是部分或未成功。

相关内容