LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Circular dependencies when trying to install glibc, glibc-common and others (https://www.linuxquestions.org/questions/linux-newbie-8/circular-dependencies-when-trying-to-install-glibc-glibc-common-and-others-4175544423/)

iMochiT 06-03-2015 05:45 PM

Circular dependencies when trying to install glibc, glibc-common and others
 
Any tips/tricks on how and what order I should be installing the RHEL6 packages so that I don't get dependency errors would be much appreciated.

I have sudo access (unrestricted I think) to a Linux VM running RHEL 6.3. I am trying to install an IBM product which requires KSH along with a bunch of Linux packages (both 32-bit and 64-bit versions) before it can install properly. Minimal documentation for installing on a Linux environment from IBM.

Many of the packages I am trying to install gives me a dependency failure:

rpm -ivh nss-softokn-freebl-3.14.3-22.el6_6.i686.rpm
error: Failed dependencies:
libc.so.6 is needed by nss-softokn-freebl-3.14.3-22.el6_6.i686
libc.so.6(GLIBC_2.0) is needed by nss-softokn-freebl-3.14.3-22.el6_6.i686
libc.so.6(GLIBC_2.1) is needed by nss-softokn-freebl-3.14.3-22.el6_6.i686
libc.so.6(GLIBC_2.1.3) is needed by nss-softokn-freebl-3.14.3-22.el6_6.i686
libc.so.6(GLIBC_2.3) is needed by nss-softokn-freebl-3.14.3-22.el6_6.i686
libc.so.6(GLIBC_2.3.4) is needed by nss-softokn-freebl-3.14.3-22.el6_6.i686
libc.so.6(GLIBC_2.4) is needed by nss-softokn-freebl-3.14.3-22.el6_6.i686
libc.so.6(GLIBC_2.7) is needed by nss-softokn-freebl-3.14.3-22.el6_6.i686
libdl.so.2 is needed by nss-softokn-freebl-3.14.3-22.el6_6.i686
libdl.so.2(GLIBC_2.0) is needed by nss-softokn-freebl-3.14.3-22.el6_6.i686
libdl.so.2(GLIBC_2.1) is needed by nss-softokn-freebl-3.14.3-22.el6_6.i686

When I try to install GLIBC I get the following dependency failure:

glibc-common = 2.12-1.149.el6_6.9 is needed by glibc-2.12-1.149.el6_6.9.i686
libfreebl3.so is needed by glibc-2.12-1.149.el6_6.9.i686
libfreebl3.so(NSSRAWHASH_3.12.3) is needed by glibc-2.12-1.149.el6_6.9.i686

And another dependency failure when installing glibc-common:
glibc = 2.12-1.149.el6_6.9 is needed by glibc-common-2.12-1.149.el6_6.9.i686
libc.so.6 is needed by glibc-common-2.12-1.149.el6_6.9.i686
libc.so.6(GLIBC_2.0) is needed by glibc-common-2.12-1.149.el6_6.9.i686
libc.so.6(GLIBC_2.1) is needed by glibc-common-2.12-1.149.el6_6.9.i686
libc.so.6(GLIBC_2.1.1) is needed by glibc-common-2.12-1.149.el6_6.9.i686
libc.so.6(GLIBC_2.1.3) is needed by glibc-common-2.12-1.149.el6_6.9.i686
libc.so.6(GLIBC_2.10) is needed by glibc-common-2.12-1.149.el6_6.9.i686
libc.so.6(GLIBC_2.2) is needed by glibc-common-2.12-1.149.el6_6.9.i686
libc.so.6(GLIBC_2.3) is needed by glibc-common-2.12-1.149.el6_6.9.i686
libcap.so.2 is needed by glibc-common-2.12-1.149.el6_6.9.i686
libdl.so.2 is needed by glibc-common-2.12-1.149.el6_6.9.i686
libdl.so.2(GLIBC_2.0) is needed by glibc-common-2.12-1.149.el6_6.9.i686
libdl.so.2(GLIBC_2.1) is needed by glibc-common-2.12-1.149.el6_6.9.i686

Should I be downloading earlier versions of glibc from the Red Hat site? Please note, I installed the x86_64-bit versions of the required packages with no issues... just getting stuck on the 32-bit components.

Also, this system is internal facing and has no route out to RHN so yum installs automatically return errors, which is why I am stuck using rpm.

Thanks in advance!

iMochiT 06-03-2015 05:57 PM

I just found some threads that mention it could be harmful to upgrade or replace glibc on an official RHEL system... a check on my system indicates:

# rpm -qa | grep glibc
glibc-devel-2.12-1.80.el6_3.5.x86_64
glibc-common-2.12-1.80.el6_3.5.x86_64
glibc-2.12-1.80.el6_3.5.x86_64
glibc-headers-2.12-1.80.el6_3.5.x86_64

I am trying to install glibc-2.12-1.149.el6_6.9.i686.rpm and I'm guessing I should also have the i686 versions of the glibc-devel, glibc-common and glibc-headers...

Just found out I can install multiple packages on the same line (rpm -Fhv glibc*)... I will give that a try. But as the i686 version is 2.12-1.149 and the 64-bit version currently running on my machine is 2.12-1.80, does that mean I need to also upgrade the 64-bit versions to the glibc-2.12-1.149.el6_6.9.x86_64.rpm and corresponding rpms for glibc-common etc.? Or should I be downloading the i686 glibc packages of the same version as the 64-bit counterparts running on my system?

suicidaleggroll 06-03-2015 06:00 PM

6.3 is horrifically out of date, you need to bring that up to 6.6 asap.
Code:

yum update
reboot
yum install nss-softokn-freebl-3.14.3-22.el6_6.i686.rpm

yum will resolve the dependencies of your rpm files automatically, but you need get your system current first.

iMochiT 06-03-2015 06:14 PM

Thanks suicidaleggroll. Unfortunately yum is not working on this system at all (limited to internal traffic, no external route to RHN). Each time I try using it even with a -localinstall option it fails with errors. I will have to request our SA upgrade RHEL to version 6.6 and then try installing IBM's software again. But do you know if RHEL 6.6 has the 32-bit libraries? I am installing IBM's ITM monitoring agent if anyone has ever had any luck installing that.

John VV 06-03-2015 06:55 PM

iMochiT
then contact redhat tech support ASAP!!!

yum was basically created to SOLVE!!!! the issues with "rpm"
and solve the issues with the RHEL4 "up2date"

this IS what yum is MEANT TO SOLVE

i take it you do not know that redhat will NEVER!!!!!!! change the MAJOR version of the software !! NEVER!!!

the major version in 6.0 is the SAME major version in 6.6-- just with SECURITY AND BUG FIXES back ported

now

redhat can provide BACK ports to 6.3 but you have to REALLY pay redhat for that service
-- you can LOCK a install at 6.3 - security fixes only
but NOT recommended normally

so

contact redhat tech support

set up a laptop as a offline "satellite" system to upgrade and install software to this machine

iMochiT 06-03-2015 11:25 PM

Thanks John_VV. Will get this system updated by our SAs (they may have their own system that connects to RHN that they can distribute updates from).


All times are GMT -5. The time now is 02:35 AM.