Red Hat Enterprise Linux 7.5 beta, cannot install glibc-headers

Latest response

I am trying to install the glibc-headers package on a fresh install of the 7.5 beta 1 build, but I keep ending up with a dependency error. Yum tries to resolve it into installing the 32-bit glibc (which I do not want), and fails. Following the advice and changing the Yum configuration does not help.

LC_ALL=C yum install glibc-headers

Loaded plugins: product-id, search-disabled-repos, subscription-manager
Resolving Dependencies
--> Running transaction check
---> Package glibc-headers.x86_64 0:2.17-196.el7_4.2 will be installed
--> Processing Dependency: glibc = 2.17-196.el7_4.2 for package: glibc-headers-2.17-196.el7_4.2.x86_64
--> Running transaction check
---> Package glibc.i686 0:2.17-196.el7_4.2 will be installed
--> Processing Dependency: glibc-common = 2.17-196.el7_4.2 for package: glibc-2.17-196.el7_4.2.i686
--> Processing Dependency: libfreebl3.so for package: glibc-2.17-196.el7_4.2.i686
--> Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package: glibc-2.17-196.el7_4.2.i686
--> Running transaction check
---> Package glibc.i686 0:2.17-196.el7_4.2 will be installed
--> Processing Dependency: glibc-common = 2.17-196.el7_4.2 for package: glibc-2.17-196.el7_4.2.i686
---> Package nss-softokn-freebl.i686 0:3.28.3-8.el7_4 will be installed
--> Finished Dependency Resolution
Error: Package: glibc-2.17-196.el7_4.2.i686 (rhel-7-server-rpms)
Requires: glibc-common = 2.17-196.el7_4.2
Installed: glibc-common-2.17-220.el7.x86_64 (@anaconda/7.5)
glibc-common = 2.17-220.el7
Available: glibc-common-2.17-55.el7.x86_64 (rhel-7-server-rpms)
glibc-common = 2.17-55.el7
Available: glibc-common-2.17-55.el7_0.1.x86_64 (rhel-7-server-rpms)
glibc-common = 2.17-55.el7_0.1
Available: glibc-common-2.17-55.el7_0.3.x86_64 (rhel-7-server-rpms)
glibc-common = 2.17-55.el7_0.3
Available: glibc-common-2.17-55.el7_0.5.x86_64 (rhel-7-server-rpms)
glibc-common = 2.17-55.el7_0.5
Available: glibc-common-2.17-78.el7.x86_64 (rhel-7-server-rpms)
glibc-common = 2.17-78.el7
Available: glibc-common-2.17-105.el7.x86_64 (rhel-7-server-rpms)
glibc-common = 2.17-105.el7
Available: glibc-common-2.17-106.el7_2.1.x86_64 (rhel-7-server-rpms)
glibc-common = 2.17-106.el7_2.1
Available: glibc-common-2.17-106.el7_2.4.x86_64 (rhel-7-server-rpms)
glibc-common = 2.17-106.el7_2.4
Available: glibc-common-2.17-106.el7_2.6.x86_64 (rhel-7-server-rpms)
glibc-common = 2.17-106.el7_2.6
Available: glibc-common-2.17-106.el7_2.8.x86_64 (rhel-7-server-rpms)
glibc-common = 2.17-106.el7_2.8
Available: glibc-common-2.17-157.el7.x86_64 (rhel-7-server-rpms)
glibc-common = 2.17-157.el7
Available: glibc-common-2.17-157.el7_3.1.x86_64 (rhel-7-server-rpms)
glibc-common = 2.17-157.el7_3.1
Available: glibc-common-2.17-157.el7_3.2.x86_64 (rhel-7-server-rpms)
glibc-common = 2.17-157.el7_3.2
Available: glibc-common-2.17-157.el7_3.4.x86_64 (rhel-7-server-rpms)
glibc-common = 2.17-157.el7_3.4
Available: glibc-common-2.17-157.el7_3.5.x86_64 (rhel-7-server-rpms)
glibc-common = 2.17-157.el7_3.5
Available: glibc-common-2.17-196.el7.x86_64 (rhel-7-server-rpms)
glibc-common = 2.17-196.el7
Available: glibc-common-2.17-196.el7_4.2.x86_64 (rhel-7-server-rpms)
glibc-common = 2.17-196.el7_4.2


yum can be configured to try to resolve such errors by temporarily enabling
disabled repos and searching for missing dependencies.
To enable this functionality please set 'notify_only=0' in /etc/yum/pluginconf.d/search-disabled-repos.conf


Responses

Hello Peter,

Are you using CDN directly or a Satellite server? It looks like your server is trying to resolve dependencies based on RHEL 7.4 (rhel-7-server-rpms) repositories instead of 7.5 Beta (rhel-7-server-beta-rpms).

So is the server registered to RHEL Beta products?

Regards,

Jan Gerrit

I did a clean install and registered using

subscription-manager register --auto-attach

I have not changed the default configuration otherwise.

Hi Peter,

Please check whether the 'beta' repository Jan Gerrit mentioned in his reply above is enabled :

sudo subscription-manager repos --list-enabled

In case it's not (when I registered the beta, it wasn't enabled) execute the following command :

sudo subscription-manager repos --enable rhel-7-server-beta-rpms

Then update with sudo yum update ... install with sudo yum install glibc-headers.

Regards,
Christian

That fixed it. Thanks!

I'll make a point of reading the instructions more carefully next time :-)

Hi Peter,

You're welcome ! Great - I am glad that we could solve your problem. :)

Regards,
Christian

All,

Just to complete the solution:

sudo subscription-manager repos --enable "*-beta-rpms"

Will enable all beta repositories you are entitled too.

Regards,

Jan Gerrit

Hi Jan Gerrit,

Thanks for the good hint ... I explicitly did not choose this variant, because the rhel-7-server-rt-beta-rpms repository gets enabled as well and, as we know from many posts here in the community, users often receive error messages about connection failures with this repo when running yum update. Nevertheless, useful information ! :)

Regards,
Christian

WOW, how come I didn't notice this before. I have installed the beta version and was constantly having problems installing from the RPM's. I could almost get around by changing the check value to 0 and searching all repos but this ultimately fixed the problem. Thanks, Eric

Close

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