Yum update error pkg glibc-devel

Latest response

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.

Running sudo yum list installed glibc\* produces:

Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager Installed Packages glibc.i686 2.17-106.el7_2.4 installed glibc.x86_64 2.17-106.el7_2.4 installed glibc-common.x86_64 2.17-106.el7_2.4 installed glibc-devel.x86_64 2.17-106.el7_2.4 installed glibc-headers.x86_64 2.17-106.el7_2.4 installed glibc-static.x86_64 2.17-106.el7_2.4 installed glibc-utils.x86_64 2.17-106.el7_2.4 installed

I've tried running sudo yum install glibc.i686 and receive the same error.

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.

I was hesitant to remove glibc since there were so many dependencies, so I tried one last attempt at resolving the issue with sudo subscription-manager repos --enable rhel-7-workstation-optional-rpms then sudo yum update and it worked. I realize this was probably a novice mistake, but I'm learning. Thanks for your help!

@Emily Blake thank you for the last solution you wrote. It worked for me!

I tried the suggestion by Emily Blake last week, but this did not work for me. My system crashed while doing sudo upade at package number 771. I decided to reinstall red hat 7.2, but am unable to do any yum updates. Any suggestions would be appreciated.

David,

I recommend you start a new discussion and give more detailed info about "unable to do any yum updates".

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.