FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS

 
 
LinkBack Thread Tools
 
Old 11-28-2007, 07:42 PM
Robinson Tiemuqinke
 
Default Centos 5.1 distro: How to upgrade 5.0 to 5.1 with yum??

Hi,

Redhat announced RHEL 5.1 on Nov 07, so hopefully
CentOS 5.1 will be ready shortly. But I get kind of
nervous of the arrival of 5.1.

My problem is: I have hundreds Centos 5.0 boxes just
finished installation and I will continue to install
and upgrade hundreds more in next few months. With the
arrival of Centos 5.1, I don't like to reinstall them
anymore but continuous upgrade instead -- if this is
possible?

Currently I download the Centos 5.0 upgrade packages
from mirror sites on Internet
(.../centos/5/updates/{SRPMS,i386,x86_64}/...), with
the arrival of Centos 5.1, are the existing Centos 5.0
update packages will be removed in honor of Centos 5.1
updates? or it will stay? And how about the Centos
5.1's default packages in distro?

Give an example here:

2.6.18-8.1.15 version kernel is the most recently
updated kernel for Centos 5.0 distro, if the Centos
5.1 distro comes with 2.6.18-8.1.10000 kernel and in
the first few weeks there are no kernel updates for
5.1, then how can I upgrade my kernel to
2.6.18-8.1.10000 naturally -- will the
2.6.18-8.1.10000 shows in the same update sources
directories(.../centos/5/updates/{SRPMS,i386,x86_64/...)?

A similar question is: are the update diretories
contains only updates for 5.1 distro, or both 5.0 and
5.1?

Any clarifications are greatly appreciated.

--Robinson


__________________________________________________ __________________________________
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 11-28-2007, 08:36 PM
Jancio Wodnik
 
Default Centos 5.1 distro: How to upgrade 5.0 to 5.1 with yum??

Robinson Tiemuqinke pisze:

Hi,

Redhat announced RHEL 5.1 on Nov 07, so hopefully
CentOS 5.1 will be ready shortly. But I get kind of
nervous of the arrival of 5.1.

My problem is: I have hundreds Centos 5.0 boxes just
finished installation and I will continue to install
and upgrade hundreds more in next few months. With the
arrival of Centos 5.1, I don't like to reinstall them
anymore but continuous upgrade instead -- if this is
possible?


Currently I download the Centos 5.0 upgrade packages
from mirror sites on Internet
(.../centos/5/updates/{SRPMS,i386,x86_64}/...), with
the arrival of Centos 5.1, are the existing Centos 5.0
update packages will be removed in honor of Centos 5.1
updates? or it will stay? And how about the Centos
5.1's default packages in distro?


Give an example here:

2.6.18-8.1.15 version kernel is the most recently
updated kernel for Centos 5.0 distro, if the Centos
5.1 distro comes with 2.6.18-8.1.10000 kernel and in
the first few weeks there are no kernel updates for
5.1, then how can I upgrade my kernel to
2.6.18-8.1.10000 naturally -- will the
2.6.18-8.1.10000 shows in the same update sources
directories(.../centos/5/updates/{SRPMS,i386,x86_64/...)?

A similar question is: are the update diretories
contains only updates for 5.1 distro, or both 5.0 and
5.1?

Any clarifications are greatly appreciated.

It's simply. All things from 5.0 to 5.1 will be done automatically via
yum (as standard update) or in rare situation can be possibly depedency
problem (when mixing different repo ?).


So don't worry. if you are really affraid - update only one box and test
... test ... then update the rest.


I must say. In Centos 4 world all updates from 1 to 2 to 3 ... to 5 were
go in smooth way.


Regards,

Irens


--Robinson


__________________________________________________ __________________________________
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos





_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 11-28-2007, 08:37 PM
Garrick Staples
 
Default Centos 5.1 distro: How to upgrade 5.0 to 5.1 with yum??

On Wed, Nov 28, 2007 at 12:42:09PM -0800, Robinson Tiemuqinke alleged:
> Hi,
>
> Redhat announced RHEL 5.1 on Nov 07, so hopefully
> CentOS 5.1 will be ready shortly. But I get kind of
> nervous of the arrival of 5.1.
>
> My problem is: I have hundreds Centos 5.0 boxes just
> finished installation and I will continue to install
> and upgrade hundreds more in next few months. With the
> arrival of Centos 5.1, I don't like to reinstall them
> anymore but continuous upgrade instead -- if this is
> possible?

Don't think of 5.0 and 5.1 as different distros. They are the same distro.

Think of it as a bunch of non-critical updates that were withheld from the
regular update cycle, tested as a set, and released all at once with a new
installer image. It is just an update, analogous to a Windows service pack.

Think of RHEL5 as the distro, evolving through time, and 5.1 as a well-tested
snapshot of RHEL5 at a particular point in time.

A regular 'yum update' will bring in all of the new updates. There is no need
to reinstall the OS.

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 11-28-2007, 09:25 PM
"William L. Maltby"
 
Default Centos 5.1 distro: How to upgrade 5.0 to 5.1 with yum??

On Wed, 2007-11-28 at 22:36 +0100, Jancio Wodnik wrote:
> Robinson Tiemuqinke pisze:
> ><snip>

> It's simply. All things from 5.0 to 5.1 will be done automatically via
> yum (as standard update) or in rare situation can be possibly depedency
> problem (when mixing different repo ?).
>
> So don't worry. if you are really affraid - update only one box and test
> ... test ... then update the rest.
>
> I must say. In Centos 4 world all updates from 1 to 2 to 3 ... to 5 were
> go in smooth way.

Umm... almost. IIRC, there were a couple issues (although not difficult
to solve) when a yum update was involved. And something else too, but I
don't recall for sure. Seamonkey?

Anyway, other than a couple minor things like that, plain old yum update
seems to be reliable and you have very little to watch for.

To the OP: with 500+ machines(?), would you benefit from having a local
repo that you could manage to be sure that all your nodes "sing from the
same sheet of music"? The lists have advice on this if you need it.

Search the lists and you'll find the info.

>
> Regards,
>
> Irens
>
> > --Robinson
> ><snip sig stuff>

--
Bill

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 11-28-2007, 09:45 PM
Les Mikesell
 
Default Centos 5.1 distro: How to upgrade 5.0 to 5.1 with yum??

William L. Maltby wrote:


To the OP: with 500+ machines(?), would you benefit from having a local
repo that you could manage to be sure that all your nodes "sing from the
same sheet of music"? The lists have advice on this if you need it.


With Centos 3.x you could easily pull things through a caching proxy by
setting http_proxy in the environment from the command like:

http_proxy=myproxy.mydomain.com yum update.
and any number of machines at a location would only have to download a
needed file once (assuming your proxy is configured to cache large
files). However, newer releases use a mirrorlist approach that makes
each machine pick a different url, defeating the caching. I thought I
saw something about 5.x having a way to restore the old way without
being tied to a single repository, but I've forgotten it now.


--
Les Mikesell
lesmikesell@gmail.com

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 11-28-2007, 10:29 PM
Robinson Tiemuqinke
 
Default Centos 5.1 distro: How to upgrade 5.0 to 5.1 with yum??

--- Jancio Wodnik <jancio_wodnik@wp.pl> wrote:

> Robinson Tiemuqinke pisze:
> >
> > Currently I download the Centos 5.0 upgrade
> packages
> > from mirror sites on Internet
> > (.../centos/5/updates/{SRPMS,i386,x86_64}/...),
> with
> > the arrival of Centos 5.1, are the existing Centos
> 5.0
> > update packages will be removed in honor of Centos
> 5.1
> > updates? or it will stay? And how about the Centos
> > 5.1's default packages in distro?
> >
> > Give an example here:
> >
> > 2.6.18-8.1.15 version kernel is the most recently
> > updated kernel for Centos 5.0 distro, if the
> Centos
> > 5.1 distro comes with 2.6.18-8.1.10000 kernel and
> in
> > the first few weeks there are no kernel updates
> for
> > 5.1, then how can I upgrade my kernel to
> > 2.6.18-8.1.10000 naturally -- will the
> > 2.6.18-8.1.10000 shows in the same update sources
> >
>
directories(.../centos/5/updates/{SRPMS,i386,x86_64/...)?
> >
> > A similar question is: are the update diretories
> > contains only updates for 5.1 distro, or both 5.0
> and
> > 5.1?
> >
> > Any clarifications are greatly appreciated.
> >
> It's simply. All things from 5.0 to 5.1 will be done
> automatically via
> yum (as standard update) or in rare situation can be
> possibly depedency
> problem (when mixing different repo ?).
>
> So don't worry. if you are really affraid - update
> only one box and test
> ... test ... then update the rest.
>
> I must say. In Centos 4 world all updates from 1 to
> 2 to 3 ... to 5 were
> go in smooth way.
>
> Regards,
>
> Irens
>

I have had my local 5.0 update repository
(.../centos/5.0/updates/{SRPMS,i386,x86_64}/...) setup
and used it for my 900+ boxes's daily upgrade already.
The repository is synchronized with official Internet
mirrors daily to keep it current.

My major concerns is: After the 5.1 is released, the
update channel/directory
(.../centos/5.1/updates/{SRPMS,i386,x86_64}/...) may
change to contain only updates for 5.1
snapshot/release, not updates since 5.0. If so, then
all my Centos 5.0 boxes will suffer.

I have the serious concern because most Centos Mirror
sites on Internet ONLY keep the updates for latest
release/snapshot, not holds updates since the
base(3.0, 4.0, 5.0 etc) release. This seems like a big
problem if we would like to install from base|initial
release (3.0, 4.0, 5.0) continuously and then use a
single up-to-date update/ repository to upgrade
machines to current level.

For example, at Stanford's Centos 4 mirror site, only
4.5 is mirrored while all the other
4.0/4.1/4.2/4.3/4.4 are not. and in the updates/
directory only updates for 4.5 are kept there. If the
same is true for all other sites honoring 5.0 series,
then I think I will definitely get screwed If I tried
to keep on using base 5.0 and daily synced updates/
(exactly the same) for upgrade.

Any mirror sites hold updates since base release? Or I
have to keep on adding more repositories to yum's
configuration? 5.0 distro, 5.0 updates, 5.1 distro,
5.1 updates, 5.2 distro, 5.2 updates. etc. If so, then
it is too low-performanced and erro-prone.

Any one have experience on upgrade Centos 4 releases
from 4.0 to 4.5 can shed a light on this?

Thanks a lot.

--Robinson


__________________________________________________ __________________________________
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 11-28-2007, 11:33 PM
John R Pierce
 
Default Centos 5.1 distro: How to upgrade 5.0 to 5.1 with yum??

Robinson Tiemuqinke wrote:

My major concerns is: After the 5.1 is released, the
update channel/directory
(.../centos/5.1/updates/{SRPMS,i386,x86_64}/...) may
change to contain only updates for 5.1
snapshot/release, not updates since 5.0. If so, then
all my Centos 5.0 boxes will suffer.








afaik, the updates directory contains the latest updates to all packages
that have been updated since the original .0 release.


clients update from .../centos/5/updates/... .../not
centos/5.1/updates/... (or 4 vs 4.x, etc)



_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 11-29-2007, 09:42 AM
"Plant, Dean"
 
Default Centos 5.1 distro: How to upgrade 5.0 to 5.1 with yum??

Robinson Tiemuqinke wrote:
> --- Jancio Wodnik <jancio_wodnik@wp.pl> wrote:
>
>> Robinson Tiemuqinke pisze:
>>>
>>> Currently I download the Centos 5.0 upgrade packages from mirror
>>> sites on Internet (.../centos/5/updates/{SRPMS,i386,x86_64}/...),
>>> with the arrival of Centos 5.1, are the existing Centos 5.0
>>> update packages will be removed in honor of Centos 5.1
>>> updates? or it will stay? And how about the Centos
>>> 5.1's default packages in distro?
>>>
>>> Give an example here:
>>>
>>> 2.6.18-8.1.15 version kernel is the most recently
>>> updated kernel for Centos 5.0 distro, if the Centos
>>> 5.1 distro comes with 2.6.18-8.1.10000 kernel and in
>>> the first few weeks there are no kernel updates for
>>> 5.1, then how can I upgrade my kernel to
>>> 2.6.18-8.1.10000 naturally -- will the
>>> 2.6.18-8.1.10000 shows in the same update sources
>>>
>>
> directories(.../centos/5/updates/{SRPMS,i386,x86_64/...)?
>>>
>>> A similar question is: are the update diretories
>>> contains only updates for 5.1 distro, or both 5.0 and
>>> 5.1?
>>>
>>> Any clarifications are greatly appreciated.
>>>
>> It's simply. All things from 5.0 to 5.1 will be done automatically
>> via yum (as standard update) or in rare situation can be possibly
>> depedency problem (when mixing different repo ?).
>>
>> So don't worry. if you are really affraid - update
>> only one box and test
>> ... test ... then update the rest.
>>
>> I must say. In Centos 4 world all updates from 1 to 2 to 3 ... to 5
>> were go in smooth way.
>>
>> Regards,
>>
>> Irens
>>
>
> I have had my local 5.0 update repository
> (.../centos/5.0/updates/{SRPMS,i386,x86_64}/...) setup
> and used it for my 900+ boxes's daily upgrade already.
> The repository is synchronized with official Internet
> mirrors daily to keep it current.
>
> My major concerns is: After the 5.1 is released, the
> update channel/directory
> (.../centos/5.1/updates/{SRPMS,i386,x86_64}/...) may
> change to contain only updates for 5.1
> snapshot/release, not updates since 5.0. If so, then
> all my Centos 5.0 boxes will suffer.
>
> I have the serious concern because most Centos Mirror
> sites on Internet ONLY keep the updates for latest
> release/snapshot, not holds updates since the
> base(3.0, 4.0, 5.0 etc) release. This seems like a big
> problem if we would like to install from base|initial
> release (3.0, 4.0, 5.0) continuously and then use a
> single up-to-date update/ repository to upgrade
> machines to current level.
>
> For example, at Stanford's Centos 4 mirror site, only
> 4.5 is mirrored while all the other
> 4.0/4.1/4.2/4.3/4.4 are not. and in the updates/
> directory only updates for 4.5 are kept there. If the
> same is true for all other sites honoring 5.0 series,
> then I think I will definitely get screwed If I tried
> to keep on using base 5.0 and daily synced updates/
> (exactly the same) for upgrade.
>
> Any mirror sites hold updates since base release? Or I
> have to keep on adding more repositories to yum's
> configuration? 5.0 distro, 5.0 updates, 5.1 distro,
> 5.1 updates, 5.2 distro, 5.2 updates. etc. If so, then
> it is too low-performanced and erro-prone.
>
> Any one have experience on upgrade Centos 4 releases
> from 4.0 to 4.5 can shed a light on this?
>
> Thanks a lot.
>
> --Robinson
>
>

If you remove the point release numbers from your update paths you do
not need the old versions. If you really need the old updates use
http://vault.centos.org/

>From http://mirror.centos.org/centos-4/4.4/readme

------------------------------------------------------------------------
This directory (and version of CentOS) is depreciated. For normal
users,
you should use /4/ and not /4.4/ in your path. Please see this FAQ
concerning the CentOS release scheme:

http://www.centos.org/modules/smartfaq/faq.php?faqid=34

If you know what you are doing, and absolutely want to remain at the 4.4
level, go to http://vault.centos.org/ for packages.
------------------------------------------------------------------------


To simplfy our yum configuration I disable all the repo files in
/etc/yum.repos.d and call the yum configuration from a local web server
in yum.conf by using the include statement. One change on the web server
changes the yum configuration on all CentOS machines.

In the yum.conf I add

# Site yum files
include=http://ourserver.ourdomain.com/centos/yum/centos.repo
include=http://ourserver.ourdomain.com/centos/yum/centos-updates.repo

The centos.repo looks like this,

[base]
name=CentOS-$releasever - Base
baseurl=http://ourserver.ourdomain.com/centos/$releasever/os/$basearch/
enabled=1
gpgcheck=1

And the centos-updates.repo looks like this,

[updates-released]
name=CentOS-$releasever - Updates
baseurl=http://ourserver.ourdomain.com/centos/$releasever/updates/$basea
rch/
enabled=1
gpgcheck=1

[custom-repo]
name=CentOS-$releasever - Custom-rpms
baseurl=http://ourserver.ourdomain.com/centos/$releasever/customrepo/
enabled=1
gpgcheck=1

Hope this helps.

Dean
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 11-29-2007, 04:23 PM
Karanbir Singh
 
Default Centos 5.1 distro: How to upgrade 5.0 to 5.1 with yum??

John R Pierce wrote:
afaik, the updates directory contains the latest updates to all packages
that have been updated since the original .0 release.


Thats not true, the <rel>/updates/ dir will only contain updates
released from the time that the <rel>/os/ was released. However, that is
not an issue since yum does not consider repositories on their own, it
merges all data into one set and then selects packages to update,
therefore packages from the <rel>/os/ repository get included as well.


so, you really do want to stay with the /5/ release, in order to keep
getting all the latest updates etc. and not use ( as you pointed out
already ) the 5.1/ or 5.0/ directories.


- KB
--
Karanbir Singh : http://www.karan.org/ : 2522219@icq
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 11-29-2007, 09:20 PM
Robinson Tiemuqinke
 
Default Centos 5.1 distro: How to upgrade 5.0 to 5.1 with yum??

--- Karanbir Singh <mail-lists@karan.org> wrote:

> John R Pierce wrote:
> > afaik, the updates directory contains the latest
> updates to all packages
> > that have been updated since the original .0
> release.
>
> Thats not true, the <rel>/updates/ dir will only
> contain updates
> released from the time that the <rel>/os/ was
> released. However, that is
> not an issue since yum does not consider
> repositories on their own, it
> merges all data into one set and then selects
> packages to update,
> therefore packages from the <rel>/os/ repository get
> included as well.
>
> so, you really do want to stay with the /5/ release,
> in order to keep
> getting all the latest updates etc. and not use ( as
> you pointed out
> already ) the 5.1/ or 5.0/ directories.
>
> - KB

The problem is whether there is a way to achieve the
following:

Continue to install machines with Centos 5.0(!!)
distro (not 5.1, 5.2, etc snapshots|subreleases), But
have .../centos/5/updates/{SRPMS|i386|x86_64}/
repositories|directories which contains updates since
5.0 to current level. This way I only need to feed yum
with two repositories: centos/5.0/os/ and
centos/5/updates/ -- some time will have local custom
repos as well, but that is another totally different
topic.

Currently I can not do it, because on Internet Centos
Mirror Sites, the centos/{4,5}/updates/ are in fact
symbolic links to
centos/{4,5}.<latest_update_snapshot_release>/updates/
and contains update RPMS ONLY SINCE the relase date
{4,5}.}.<latest_update_snapshot_release>. But what I
like to have is a accumulated updates repository since
{4,5}.0 release date.

I could try to emulate the effect by synchronizing
each update repository for previous subreleases, For
example, for Centos 4 series, sync updates RPMS for
4.0, 4.1, 4.2, 4.3, and 4.4 into one local repository
and feed it to yum.conf, then sync updates for 4.5
into another repository for yum, at last, feed the
repository of 4.0 base os to yum as well. Totally yum
has one base os 4.0 repo, two updates repos for
possible??consistent initial installation and upgrade
-- If it works, then there is no need to setup new
kickstart/pxe for each subrelease after the latter is
released.

Has any one done the above? If so, how is that
working? or there is no need to do do it because there
are accumulated updates repositories on Internet
Mirror Sites to sync from? Or because this is
impossible because each subrelease contains new
versions of packages/tools not in any updates/
repositories??


Thanks a lot.

--Robinson



__________________________________________________ __________________________________
Be a better pen pal.
Text or chat with friends inside Yahoo! Mail. See how. http://overview.mail.yahoo.com/
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 

Thread Tools




All times are GMT. The time now is 08:49 PM.

VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org