Hi there folks. I've been watching the never ending "CentOS 5.4 OMG WHEN?" threads for the last few days / weeks and had a question. I'm pretty new to anything rpm based. I used Red Hat 9 back in college, but that's about it. Currently, I do have a few Cent OS servers and we're slowly migrating from Debian to CentOS for various reasons. Since 5.3 - 5.4 is going to be my first major upgrade, I had a simple question. WHEN it's actually released, and things are going normal, should I just continue doing "yum upgrade" as always and will eventually be on 5.4?
I seem to recall something with Fedora where you had to install some kind of release package, etc (again.. this was back in 2003 - 2004 time) and was just curious. Simple google searches tell me "yes! just yum upgrade" but I wanted input from you guys, if you don't mind.
Thanks, Jonathan
Jonathan Moore wrote:
Hi there folks. I've been watching the never ending "CentOS 5.4 OMG WHEN?" threads for the last few days / weeks and had a question. I'm pretty new to anything rpm based. I used Red Hat 9 back in college, but that's about it. Currently, I do have a few Cent OS servers and we're slowly migrating from Debian to CentOS for various reasons. Since 5.3 - 5.4 is going to be my first major upgrade, I had a simple question. WHEN it's actually released, and things are going normal, should I just continue doing "yum upgrade" as always and will eventually be on 5.4?
I seem to recall something with Fedora where you had to install some kind of release package, etc (again.. this was back in 2003 - 2004 time) and was just curious. Simple google searches tell me "yes! just yum upgrade" but I wanted input from you guys, if you don't mind.
Thanks, Jonathan _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
I was just looking on the CentOS 5.4 wiki, which is still flagged as DRAFT, and it gives a few steps to go through for an upgrade. Check it out here.
http://wiki.centos.org/Manuals/ReleaseNotes/CentOS5.4/#head-29511ff6659f6463...
-Brian
OK, I've never done an upgrade before either, so I go to this URL :
http://wiki.centos.org/Manuals/ReleaseNotes/CentOS5.4/#head-29511ff6659f6463...
And I execute these commands
yum clean all yum update glibc* yum update yum* rpm* python* yum clean all yum update shutdown -r now
And I come back up and : [amckay@alan ~]$ cat /etc/redhat-release CentOS release 5.3 (Final)
Of course, the URL does not say anything about those being the commands required to get to 5.4 from a previous release.
I've never done this before, obviously ...
Alan McKay wrote:
OK, I've never done an upgrade before either, so I go to this URL :
http://wiki.centos.org/Manuals/ReleaseNotes/CentOS5.4/#head-29511ff6659f6463...
And I execute these commands
yum clean all yum update glibc* yum update yum* rpm* python* yum clean all yum update shutdown -r now
And I come back up and : [amckay@alan ~]$ cat /etc/redhat-release CentOS release 5.3 (Final)
Of course, the URL does not say anything about those being the commands required to get to 5.4 from a previous release.
I've never done this before, obviously ...
it will work when your mirror has 5.4
it will work when your mirror has 5.4
ahhh, OK. What if my mirror is the same box? Will that work too? I cannot see any reason from here why it would not.
I keep a local mirror on my desktop (the box in question) and am just bringing down 5.4 now, with rsync
thanks, -Alan
Alan McKay wrote:
it will work when your mirror has 5.4
ahhh, OK. What if my mirror is the same box? Will that work too? I cannot see any reason from here why it would not.
I keep a local mirror on my desktop (the box in question) and am just bringing down 5.4 now, with rsync
sure, that will work.
On Wednesday 21 October 2009 16:31:13 Alan McKay wrote:
it will work when your mirror has 5.4
ahhh, OK. What if my mirror is the same box? Will that work too? I cannot see any reason from here why it would not.
I keep a local mirror on my desktop (the box in question) and am just bringing down 5.4 now, with rsync
thanks, -Alan
When the rsync is finished check the contents of the centos/5 directory. There should be links there to the point release in use.
In my case although i've got the 5.4 rpms rsynced from my local mirroor the links in that directory still link to 5,3
e.g.
[root@thomond centos]# cd 5 [root@thomond 5]# ls -al total 44 drwxrwxr-x 2 1000 1000 4096 Apr 1 2009 . drwxr-xr-x 11 1000 1000 4096 Sep 28 23:29 .. lrwxrwxrwx 1 1000 1000 14 Oct 21 11:04 addons -> ../5.3/addons/
That means that the default Centos-Base.repo file in /etc/yum.repos.d will still use 5.3.
When 5.4 is finally released and all the mirrors have synced then the links will link to 5.4
Hope this helps,
Tony
it will work when your mirror has 5.4
I have the same problem. Are many mirrors not updated yet?
On Wed, Oct 21, 2009 at 5:55 PM, Yves Bellefeuille yan@storm.ca wrote:
it will work when your mirror has 5.4
I have the same problem. Are many mirrors not updated yet?
Many of them should be current since the official release just occurred. I've already seen 25 Mbps jump in traffic on the Clarkson mirror since release almost an hour ago.
-- Mathew S. McCarrell Clarkson University '10
mccarrms@gmail.com mccarrms@clarkson.edu 1-518-314-9214
On Wednesday 21 October 2009 18:01, Mathew S. McCarrell wrote:
On Wed, Oct 21, 2009 at 5:55 PM, Yves Bellefeuille yan@storm.ca
wrote:
I have the same problem. Are many mirrors not updated yet?
Many of them should be current since the official release just occurred. I've already seen 25 Mbps jump in traffic on the Clarkson mirror since release almost an hour ago.
It seems that my list of mirrors isn't being updated. The file /var/cache/yum/updates/mirrorlist.txt has this:
http://www.muug.mb.ca/pub/centos/5.3/updates/i386/ http://centos.arcticnetwork.ca/5.3/updates/i386/
(etc.)
I did do "yum clean all". How can I get the file to indicate http://www.muug.mb.ca/pub/centos/5.4/updates/i386/, etc.?
On Wed, Oct 21, 2009 at 6:20 PM, Yves Bellefeuille yan@storm.ca wrote:
On Wednesday 21 October 2009 18:01, Mathew S. McCarrell wrote:
On Wed, Oct 21, 2009 at 5:55 PM, Yves Bellefeuille yan@storm.ca
wrote:
I have the same problem. Are many mirrors not updated yet?
Many of them should be current since the official release just occurred. I've already seen 25 Mbps jump in traffic on the Clarkson mirror since release almost an hour ago.
It seems that my list of mirrors isn't being updated. The file /var/cache/yum/updates/mirrorlist.txt has this:
http://www.muug.mb.ca/pub/centos/5.3/updates/i386/ http://centos.arcticnetwork.ca/5.3/updates/i386/
(etc.)
I did do "yum clean all". How can I get the file to indicate http://www.muug.mb.ca/pub/centos/5.4/updates/i386/, etc.?
That is a bit strange. I would have expected the links to be http://server/centos/*5*/blahblah instead of having 5.3. Is your /etc/yum.repos.d/CentOS-Base.repo still the original version or has someone customized it to look at 5.3 specifically?
Matt
On Wednesday 21 October 2009 21:16, Mathew S. McCarrell wrote:
That is a bit strange. I would have expected the links to be http://server/centos/*5*/blahblah instead of having 5.3. Is your /etc/yum.repos.d/CentOS-Base.repo still the original version or has someone customized it to look at 5.3 specifically?
/etc/yum.repos.d/CentOS-Base.repo has this:
#released updates [updates] name=CentOS-$releasever - Updates mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&rep... #baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/ gpgcheck=1 enabled=1 priority=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
But anyway /var/cache/yum/updates/mirrorlist.txt finally got updated and the problem has been solved. I'm still wondering why I couldn't update the file in the first place, though.
/etc/yum.repos.d/CentOS-Base.repo has this:
#released updates [updates] name=CentOS-$releasever - Updates mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&rep... #baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/ gpgcheck=1 enabled=1 priority=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
You can update this yourself to hardcode the 5.4 version of your mirror, e.g someone else in this thread said this was their mirror :
http://www.muug.mb.ca/pub/centos/5.3/updates/i386/
and you can change the 5.3 to 5.4 to see that 5.4 is there already, but maybe the "5" symlink has not yet been changed to point to it
http://www.muug.mb.ca/pub/centos/5.4/updates/i386/
So update the repo file to something like this :
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&rep... baseurl=http://www.muug.mb.ca/pub/centos/5.4/updates/i386/
On Wed, Oct 21, 2009 at 9:29 PM, Alan McKay alan.mckay@gmail.com wrote:
/etc/yum.repos.d/CentOS-Base.repo has this:
#released updates [updates] name=CentOS-$releasever - Updates mirrorlist=
http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&rep...
#baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/ gpgcheck=1 enabled=1 priority=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
You can update this yourself to hardcode the 5.4 version of your mirror, e.g someone else in this thread said this was their mirror :
http://www.muug.mb.ca/pub/centos/5.3/updates/i386/
and you can change the 5.3 to 5.4 to see that 5.4 is there already, but maybe the "5" symlink has not yet been changed to point to it
http://www.muug.mb.ca/pub/centos/5.4/updates/i386/
So update the repo file to something like this :
#mirrorlist=
http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&rep...
Updating your repo file like this is a very bad idea. You would be better off waiting for the mirrorlist.txt file to update instead of causing yourself more headaches in the long run.
Matt
-- Mathew S. McCarrell Clarkson University '10
mccarrms@gmail.com mccarrms@clarkson.edu 1-518-314-9214
On Wed, Oct 21, 2009 at 9:31 PM, Mathew S. McCarrell mccarrms@gmail.com wrote:
Updating your repo file like this is a very bad idea. You would be better off waiting for the mirrorlist.txt file to update instead of causing yourself more headaches in the long run.
In my case I use all my own internal mirrors so it's the same either way ;-)
On Wed, Oct 21, 2009 at 9:42 PM, Alan McKay alan.mckay@gmail.com wrote:
On Wed, Oct 21, 2009 at 9:31 PM, Mathew S. McCarrell mccarrms@gmail.com wrote:
Updating your repo file like this is a very bad idea. You would be
better
off waiting for the mirrorlist.txt file to update instead of causing yourself more headaches in the long run.
In my case I use all my own internal mirrors so it's the same either way ;-)
Indeed, I use the internal mirror that I run as well but I leave things set as http://mirror/centos/$releasever/updates/$basearch/ instead of hard coding it to 5.4 and the architecture.
On Wed, Oct 21, 2009 at 9:23 PM, Yves Bellefeuille yan@storm.ca wrote:
On Wednesday 21 October 2009 21:16, Mathew S. McCarrell wrote:
That is a bit strange. I would have expected the links to be http://server/centos/*5*/blahblah instead of having 5.3. Is your /etc/yum.repos.d/CentOS-Base.repo still the original version or has someone customized it to look at 5.3 specifically?
/etc/yum.repos.d/CentOS-Base.repo has this:
#released updates [updates] name=CentOS-$releasever - Updates mirrorlist= http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&rep... #baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/ gpgcheck=1 enabled=1 priority=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates%0A#baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/%0Agpgcheck=1%0Aenabled=1%0Apriority=1%0Agpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
But anyway /var/cache/yum/updates/mirrorlist.txt finally got updated and the problem has been solved. I'm still wondering why I couldn't update the file in the first place, though.
Glad to hear it resolved itself automatically. It probably just has something to do with you trying to update so close to the official release time.
Matt
-- Mathew S. McCarrell Clarkson University '10
mccarrms@gmail.com mccarrms@clarkson.edu 1-518-314-9214
Look ma, no hands! http://www.muug.mb.ca/pub/centos/5.4/updates/i386/
Am Mittwoch, den 21.10.2009, 23:55 +0200 schrieb Yves Bellefeuille:
it will work when your mirror has 5.4
I have the same problem. Are many mirrors not updated yet?
Was there an official CentOS 5.4 announcemnet already?
financial.com AG
Munich head office/Hauptsitz München: Maria-Probst-Str. 19 | 80939 München | Germany Frankfurt branch office/Niederlassung Frankfurt: Messeturm | Friedrich-Ebert-Anlage 49 | 60327 Frankfurt | Germany Management board/Vorstand: Dr. Steffen Boehnert | Dr. Alexis Eisenhofer | Dr. Yann Samson | Matthias Wiederwach Supervisory board/Aufsichtsrat: Dr. Dr. Ernst zur Linden (chairman/Vorsitzender) Register court/Handelsregister: Munich – HRB 128 972 | Sales tax ID number/St.Nr.: DE205 370 553
Christoph Maser schrieb:
Am Mittwoch, den 21.10.2009, 23:55 +0200 schrieb Yves Bellefeuille:
it will work when your mirror has 5.4
I have the same problem. Are many mirrors not updated yet?
Was there an official CentOS 5.4 announcemnet already?
http://lists.centos.org/pipermail/centos-announce/2009-October/016195.html
/götz
Götz Reinicke - IT-Koordinator wrote:
Christoph Maser schrieb:
Am Mittwoch, den 21.10.2009, 23:55 +0200 schrieb Yves Bellefeuille:
it will work when your mirror has 5.4
I have the same problem. Are many mirrors not updated yet?
Was there an official CentOS 5.4 announcemnet already?
http://lists.centos.org/pipermail/centos-announce/2009-October/016195.html
But you have to be subscribed separately to the announce list. It is also posted on distrowatch: http://distrowatch.com/?newsid=05725
At Wed, 21 Oct 2009 08:25:53 -0500 CentOS mailing list centos@centos.org wrote:
Hi there folks. I've been watching the never ending "CentOS 5.4 OMG WHEN?" threads for the last few days / weeks and had a question. I'm pretty new to anything rpm based. I used Red Hat 9 back in college, but that's about it. Currently, I do have a few Cent OS servers and we're slowly migrating from Debian to CentOS for various reasons. Since 5.3 - 5.4 is going to be my first major upgrade, I had a simple question. WHEN it's actually released, and things are going normal, should I just continue doing "yum upgrade" as always and will eventually be on 5.4?
Yes. Generally, doing yum update or yum upgrade will pick up new point releases as they become available. *Sometimes* you need to do something special (the 5.2 to 5.3 update required an upgrade of glibc on its own before the main update -- this was in the update announcement).
I seem to recall something with Fedora where you had to install some kind of release package, etc (again.. this was back in 2003 - 2004 time) and was just curious. Simple google searches tell me "yes! just yum upgrade" but I wanted input from you guys, if you don't mind.
Fedora does not have 'point releases'. One does a 'fresh' re-install every 6 months to a year (or something like that). CentOS (like RHEL itself) has long term support for the major version number (like 7 years), with regular updates (security and bug fixes) and point upgrades (like every 6 months or so).
Thanks, Jonathan _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Fedora does not have 'point releases'.
Right...
One does a 'fresh' re-install every 6 months to a year (or something like that).
Well, not quite. Although it being what it is and sometimes breaking, you can yum upgrade it[1], but the suggested method involves using anaconda to upgrade it, which isn't a "fresh" install unless you make it so. You can still retain settings, it has worked for me in the past on some occasions:)
[1] You also need to edit your repos.
Thanks for the input folks. I think I see now that it's going to be a pretty easy going process, and I don't need to screw around with crazy update processes. Very good to know.
-jonathan
On Wed, Oct 21, 2009 at 11:59 AM, Jonathan Moore supermegatron@gmail.com wrote:
Thanks for the input folks. I think I see now that it's going to be a pretty easy going process, and I don't need to screw around with crazy update processes. Very good to know.
The documentation here should apply to some extent:
http://www.redhat.com/docs/manuals/enterprise/#RHEL5
-Giovanni
On Wednesday 21 October 2009 14:46:05 Robert Heller wrote:
Yes. Generally, doing yum update or yum upgrade will pick up new point releases as they become available. *Sometimes* you need to do something special (the 5.2 to 5.3 update required an upgrade of glibc on its own before the main update -- this was in the update announcement).
Was that update-glibc-first thing really necessary? I did see the update announcement, but long after I actually issued a simple "yum update" on my server, and everything went smoothly. I did not see any problem.
So was updating glibc separately just a precaution measure, or was I just lucky not to run into issues?
P.S. Sorry to jump in the thread...
Best, :-) Marko
Hi there folks. I've been watching the never ending "CentOS 5.4 OMG WHEN?" threads for the last few days / weeks and had a question. I'm pretty new to anything rpm based. I used Red Hat 9 back in college, but that's about it. Currently, I do have a few Cent OS servers and we're slowly migrating from Debian to CentOS for various reasons.
Just curious, why the move from Debian to CentOS?
Matt
Since 5.3 - 5.4 is going to be my first major upgrade, I had a simple question. WHEN it's actually released, and things are going normal, should I just continue doing "yum upgrade" as always and will eventually be on 5.4?
I seem to recall something with Fedora where you had to install some kind of release package, etc (again.. this was back in 2003 - 2004 time) and was just curious. Simple google searches tell me "yes! just yum upgrade" but I wanted input from you guys, if you don't mind.
On Wed, Oct 21, 2009 at 10:18 AM, Matt lm7812@gmail.com wrote:
Just curious, why the move from Debian to CentOS?
There is very little in the way of technical reasoning for it. Mostly it was a call by those in charge.
We still have several servers running Debian doing various network related tasks. DNS and mail being the two biggest ones. Most of the CentOS stuff is either directed towards the user (file servers).
-jonathan