LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-12-2003, 11:04 AM   #1
kayhan
Member
 
Registered: Oct 2002
Location: US
Distribution: Red Hat 7.3->9 -> Fedora Core 1
Posts: 33

Rep: Reputation: 15
Completely hosed.


I was just trying to update gcc (from 2.96 to 3.2.1) and glibc (from 2.2.5 to 2.3.1) trying to make sure I didn't do anything stupid. I knew that some of my packages wouldn't make it through that upgrade so I was going to have to an rpm -U --nodeps at some point, but I was able to go through most things without a --nodeps.

Well I eventually did do something stupid and somehow had glibc-xx-2.2.5 _and_ glibc-xx-2.3.1 so I figured I should just
rpm -e the old version. Then I got the following error:

Code:
error: execution of %postun scriptlet from glibc-2.2.5-34 failed, exit status 255
Now I can't do much of anything. E.g.,
Code:
% ls
ls: Command not found.
% rpm -qa | grep glibc
grep: Command not found.
-qa: No such file or directory
% which \ls
/bin/ls
% /bin/ls
/bin/ls: Command not found.
Luckily I had mozilla open so that I can post this. I know I won't be able to log in again because I did Ctrl-Alt-F2 and tried to log in and couldn't. I guess I should be able to boot from a CD and backup my data and reinstall, but I hoped other people had some
brighter ideas before that.
 
Old 03-12-2003, 12:05 PM   #2
crashmeister
Senior Member
 
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541

Rep: Reputation: 47
Is rpm still working?If so just reinstall the old version.Other than that - no idea.I hosed python and glibc once on a gentoo box and was able to get it back up with rpm's.
 
Old 03-12-2003, 12:17 PM   #3
kayhan
Member
 
Registered: Oct 2002
Location: US
Distribution: Red Hat 7.3->9 -> Fedora Core 1
Posts: 33

Original Poster
Rep: Reputation: 15
I get this interesting error:

Code:
% rpm -i --test glibc-2.2.5-34.i686.rpm glibc-common-2.2.5-34.i386.rpm glibc-devel-2.2.5-34.i386.rpm
error: failed dependencies:
	glibc < 2.3.1 conflicts with glibc-common-2.3.1-36
	glibc > 2.2.5 conflicts with glibc-common-2.2.5-34
Seems rather paradoxical to me. If I try to force it:

Code:
% rpm -i --nodeps glibc-2.2.5-34.i686.rpm glibc-common-2.2.5-34.i386.rpm glibc-devel-2.2.5-34.i386.rpm

Many lines that look like
file /usr/share/info/libc.info-9.gz from install of glibc-devel-2.2.5-34 conflicts with file from package glibc-devel-2.3.1-36
 
Old 03-12-2003, 12:19 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
you should be UPGRADING ( -U ) not installing these packages.
 
Old 03-12-2003, 12:39 PM   #5
kayhan
Member
 
Registered: Oct 2002
Location: US
Distribution: Red Hat 7.3->9 -> Fedora Core 1
Posts: 33

Original Poster
Rep: Reputation: 15
I was upgrading for the most part until I messed up at one point.
This is probably what led to my having both glibc-2.3.1 _and_
glibc-2.2.5. Now I can't upgrade because it will complain about
already having a newer version of glibc:
Code:
% rpm -U --nodeps glibc-2.2.5-34.i686.rpm \
glibc-common-2.2.5-34.i386.rpm glibc-devel-2.2.5-34.i386.rpm 
package glibc-2.3.1-36 (which is newer than glibc-2.2.5-34) is \ 
already installedpackage glibc-common-2.3.1-36 (which is newer \
than glibc-common-2.2.5-34) is already installed 
package glibc-devel-2.3.1-36 (which is newer than \
glibc-devel-2.2.5-34) is already installed

Last edited by kayhan; 03-12-2003 at 12:42 PM.
 
Old 03-12-2003, 12:43 PM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
well use --oldpackage (check man page for exact name) or just plain install the new version properly.
 
Old 03-12-2003, 12:43 PM   #7
kayhan
Member
 
Registered: Oct 2002
Location: US
Distribution: Red Hat 7.3->9 -> Fedora Core 1
Posts: 33

Original Poster
Rep: Reputation: 15
I just noticed that I have the i686 version of glibc and i386 of glibc-commoon and glibc-devel. Could this be a problem?
 
Old 03-12-2003, 01:23 PM   #8
kayhan
Member
 
Registered: Oct 2002
Location: US
Distribution: Red Hat 7.3->9 -> Fedora Core 1
Posts: 33

Original Poster
Rep: Reputation: 15
Thank you, everyone! Things are working now. I used
--oldpackage to put the old version on and the _upgraded_ to the
new version of glibc. All the programs that I expected to be running
are running, _and_ I can compile stuff. I appreciate it very much.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
3c59x Hosed in 2.6.10 Techweenie1 Linux - Networking 1 12-28-2004 08:45 PM
Completely hosed my kde user profile jdier Linux - Newbie 3 12-14-2004 10:17 AM
Galeon 1.3.3 completely hosed on Mdk 9.1 infidel Mandriva 2 10-11-2003 12:17 AM
Am I hosed ? lostboy Linux - Hardware 14 03-11-2003 12:45 AM
Hosed once again Cichlid Linux - Hardware 3 11-02-2002 10:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration