LinuxQuestions.org
Review your favorite Linux distribution.
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 02-18-2008, 04:41 AM   #1
chinmayee
LQ Newbie
 
Registered: Jan 2008
Posts: 20

Rep: Reputation: 0
Glibc upgradation


Hi,

I have glibc_2.3 installed on CentOS4 machine..how 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
http://mirror.centos.org/centos/4/ad...ta/repomd.xml: [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

glibc-common-2.3.4-2
glibc-kernheaders-2.4-9.1.87
glibc-devel-2.3.4-2
glibc-2.3.4-2
glibc-headers-2.3.4-2

how do I upgrade the glibc version to 2.4???
Please help me out asap!!
 
Old 02-19-2008, 01:23 PM   #2
raskin
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
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, 03:00 AM   #3
chinmayee
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, 05:32 AM   #4
raskin
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900

Rep: Reputation: 69
Were you doing it as root?
 
Old 02-20-2008, 02:00 PM   #5
lazlow
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, 02:06 PM   #6
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Well the rpm command is
Code:
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 02:08 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
KERNEL upgradation aashishdhabarde Linux - Kernel 2 01-20-2008 07:23 PM
kernel upgradation kris.c Linux - Software 14 05-24-2007 11:43 PM
kernel upgradation coss Linux - Distributions 1 09-15-2006 12:50 PM
Upgradation from Evolution 2.2 to 4.4 neeludhiman Linux - Software 2 03-05-2006 11:11 PM
ALSA Upgradation sarfrazchughtai Linux - Software 1 04-23-2005 09:43 AM

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

All times are GMT -5. The time now is 12:49 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