我正在使用 RHEL6。每当我尝试更新我的机器时,它都会说
[root@ASL-DRDO manmatha]# yum update
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
This system is receiving updates from Red Hat Subscription Management.
rhel-6-workstation-rhev-agent-rpms
rhel-6-workstation-rpms | 3.7 kB 00:00
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package glib.i686 1:1.2.10-33.el6 will be updated
--> Processing Dependency: libglib-1.2.so.0 for package: 1:gtk+-1.2.10-70.el6.i686
--> Processing Dependency: libglib-1.2.so.0 for package: 1:imlib-1.9.15-14.el6.i686
--> Processing Dependency: libgmodule-1.2.so.0 for package: 1:gtk+-1.2.10-70.el6.i686
--> Processing Dependency: libgmodule-1.2.so.0 for package: 1:imlib-1.9.15-14.el6.i686
---> Package glib.x86_64 1:1.2.10-33.el6.rf will be an update
---> Package glib-devel.i686 1:1.2.10-33.el6 will be updated
---> Package glib-devel.x86_64 1:1.2.10-33.el6.rf will be an update
--> Finished Dependency Resolution
Error: Package: 1:gtk+-1.2.10-70.el6.i686 (@epel)
Requires: libgmodule-1.2.so.0
Removing: 1:glib-1.2.10-33.el6.i686 (@epel)
libgmodule-1.2.so.0
Updated By: 1:glib-1.2.10-33.el6.rf.x86_64 (rpmforge)
Not found
Error: Package: 1:imlib-1.9.15-14.el6.i686 (@epel)
Requires: libgmodule-1.2.so.0
Removing: 1:glib-1.2.10-33.el6.i686 (@epel)
libgmodule-1.2.so.0
Updated By: 1:glib-1.2.10-33.el6.rf.x86_64 (rpmforge)
Not found
Error: Package: 1:gtk+-1.2.10-70.el6.i686 (@epel)
Requires: libglib-1.2.so.0
Removing: 1:glib-1.2.10-33.el6.i686 (@epel)
libglib-1.2.so.0
Updated By: 1:glib-1.2.10-33.el6.rf.x86_64 (rpmforge)
Not found
Error: Package: 1:imlib-1.9.15-14.el6.i686 (@epel)
Requires: libglib-1.2.so.0
Removing: 1:glib-1.2.10-33.el6.i686 (@epel)
libglib-1.2.so.0
Updated By: 1:glib-1.2.10-33.el6.rf.x86_64 (rpmforge)
Not found
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
这个消息是什么意思?
答案1
CentOS wiki 的主题下广泛讨论了此类问题:CentOS 的可用存储库。
一般来说,在混合 EPEL、RPMForge 等存储库时需要非常小心。
查看您的错误消息,您似乎将 32 位软件包与 64 位软件包混合在一起。
例如
Error: Package: 1:gtk+-1.2.10-70.el6.i686 (@epel)
Requires: libgmodule-1.2.so.0
Removing: 1:glib-1.2.10-33.el6.i686 (@epel)
libgmodule-1.2.so.0
Updated By: 1:glib-1.2.10-33.el6.rf.x86_64 (rpmforge)
Not found
这个特定的错误告诉您,您正在混合两个存储库(EPEL 和 RPMForge),并且它们中可用的包具有冲突的依赖项。此外,EPEL 是 32 位,而 RPMForge 是 64 位,这使问题更加复杂。