Yum update error pkg glibc-devel
Apologies if this seems trivial, however, I am very new to Linux.
I just ran 'sudo yum update' on a brand new RHEL v7 workstation and am receiving the following errors:
Error: Package: glibc-devel-2.17-106.el7_2.4.i686 (rhel-7-workstation-rpms)
Requires: glibc-headers = 2.17-106.el7_2.4
Removing: glibc-headers-2.17-106.el7_2.4.x86_64 (installed)
glibc-headers = 2.17-106.el7_2.4
Updated By: glibc-headers-2.17-106.el7_2.8.x86_64 (rhel-7-workstation-rpms)
glibc-headers = 2.17-106.el7_2.8
Available: glibc-headers-2.17-55.el7.x86_64 (rhel-7-workstation-rpms)
glibc-headers = 2.17-55.el7
Available: glibc-headers-2.17-55.el7_0.1.x86_64 (rhel-7-workstation-rpms)
glibc-headers = 2.17-55.el7_0.1
Available: glibc-headers-2.17-55.el7_0.3.x86_64 (rhel-7-workstation-rpms)
glibc-headers = 2.17-55.el7_0.3
Available: glibc-headers-2.17-55.el7_0.5.x86_64 (rhel-7-workstation-rpms)
glibc-headers = 2.17-55.el7_0.5
Available: glibc-headers-2.17-78.el7.x86_64 (rhel-7-workstation-rpms)
glibc-headers = 2.17-78.el7
Available: glibc-headers-2.17-105.el7.x86_64 (rhel-7-workstation-rpms)
glibc-headers = 2.17-105.el7
Available: glibc-headers-2.17-106.el7_2.1.x86_64 (rhel-7-workstation-rpms)
glibc-headers = 2.17-106.el7_2.1
Available: glibc-headers-2.17-106.el7_2.6.x86_64 (rhel-7-workstation-rpms)
glibc-headers = 2.17-106.el7_2.6
Error: Package: glibc-devel-2.17-106.el7_2.4.i686 (rhel-7-workstation-rpms)
Requires: glibc = 2.17-106.el7_2.4
Removing: glibc-2.17-106.el7_2.4.i686 (installed)
glibc = 2.17-106.el7_2.4
Updated By: glibc-2.17-106.el7_2.8.i686 (rhel-7-workstation-rpms)
glibc = 2.17-106.el7_2.8
Available: glibc-2.17-55.el7.i686 (rhel-7-workstation-rpms)
glibc = 2.17-55.el7
Available: glibc-2.17-55.el7_0.1.i686 (rhel-7-workstation-rpms)
glibc = 2.17-55.el7_0.1
Available: glibc-2.17-55.el7_0.3.i686 (rhel-7-workstation-rpms)
glibc = 2.17-55.el7_0.3
Available: glibc-2.17-55.el7_0.5.i686 (rhel-7-workstation-rpms)
glibc = 2.17-55.el7_0.5
Available: glibc-2.17-78.el7.i686 (rhel-7-workstation-rpms)
glibc = 2.17-78.el7
Available: glibc-2.17-105.el7.i686 (rhel-7-workstation-rpms)
glibc = 2.17-105.el7
Available: glibc-2.17-106.el7_2.1.i686 (rhel-7-workstation-rpms)
glibc = 2.17-106.el7_2.1
Available: glibc-2.17-106.el7_2.6.i686 (rhel-7-workstation-rpms)
glibc = 2.17-106.el7_2.6
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
I'm not sure how to resolve the issue so I can apply software updates. Any feedback is much appreciated.
Responses
From the specific output here, it looks like the update is trying to install 32-bit glibc-devel, but you don't have the 32-bit version of glibc or glibc-headers installed.
Can you show us sudo yum list installed glibc\*?
Maybe try running sudo yum install glibc.i686 first, and then do sudo yum update.
What I see in the yum list output doesn't seem to line up with what I'm seeing in your original output. Can you try sudo yum remove glibc-devel and then try sudo yum update? Maybe by removing what appears to be the offending package, you can do the update. You can always trying reinstalling glibc-devel after doing the full update.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
