LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Upgrading glibc*.rpm (https://www.linuxquestions.org/questions/linux-software-2/upgrading-glibc%2A-rpm-47931/)

Ztyx 03-02-2003 05:42 PM

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

acid_kewpie 03-02-2003 05:56 PM

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

Ztyx 03-04-2003 04:31 PM

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

Crashed_Again 03-04-2003 04:32 PM

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.

acid_kewpie 03-04-2003 04:35 PM

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.


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