Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 02-18-2008, 05:41 AM   #1
LQ Newbie
Registered: Jan 2008
Posts: 20

Rep: Reputation: 0
Glibc upgradation


I have glibc_2.3 installed on CentOS4 do I upgrade it to 2.4??

I have downloaded the glibc_2.4 rpm package and tried installing it using YUM..but getting the following error..

Setting up Install Process
Setting up Repos [Errno 4] IOError: <urlopen error (110, 'Connection timed out')>
Trying other mirror.
Cannot open/read repomd.xml file for repository: addons
failure: repodata/repomd.xml from addons: [Errno 256] No more mirrors to try.

and doing this rpm -qa | grep glibc

I am getting the output


how do I upgrade the glibc version to 2.4???
Please help me out asap!!
Old 02-19-2008, 02:23 PM   #2
Senior Member
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (
Posts: 1,900

Rep: Reputation: 69
Well, I am not sure if yum can install an RPM not accessible from the mirrors of its list.. Maybe ‘‘rpm -ivh glibc*.rpm’’ would work. Or probably you will need -Uvh flags. Maybe you should read yum manual to find how to add some mirrors, and install glibc from there (so when it will turn out that some older programs conflict with new glibc, you will have the opportunity to upgrade everything.
Old 02-20-2008, 04:00 AM   #3
LQ Newbie
Registered: Jan 2008
Posts: 20

Original Poster
Rep: Reputation: 0
I also tried this..

rpm -ivh glibc-64bit-2.4-31.43.4.ppc.rpm
warning: glibc-64bit-2.4-31.43.4.ppc.rpm: V3 DSA signature: NOKEY, key ID 9c800aca
error: can't create transaction lock

bt got the error..
Old 02-20-2008, 06:32 AM   #4
Senior Member
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (
Posts: 1,900

Rep: Reputation: 69
Were you doing it as root?
Old 02-20-2008, 03:00 PM   #5
Senior Member
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
You do realize that the rpm you are trying to install is for ppc (mac)?

Yum will install local rpms. See "man yum" under "localinstall".
Old 02-20-2008, 03:06 PM   #6
LQ Guru
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Well the rpm command is
rpm -Uvh package.rpm
given that the package is in the directory where you run that command (otherwise provide full path to the rpm file). The uppercase U should upgrade the package (or install if it isn't installed, if I'm not mistaken). Yum is for installing packages from reposities, if you do it locally, use rpm instead. If you have several files, you can use wildcards to install them all. Or to install graphically, just double-click on the rpm file and you should be prompted for a password, after which the package is installed if possible.

Upgrading glibc isn't like upgrading Totem, it's more ground-level thing - not sure how rpm handles it, but if the procedure isn't straightforward, it should warn you

EDIT: oh and do get the correct version of that package first. There are a lot of operating systems/distributions that use rpm package management, and they are not necessarily "compatible" with each other - so even if the package did install, it doesn't mean it would work without problems, or at all, depending on how much the OS differs from your OS that the package was meant for. So when downloading rpm packages manually, make sure they are meant for CentOS - and the exact version you're using, if possible, to avoid problems. Different distribution version packages should install, but it's not guaranteed they work without problems.

Last edited by b0uncer; 02-20-2008 at 03:08 PM.


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
KERNEL upgradation aashishdhabarde Linux - Kernel 2 01-20-2008 08:23 PM
kernel upgradation kris.c Linux - Software 14 05-25-2007 12:43 AM
kernel upgradation coss Linux - Distributions 1 09-15-2006 01:50 PM
Upgradation from Evolution 2.2 to 4.4 neeludhiman Linux - Software 2 03-06-2006 12:11 AM
ALSA Upgradation sarfrazchughtai Linux - Software 1 04-23-2005 10:43 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:45 AM.

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