在 SL6.1 上,我尝试使用 yum update glibc,但失败了,我认为是因为源冲突,但我不太确定。我真的不知道如何解析 yum 错误,但这里是错误:
# yum update glibc
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package glibc.x86_64 0:2.12-1.80.el6_3.3 will be updated
---> Package glibc.x86_64 0:2.12-1.80.el6_3.5 will be an update
--> Processing Dependency: glibc-common = 2.12-1.80.el6_3.5 for package: glibc-2.12-1.80.el6_3.5.x86_64
--> Running transaction check
---> Package glibc-common.x86_64 0:2.12-1.80.el6_3.3 will be updated
--> Processing Dependency: glibc-common = 2.12-1.80.el6_3.3 for package: glibc-2.12-1.80.el6_3.3.i686
---> Package glibc-common.x86_64 0:2.12-1.80.el6_3.5 will be an update
--> Finished Dependency Resolution
Error: Package: glibc-2.12-1.80.el6_3.3.i686 (@sl-security)
Requires: glibc-common = 2.12-1.80.el6_3.3
Removing: glibc-common-2.12-1.80.el6_3.3.x86_64 (@sl-security)
glibc-common = 2.12-1.80.el6_3.3
Updated By: glibc-common-2.12-1.80.el6_3.5.x86_64 (sl-security)
glibc-common = 2.12-1.80.el6_3.5
Available: glibc-common-2.12-1.25.el6.x86_64 (sl)
glibc-common = 2.12-1.25.el6
Available: glibc-common-2.12-1.47.el6.x86_64 (sl-security)
glibc-common = 2.12-1.47.el6
Available: glibc-common-2.12-1.47.el6_2.5.x86_64 (sl-security)
glibc-common = 2.12-1.47.el6_2.5
Available: glibc-common-2.12-1.47.el6_2.9.x86_64 (sl-security)
glibc-common = 2.12-1.47.el6_2.9
任何帮助都将不胜感激。sl 和 sl-security 存储库不是由 scientificlinux.org 提供的,而是一个静态镜像,其中只有研究合作伙伴提供的相关软件包。
答案1
看起来像:
- yum 想要更新 glibc-common-2.12-1.80.el6_3。3.x86_64 到 glibc-comon-2.12-1.80.el6_3。5.x86_64
- glibc-common:i686 软件包需要与 glibc-common:x86_64 保持一致
- glibc-common:i686 的最新版本是 glibc-common-2.12-1.80.el6_3。3.i686
- 因此它无法解决这两个问题
因此看来 glibc-common-2.12-1.80.el6_3。5更新站点缺少 .i686。解决该问题应该就没问题了。