-   Red Hat (
-   -   glibc Dependency Issue (

siwelb 09-11-2009 01:50 PM

glibc Dependency Issue
I am attempting to install glibc-2.5.34.i386.rpm on RHEL 5 (necessary in order to install gcc, which in turn is needed to install Apache server). I mounted the RHEL 5 iso to /mnt and copied over the relevant RPM files to a separate directory). When I run rpm -ivh glibc-2.5-34.i386.rpm I am getting a dependency error stating the following:


error: Failed dependencies: glibc-common = 2.5-34 is need by glibc-2.5-34.i386
Okay, so I grabbed the glibc-common RPM from the RPM fiinder site and ran rpm -ivh on it. However, it complains that I have a newer version of glibc-common package installed (2.5-34.el5_3.1.i386) and then spits out a bunch of lines about conflicting files. So is there a way to somehow uninstall or rollback glibc-common to version 2.5-34 so that I can go ahead with the install of glibc?

Btw, I cannot use yum due to network connectivity issues.

knudfl 09-11-2009 02:25 PM

Welcome to LQ.

Touching the glibc packages manually isn't recommended.
Most often applies for a reinstall of the OS.

But if you are lucky, these should be usable ( latast updates.)

The update mirror ( EL5, free version = CentOS 5.3 )
Apache = httpd-2.2.3-22.el5.centos.1.i386.rpm is also in 'update'.

glibc-2.5-34.el5_3.1.i386.rpm                15-Aug-2009 14:01        4.4M
glibc-2.5-34.el5_3.1.i686.rpm                15-Aug-2009 14:01        5.2M
glibc-common-2.5-34.el5_3.1.i386.rpm        15-Aug-2009 14:01        16M
glibc-devel-2.5-34.el5_3.1.i386.rpm        15-Aug-2009 14:01        2.0M
glibc-headers-2.5-34.el5_3.1.i386.rpm        15-Aug-2009 14:01        598K
glibc-utils-2.5-34.el5_3.1.i386.rpm        15-Aug-2009 14:01        127K

All other packages

ramram29 09-11-2009 02:38 PM

glibc is impossible to install unless you do it with a rescue CD; and even then it is not recommended. glibc is the heart of the OS. It is the general C libraries. Like 90% of all programs depend on it. It is better to just upgrade to OS.

All times are GMT -5. The time now is 10:54 AM.