Yum Update Error
I'm having trouble running a yum update on my RH 6.3:
This is one of many errors:
--> Finished Dependency Resolution
Error: Package: glib2-static-2.28.8-9.el6.x86_64 (@rhel-6-server-optional-rpms)
Requires: glib2-devel = 2.28.8-9.el6
Removing: glib2-devel-2.28.8-9.el6.i686 (@rhel-6-server-rpms)
glib2-devel = 2.28.8-9.el6
Updated By: glib2-devel-2.28.8-10.el6.i686 (rhel-6-server-rpms)
glib2-devel = 2.28.8-10.el6
Available: glib2-devel-2.22.5-5.el6.i686 (rhel-6-server-rpms)
glib2-devel = 2.22.5-5.el6
Available: glib2-devel-2.22.5-6.el6.i686 (rhel-6-server-rpms)
glib2-devel = 2.22.5-6.el6
Available: glib2-devel-2.22.5-7.el6.i686 (rhel-6-server-rpms)
glib2-devel = 2.22.5-7.el6
Available: glib2-devel-2.26.1-3.el6.i686 (rhel-6-server-rpms)
glib2-devel = 2.26.1-3.el6
Available: glib2-devel-2.26.1-7.el6_5.i686 (rhel-6-server-rpms)
glib2-devel = 2.26.1-7.el6_5
Available: glib2-devel-2.28.8-4.el6.i686 (rhel-6-server-rpms)
glib2-devel = 2.28.8-4.el6
Available: glib2-devel-2.28.8-5.el6.i686 (rhel-6-server-rpms)
glib2-devel = 2.28.8-5.el6
Responses
Hi Yen Tran,
It's good you're attempting to update your RHEL 6.3 system because it's not supported, but if you brought it to RHEL 6.10 (as you're probably trying to do with your yum update), you will have support for any tickets you put in with Red Hat.
Please check if you have duplicate glibc packages, you might not have duplicates, but let us know. (The link in this paragraph is for reference, I'd recommend caution before doing all the steps mentioned there quite yet)
Install the yum-utils package and determine if you have duplicate rpm files:
[root@yoursystem] # yum install yum-utils
echo "The package-cleanup --dupes lists all duplicate packages below"
[root@yoursystem] # package-cleanup --dupes
Please provide the output of the command yum clean all; yum repolist
I see you have the optional rpms channel available. That could be a factor.
Check how many (if any) dependencies would be affected with this (this yum command will exit without performing any actions if you use the "echo" statement prior as listed below...
echo n | yum remove glib2-static-2.28.8-9.el6.x86_64
If the output is not hateful (namely, attempting to remove the above rpm yum is complaining about does not result in removing a giant list of rpms), then you might consider removing just that rpm and then attempt your yum update.
Let us know if you have any duplicate channels and the output from yum clean all ; yum repolist
Regards,
RJ
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
