LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-02-2003, 05:42 PM   #1
Ztyx
Member
 
Registered: Dec 2001
Location: Stockholm, Sweden
Distribution: Ubuntu, Kubuntu and Debian
Posts: 338

Rep: Reputation: 30
Upgrading glibc*.rpm


Is this dangerous? Can I crash my system by doing this? It seems to me that I will have to do this if I'd like to install the latest XFree86 on my Mandrake 9.0 system...

Thanks for any reply,
Regards

Jens
 
Old 03-02-2003, 05:56 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
it's dangerous if you don't do it properly, but it should be fine. mine went jsut super. try a --test run to make sure first though
 
Old 03-04-2003, 04:31 PM   #3
Ztyx
Member
 
Registered: Dec 2001
Location: Stockholm, Sweden
Distribution: Ubuntu, Kubuntu and Debian
Posts: 338

Original Poster
Rep: Reputation: 30
Right, I just upgraded. However now there are some things which are not working properly:
- rpm crashes when I am going to install a program
- mysql doesn't work (and I believe that it crashes because "resolveip" which comes with MySQL doesn't work properly).

I am not sure if I should shut down my computer yet, so I leave it on for tonight

This is what I did:
1. downloaded glibc-2.3.1-10mdk.src.rpm
2. Compiled it.
3. Installed:
glibc-2.3.1-10mdk
glibc-i18ndata-2.3.1-10mdk
glibc-devel-2.3.1-10mdk
glibc_lsb-2.2.90-11mdk
glibc-utils-2.3.1-10mdk
ldconfig-2.3.1-10mdk

I have downloaded the glibc_lsb package and compiled however because of the instability of rpm I can't install it. Is glibc_lsb important?

Any suggestions on at least how to fix RPM so that it works properly?
I'd be really grateful for any tip.

Regards Jens
 
Old 03-04-2003, 04:32 PM   #4
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
To fix rpm do this:

rm -f /var/lib/rpm/__db*
rpm --rebuilddb

What happened is your rpm database became corrupted. Thats how you fix it.
 
Old 03-04-2003, 04:35 PM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
i had this a couple of days ago actually. i thought it was due to a power cut, but i guess it's obviously down to glib as i'd just upgraded mine too now i think of it, and rpm just segfaulted all the time. i know it's nothing to do with databases though, as i rebult it a number of times. you get it pretty easy on mandrake though, as you should still have urpmi working just fine, so download the newest cooker version of rpm 4.0.4-25 i think and then just install the package with urpmi instead of rpm.

if you didn't have urpmi then it wouldn't be too bad though, as you could just use mc or such like to pull out the binaries and install by hand.

Last edited by acid_kewpie; 03-04-2003 at 04:38 PM.
 
  


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
problem installing glibc-2.3.2-4.80.i686, glibc-common-2.3.2-4.80.8.i386.rpm martianpackets Red Hat 8 05-01-2009 03:22 PM
upgrading glibc abk4523 Linux - Software 5 08-10-2005 03:45 PM
upgrading glibc 2.3.2 to glibc 2.3.3 =cop=Jesse Linux - Newbie 3 12-08-2004 11:00 PM
Upgrading glibc-2.2.4 to glibc-2.3.2 on redhat 7.2 Shuja Linux From Scratch 2 07-30-2004 12:34 AM
Upgrading glibc. Tommi Linux - General 4 04-27-2003 07:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

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