LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   problem installing glibc-2.3.2-4.80.i686, glibc-common-2.3.2-4.80.8.i386.rpm (https://www.linuxquestions.org/questions/red-hat-31/problem-installing-glibc-2-3-2-4-80-i686-glibc-common-2-3-2-4-80-8-i386-rpm-276375/)

martianpackets 01-10-2005 11:05 PM

problem installing glibc-2.3.2-4.80.i686, glibc-common-2.3.2-4.80.8.i386.rpm
 
First I am running rh 8.0. I'm not ready to upgrade my laptop to FC2. I need glibc > 2.3.2 however to use programs such as Firefox 1.0.

So, I have managed to upgrade most of the suite:

Code:

# rpm -qa| grep glibc
glibc-2.2.93-5
glibc-debug-2.3.2-4.80.8
glibc-profile-2.3.2-4.80.8
glibc-devel-2.3.2-4.80.8
glibc-utils-2.3.2-4.80.8
glibc-kernheaders-2.4-7.20
glibc-debug-static-2.3.2-4.80.8

and Firefox 1.0 does run now (amazingly)... but, I cannot upgrade glibc-2.2 to 2.3.2 due to failed dependency on glibc-common, and I cannot install glibc-common. Here's what I get:

Code:

# rpm -ivh glibc-common-2.3.2-4.80.8.i386.rpm --force --nodeps
Preparing...                ########################################### [100%]
  1:glibc-common          ########################################### [100%]
error: unpacking of archive failed on file /usr/lib/locale: cpio: unlink failed - Operation not permitted

I've searched high and low for a similar error to no avail. PLEASE don't tell me to upgrade my os to fedora, I'm not ready to do that yet. Does this have something to do with missing language settings, etc?

Code:

# set | grep LC
LC_ALL=C
LC_CTYPE=C


acid_kewpie 01-11-2005 02:07 AM

why are yiou forcing the install?? if you have a circular dependency then just install them at teh same time, on the same command line. you should have a really good reason for using those RPM options.

perfect_circle 01-11-2005 03:59 AM

I don't know how you did it but you have to respect the dependencies:

What you should do ( i did this when i had rh8.0 to install firefox) is:

rpm -qa| grep glibc

you should see:

all packages in the same version:

glibc-<version>
glibc-common-<verdion>
.....
.....


Then you download the new version (3.2) of all the packages you have in 2.95.

And you do:
rpm -Fhv glibc*

USING --force --nodeps in an glibc package is suicide.... It's the single most important library in your system.Even bash uses it.

in your case since you made it so far download glibc and glibc-common
and install them together with
Code:

rpm -Fhv glibc-common-2.3.2-4.80.8.i386.rpm glibc-common-2.3.2-4.80.8.i386.rpm


martianpackets 01-12-2005 05:09 PM

Quote:

Originally posted by acid_kewpie
why are yiou forcing the install?? if you have a circular dependency then just install them at teh same time, on the same command line.
I didn't try that -- it is a circular dependency.

OK dammit: I tried installing them both on the same line as suggested.

Code:

# rpm -Fvh glibc-2.3.2-4.80.8.i686.rpm glibc-common-2.3.2-4.80.8.i386.rpm

error: Failed dependencies:
        glibc-common = 2.3.2-4.80.8 is needed by glibc-2.3.2-4.80.8

nada. I tried swapping the order of the file names on the cmd line as well. Whutup with that?

Quote:

you should have a really good reason for using those RPM options.
My reasoning was that if I could force one of the packages, then the other would go. I admit it was risky but what the hell -- I got the RedHat 8 cd sitting right here, if I have to reinstall I can do that. This dumb circular dependency is a kludge.

Help?

perfect_circle 01-13-2005 01:47 AM

well try this:
rpm -Fhv glibc*

I'm pretty sure i did it this way.

martianpackets 01-13-2005 09:15 AM

Quote:

Originally posted by perfect_circle
well try this:
rpm -Fhv glibc*

I'm pretty sure i did it this way.

That's what I did in the first place. I do have

glibc-debug-2.3.2-4.80.8

installed, so I wonder if this is satisfying the need for glibc-2.3.2-4.80.8? In any case, I haven't encountered any problems yet. I'm going to attempt to install Thunderbird which I believe requires the same glibc version.

Still the question remains:

How do I get glibc-2.3.2-4.80.8 and glibc-common-2.3.2-4.80.8 installed? Again a query of my glibc rpms gives:

Code:

# rpm -qa | grep glibc
glibc-2.2.93-5
glibc-debug-2.3.2-4.80.8
glibc-profile-2.3.2-4.80.8
glibc-devel-2.3.2-4.80.8
glibc-utils-2.3.2-4.80.8
glibc-kernheaders-2.4-7.20
glibc-debug-static-2.3.2-4.80.8


pinar 02-19-2005 08:45 AM

I downloaded glibc-common-2.3.2-4.80.8, glibc-devel-2.3.2-4.80.8 and glibc-2.3.2-4.80.8 all separately. Then followed perfect_circle's advice and typed rpm -Fhv glibc* it all went well and upgraded the glibc. Firefox has installed fine afterwards. Thanks everyone!

JBull 07-04-2005 12:31 AM

Same problem, SOLVED!
 
I have had the same frustrating problem with the circular dependency. Tried just about everything. The solution is what perfect circle has posted.
Do this:

rpm -Fhv glibc*

And you've got it!

abylin1 05-01-2009 03:22 PM

I am on RHEL4 and am facing a similar problem with the glibc and glibc-common circular dependencies. I have glibc-2.3.4-2.25.i686 and glibc-common-2.3.4-2.25.i386 installed, and I want to downgrade to glibc-2.3.2-95.39.i386 and glibc-common-2.3.2-95.39.i386.

When I ran the rpm -Fvh glibc* in my directory that contained the rpms I want to downgrade to, I get this:
warning: glibc-2.3.2-95.39.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60e

Running the rpm -Fvh glibc* command didn't do anything, as I verified by doing an rpm -qa | grep glibc, it still showed the 2.3.4 versions as installed. I also tried listing out the rpms all on the same line but that output the same warning and did nothing.

What else can I try to downgrade these rpms?

Laura


All times are GMT -5. The time now is 11:48 AM.