Solved

CentOS 6 - Update GLIBC (libc.so.6)

Posted on 2012-03-24
13
4,279 Views
Last Modified: 2016-06-25
I'm trying to update glibc from 2.12 to 2.14.

I've tried this:
yum install ftp://rpmfind.net/linux/fedora/linux/updates/15/x86_64/glibc-2.14.1-6.i686.rpm
and
yum update ftp://rpmfind.net/linux/fedora/linux/updates/15/x86_64/glibc-2.14.1-6.i686.rpm

But either way it says:
Examining /var/tmp/yum-root-wKTjts/glibc-2.14.1-6.i686.rpm: glibc-2.14.1-6.i686
Marking /var/tmp/yum-root-wKTjts/glibc-2.14.1-6.i686.rpm as an update to glibc-2.12-1.47.el6_2.9.x86_64
No Packages marked for Update

And then the version is still 2.12.

Any ideas!?
0
Comment
Question by:ADFB
  • 4
  • 3
  • 3
  • +1
13 Comments
 
LVL 6

Expert Comment

by:torakeshb
Comment Utility
Try

yum -Uvh --nosignature ftp://rpmfind.net/linux/fedora/linux/updates/15/x86_64/glibc-2.14.1-6.i686.rpm..

Once you run this if there is any error, please copy paste the error completely
0
 

Author Comment

by:ADFB
Comment Utility
I get this yum error:

yum -Uvh --nosignature ftp://rpmfind.net/linux/fedora/linux/updates/15/x86_64/glibc-2.14.1-6.i686.rpm

Command line error: no such option: -U
0
 
LVL 6

Expert Comment

by:torakeshb
Comment Utility
oops sorry typo

rpm -Uvh --nosignature ftp://rpmfind.net/linux/fedora/linux/updates/15/x86_64/glibc-2.14.1-6.i686.rpm

Please copy paste the output if unsuccessful, I think there are some dependencies that needs to be addressed.
0
 

Author Comment

by:ADFB
Comment Utility
error: Failed dependencies:
        glibc-common = 2.14.1-6 is needed by glibc-2.14.1-6.i686
        libfreebl3.so is needed by glibc-2.14.1-6.i686
        libfreebl3.so(NSSRAWHASH_3.12.3) is needed by glibc-2.14.1-6.i686
0
 

Author Comment

by:ADFB
Comment Utility
Should I not also be using x86_64, because it's a 64-bit system?
0
Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

 
LVL 6

Expert Comment

by:torakeshb
Comment Utility
Download the required glibc-common and glibc from the site and issue the below command. It should solve your issue.

yum localinstall --disablerepo=* glibc-common-glibc-2.14.rpm glibc-2.14.rpm

Yes you need to use  x86_64 instead of i686
0
 
LVL 6

Expert Comment

by:torakeshb
Comment Utility
Download and save glibc-common-2.14.1-6.x86_64.rpm and glibc-2.14.1-6.x86_64.rpm to localdrive.

run the command

yum localinstall --disablerepo=* glibc-common-2.14.1-6.x86_64.rpm glibc-2.14.1-6.x86_64.rpm
0
 
LVL 44

Accepted Solution

by:
Darr247 earned 250 total points
Comment Utility
Using the versions for fedora 15 from rpmfind instead of from the CentOS 6 repos is probably going to break your server in short order.

The CentOS 6.x kernels are from between fedora 12 and 14 timeline... that's why it still uses GNOME 2.
0
 
LVL 8

Assisted Solution

by:eager
eager earned 250 total points
Comment Utility
Why do you want to update glibc on CentOS 6?

Updating glibc is generally problematic.  There are kernel and library dependencies.  It's easy to have your system become unusable.  As @Darr247 mentions, if you pick and chose RPMs from other distributions, you are likely to trash your system.

You asked for ideas:
  1)  Don't replace glibc.  If you do then
  2)  Make a full image backup of your system before trying this
  3)  Don't use yum
  4)  Install ALL related dependencies in one call to "rpm"
0
 
LVL 44

Expert Comment

by:Darr247
Comment Utility
If you're doing this to run the latest versions of Chrome, you should use Richard Lloyd's script from
http://chrome.richardlloyd.org.uk

His script installs the most-recent version of glibc (that doesn't crash C6) segregated in its own folder so only Chrome uses it, which should keep your server from getting corrupted by incorrect versions of supported libraries.
0
 
LVL 44

Expert Comment

by:Darr247
Comment Utility
This info is still relevant now and will remain relevant for the support-life of CentOS 6 (sometime in 2020).

I suggest a split with these 3 posts:
https:#a37760815
https:#a37760884
https:#a41669967
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Article by: kevp75
Hey folks, 'bout time for me to come around with a little tip. Thanks to IIS 7.5 Extensions and Microsoft (well... really Windows 8, and IIS 8 I guess...), we can now prime our Application Pools, when IIS starts. Now, though it would be nice t…
The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. http://www.linuxmint.com. Once you open the link you will see …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now