Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

glibc upgrade

0 views
Skip to first unread message

jam...@gmail.com

unread,
Dec 6, 2007, 2:54:43 PM12/6/07
to
I'm using an older install of Red Hat linux to practice various system
maintenance activities, among them upgrading glibc. I realize how
critical this library is for the functionality of programs such as
gzip, grep, and other commonly used utilities.

What I first tried to do was to install the newer version of glibc
(using rpm) while my older version was still installed - no go, I
received error messages about conflicts with the older glibc so and
other files. I then tried to uninstall the older version but received
error messages concerning all the utilities that depended on it.

In looking at the man page for rpm, the command "rpm -e -nodeps
<package-name>" may work, and if it did and I was able to install the
newer version, would the dependent programs "find" that version and
function as usual?

J.O. Aho

unread,
Dec 6, 2007, 3:38:01 PM12/6/07
to
jam...@gmail.com wrote:
> I'm using an older install of Red Hat linux to practice various system
> maintenance activities, among them upgrading glibc.
> In looking at the man page for rpm, the command "rpm -e -nodeps
> <package-name>" may work,

No, that won't work, you will render your installation useless.
Use the upgrade option, I'm pretty sure you had found it if you had read the
man page a bit better.

rpm -Uvh glibc-x.y.c-z.arch.rpm


> and if it did and I was able to install the
> newer version, would the dependent programs "find" that version and
> function as usual?

This depends on the version jump you would do.

--

//Aho

jam...@gmail.com

unread,
Dec 6, 2007, 5:07:00 PM12/6/07
to

> rpm -Uvh glibc-x.y.c-z.arch.rpm

OK, I tried the -U option and I didn't get all the error messages I
got before. What error message I did get was:

"/sbin/ldconfig conflicts with file from ldconfig-1.9.5-8
error: glibc-2.2.2-53.i386.rpm cannot be installed"

When I query my currently installled glibc, it shows that the original
version is still installed. So what's the deal with ldconfig? If I
uninstall it and then install a newer version of it after
(successfully??) installing glibc, maybe this will work.

Feel free to elaborate on ldconfig; I looked at the man page but am
still not sure what it's used for.

0 new messages