[CentOS] local centos repository upgrade from 5.3 to 5.4

Paul Herbosch paul.herbosch at tbwaworld.com
Wed Oct 21 09:55:18 UTC 2009


Hi list,

I run quite a few centos 5.3 servers and have a local yum repository  
which is working fine.
Below a list of what I'm rsyncing at the moment + an extract from my / 
etc/yum.repos.d/CentOS-Base.repo file
I copied the OS directory from the install media and ran createrepo on  
that dir.

I would like to upgrade my servers to 5.4.
I was wondering if I could simply replace the '5.3' part in the rsync  
source to '5.4' ?
Or is there more to it?

Thank you in advance,
Kind regards,

Paul Herbosch

=== What I'm currently rsyncing ===
rsync -avrt rsync://anorien.csc.warwick.ac.uk/CentOS/5.3/addons/i386 -- 
exclude=debug/ /var/www/html/centos/5/addons/
rsync -avrt rsync://anorien.csc.warwick.ac.uk/CentOS/5.3/centosplus/ 
i386 --exclude=debug/ /var/www/html/centos/5/centosplus/
rsync -avrt rsync://anorien.csc.warwick.ac.uk/CentOS/5.3/contrib/i386  
--exclude=debug/ /var/www/html/centos/5/contrib/
rsync -avrt rsync://anorien.csc.warwick.ac.uk/CentOS/5.3/extras/i386 -- 
exclude=debug/ /var/www/html/centos/5/extras/
rsync -avrt rsync://anorien.csc.warwick.ac.uk/CentOS/5.3/updates/i386  
--exclude=debug/ /var/www/html/centos/5/updates/

=== Local /etc/yum.repos.d/CentOS-Base.repo file ===
[base]
name=CentOS-$releasever - Base
# mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
baseurl=http://mylocalreposerver/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5

#released updates
[updates]
name=CentOS-$releasever - Updates
# mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
baseurl=http://mylocalreposerver/centos/$releasever/updates/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5

etc...

--
Paul Herbosch
Operations
TBWA\ Worldwide IT
Mobile: +32 477 36 81 92
www.mytbwa.com/Technology



This e-mail is intended only for the named person or entity to which
it is addressed and contains valuable business information that is 
privileged, confidential and/or otherwise protected from disclosure. 
If you received this e-mail in error, any review, use, dissemination,
distribution or copying of this e-mail is strictly prohibited.   
Please notify us immediately of the error via e-mail to 
disclaimer at tbwaworld.com and please delete the e-mail from your system, retaining no copies in any media.
We appreciate your cooperation.



More information about the CentOS mailing list