LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 07-13-2003, 06:28 PM   #1
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
simple redhat9 rpm install destroys whole OS


Hello guys.

i tried to install a simple game, the rpm failed me on my glibc beeing out of date.

so i used redhat network to download the new packages.

glibc-
and glibc-common-

i tried to install them the usual way, then after a while of seeming to go ok, it failed with a segmentation fault.

i tried rpm -q glibc
but rpm would not execute, net even rpm --help

each time i tried i have a segmentation fault.

so i decided to try re booting.

the system got to the part where it enters runlevel 5, and i got a

init 1: respawning too fast suspended for 5 minutes
init 2: respawning too fast suspended for 5 minutes
init 3: respawning too fast suspended for 5 minutes
init 4: respawning too fast suspended for 5 minutes
init 5: respawning too fast suspended for 5 minutes

then 5 mins later, the same error message.

i had to format and re-install my whole system.

is linux reealy this unstable ????

i need to update my graphics library but scared the same will happen again. what went wrong ?
 
Old 07-13-2003, 09:36 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
A huge number of programs use glibc, including rpm. If the upgrade for glibc messes up then many programs will not run. Since rpm will not run with a broken glibc you cannot use rpm to fix the problem. The best solution is to restore glibc from backup, probably booting from a rescue system.

Upgrading glibc can be very tricky and is not to be undertaken lightly..
 
Old 07-13-2003, 10:19 PM   #3
vapor
Member
 
Registered: Jul 2003
Distribution: SuSe
Posts: 38

Rep: Reputation: 15
i hear alot of problems with rpms and red hat
 
Old 07-13-2003, 10:53 PM   #4
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Original Poster
Rep: Reputation: 47
waaw that sucks A$$ !!!!

how do i make sure the installation does not mess up ?

what do you mean by tricky ?
that red hat update thing tells me to update glibc.
so i let it, and its all automated.

there is no space for user inervention and therefore no user error.

so, what are you meant to do to upgrade glibc ????

well, ive done a complete re-install, but when it happens next time what do i do ?

say the rescue disk mounts my system as /mnt/RescueSystem.

how do i remove that glibc, and replace the old one ???

(what exactly is the glibc package ?
i assume its a graphics library ?)

Last edited by qwijibow; 07-13-2003 at 10:54 PM.
 
Old 07-13-2003, 11:01 PM   #5
contrasutra
LQ Guru
 
Registered: Mar 2003
Location: New Jersey
Distribution: Arch Linux
Posts: 1,445

Rep: Reputation: 47
for all intents and purposes, you cant upgrade your glibc w/o upgrading every other package on your system.

The glibc is the GNU C Library. Most programs that are written in "C" use it.

And since so many programs are written in C (most), they all need to be kept at the same version.
 
Old 07-13-2003, 11:07 PM   #6
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Original Poster
Rep: Reputation: 47
if that is true, then why does red-hat network just put it on there update program knwoing then when it detects its out of date, and downloads it automatically, and installs it, nothing will work, or even boot.

its like a time bomb for noob linux users.

thnkyou redhat

i will reealy enjoy re downloading Java SDK (60 meg) on my 56kbps modem

ive looked round search engins, many people have this problem...
they install it, not knowing what it is, but that red flashing " ! " things says it needs to be updated. so they follow, thinking there keeping there system secure and healthy !

Last edited by qwijibow; 07-13-2003 at 11:09 PM.
 
Old 07-14-2003, 01:11 AM   #7
contrasutra
LQ Guru
 
Registered: Mar 2003
Location: New Jersey
Distribution: Arch Linux
Posts: 1,445

Rep: Reputation: 47
Yeah, its pretty stupid.

When will Redhat adopt APT officially?

Debian users have been able to upgrade their GlibC for years, because of the advanced tracking capabilities of apt-get.


But then again, with Slack, you just format and install the new disc.
 
Old 07-14-2003, 07:09 AM   #8
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Original Poster
Rep: Reputation: 47
so, how do i install this new glibc ???

would i have to create a new install disk ?
 
Old 07-14-2003, 02:18 PM   #9
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
Upgrading glibc on a wing and a prayer

This method of upgrading glibc either works easily or causes you to have to restore your entire system. You take your chances.

The last time I upgraded glibc to version 2.2.5 I did it this way:

I backed up my entire system to a spare HD partition. I have a rescue CD available.

I upgraded the gcc compiler using the command line rpm command with --nodeps so that rpm would not object to the old glibc.

Then I issued the following commands:

rpm -U glibc.version#.rpm
ldconfig
shutdown -r now
 
Old 07-14-2003, 02:46 PM   #10
RottenMutt
Member
 
Registered: Jul 2003
Location: dfw
Distribution: Latest Fedora Release
Posts: 195

Rep: Reputation: 31
humm, i'm running RH9 and did all the updates w/o any issues....

even upgraded the kernel.

don't froget to build new startup floppy after kernel upgrade...
 
  


Reply



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
Mandriva Install Destroys GRUB anubis26 Linux - General 6 11-22-2005 05:16 PM
simple qmail question for RedHat9 server Belize Linux - Software 7 01-25-2004 12:57 AM
disable simple service on RedHat9... pablovschby Linux - Software 4 10-20-2003 02:58 PM
[Redhat9] RPM install problems? Akropolis Linux - Newbie 2 08-11-2003 02:49 PM
Install evolution-1.4.0-2.i386.rpm on RedHat9 dependency issues? justinlq.org Linux - Software 3 06-25-2003 12:57 AM

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

All times are GMT -5. The time now is 08:40 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
Open Source Consulting | Domain Registration