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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
10-29-2009, 09:00 AM
|
#1
|
|
Member
Registered: Oct 2008
Location: Spain
Distribution: Ubuntu
Posts: 75
Rep:
|
Is it advisable to update glibc?
Hi Folks,
First of all, my system details:
Centos 5.3 64bit
2.6.18-128.el5
I'm trying to install gcc using yum and it says that I should update glibc as well. As glibc is one of the most important libraries in the system, I'm not very in favor of doing so. The version of gcc that yum tries to install from the CentOS repository is:
gcc-4.1.2-46.el5
The version of glibc is depends on is:
glibc-2.5-42
My current version of glibc is:
glibc-2.5-34
My first question:
Can't yum show me gcc version that is compatible with the libraries that are currently installed in my system? Taking into account that glibc is such an important library.
My second question:
Is it possible to have yum install an earlier version of gcc that is compatible with my glibc?
And 3rd and last question:
In principle upgrading the glibc library should not break anything as I suppose it should be backwards compatible with previous versions?
Thanks in advance.
Last edited by ptemmerman; 10-29-2009 at 11:27 AM.
|
|
|
|
10-29-2009, 10:55 AM
|
#2
|
|
Senior Member
Registered: Jan 2006
Posts: 4,362
Rep: 
|
Ok, Centos ONLY supports the most current dot release of any version. Currently Centos5 is moving from 5.3 to 5.4. As we move forward, new capabilities/features are added. In order make use of those resources newer packages are required. You will note that the major revision did not change, you are and will be using glibc 2.5. You are also behind on the kernel, -164 has been around for a couple of months. Centos/REHL keeps the major revisions of most packages and back patches them to be the equivalent(security and hardware wise) to much more current packages. While there will always be the rare exception, you are safe to update. Keep in mind that one should ALWAYS have backups.
|
|
|
|
10-29-2009, 11:38 AM
|
#3
|
|
Member
Registered: Oct 2008
Location: Spain
Distribution: Ubuntu
Posts: 75
Original Poster
Rep:
|
Quote:
Originally Posted by lazlow
Ok, Centos ONLY supports the most current dot release of any version. Currently Centos5 is moving from 5.3 to 5.4. As we move forward, new capabilities/features are added. In order make use of those resources newer packages are required. You will note that the major revision did not change, you are and will be using glibc 2.5. You are also behind on the kernel, -164 has been around for a couple of months. Centos/REHL keeps the major revisions of most packages and back patches them to be the equivalent(security and hardware wise) to much more current packages. While there will always be the rare exception, you are safe to update. Keep in mind that one should ALWAYS have backups.
|
Thanks for your response Lazlow.
If I understand correctly, what you are saying is that new features have been introduced in the upcoming 5.4 version, and therefor new packages are required.
What I don't understand is why the new packages for the 5.4 branch are being added to the 5.3 repository? That's more or less how Arch Linux works, continuously releasing new packages in the same repository.
|
|
|
|
10-29-2009, 11:52 AM
|
#4
|
|
Senior Member
Registered: Jan 2006
Posts: 4,362
Rep: 
|
Ok, BECAUSE Centos only supports the most current dot release the default repo location is set to version 5 and not 5.X. There will be no further updates for any of earlier version 5 series(ie support for 5.0,5.1,5.2,5.3 has been dropped). BUT RHEL/Centos is very careful not to change the backbone of any one version in order to maintain maximum compatibility(ie all Centos5.X have the same backbone). Since your initially installed 5.3 has its repo pointing at 5 (not 5.3) it is attempting to bring itself up to 5.4 in order to maintain support. This is exactly how it is supposed to work. When 5.5 is released it will do the exact same thing and update itself from 5.4 to 5.5. Keep in mind that RHEL/Centos main goal is to keep a stable system. This means that this update process is very thoroughly tested.
|
|
|
|
10-29-2009, 12:04 PM
|
#5
|
|
Member
Registered: Oct 2008
Location: Spain
Distribution: Ubuntu
Posts: 75
Original Poster
Rep:
|
Then I misunderstood what you meant by the latest dot release.
I didn't know that there was no specific repository for the 5.3 version. Well, for me it's fine as long as everything has been thoroughly tested, although it's a pity that I'm forced to upgraded to the latest "stable" version, which doesn't necessarily mean the latest "secure" version.
Thanks for the explanation.
|
|
|
|
10-29-2009, 12:34 PM
|
#6
|
|
Senior Member
Registered: Jan 2006
Posts: 4,362
Rep: 
|
First there is a specific repo for 5.3(and all the 5.Xs). However it will not receive any further updates of any kind. If you look at the structure of the Centos' repo it may help:
The 5 (not 5.0) is the default setup in your repo call file. On Centos' end the 5 is just a pointer, it points to the most current release(5.4 now).
In fact it is the most secure version, as it has all the most recent security patches applied. Remember RHEL(which Centos is a clone) tests virtually all it's new stuff with Fedora long before it ever reaches RHEL.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 01:37 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|