首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >RHEL 5.11中的yum更新错误

RHEL 5.11中的yum更新错误
EN

Unix & Linux用户
提问于 2016-01-13 14:16:43
回答 1查看 525关注 0票数 0
代码语言:javascript
运行
复制
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.

我得到这个错误在RHEL5.7版本,但这个错误不是发生在RHEL 6。

在RHEL 6.7中:-

代码语言:javascript
运行
复制
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中:-

代码语言:javascript
运行
复制
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
EN

回答 1

Unix & Linux用户

发布于 2016-01-13 19:38:07

这是因为它们是独立的存储库和独立的元数据。

您可以尝试通过yum clean all --enablerepo="*"清理所有元数据,然后再试一次。但是,如果镜像错误仍然存在,您需要使用不同的镜像,或者与镜像所有者联系,以便他可以查看。似乎最后一次同步只是部分成功或不成功。

票数 0
EN
页面原文内容由Unix & Linux提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://unix.stackexchange.com/questions/255104

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档