I have centos 5.0 on a server Can i upgrade to the latest without reinstall the hole system?
Ok but how to to do all that I use the repo on vault.centos.org
-----Ursprungligt meddelande----- Från: centos-bounces@centos.org [mailto:centos-bounces@centos.org] För Niki Kovacs Skickat: den 20 mars 2010 10:24 Till: CentOS mailing list Ämne: Re: [CentOS] upgrade
mattias a écrit :
I have centos 5.0 on a server Can i upgrade to the latest without reinstall the hole system?
Yes, you can :o)
# yum update glibc* # yum update yum* rpm* python* # yum clean all # yum update
Grab some coffee.
Reboot. _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
So i need to add the centos 5.4 repo?
-----Ursprungligt meddelande----- Från: centos-bounces@centos.org [mailto:centos-bounces@centos.org] För Niki Kovacs Skickat: den 20 mars 2010 13:09 Till: CentOS mailing list Ämne: Re: [CentOS] upgrade
mattias a écrit :
Ok but how to to do all that I use the repo on vault.centos.org
Just use the default repos, and there you go :o)
_______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
mattias a écrit :
So i need to add the centos 5.4 repo?
You could use this for inspiration, as a starting point :
--8<------- /etc/yum.repos.d/CentOS-Base.repo --------------- [base] enabled=1 name=CentOS-$releasever - Base mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&rep... gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
[updates] enabled=1 name=CentOS-$releasever - Updates mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&rep... gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
[extras] enabled=1 name=CentOS-$releasever - Extras mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&rep... gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5 --8<---------------------------------------------------------
Cheers,
Niki
Mattias wrote on Sat, 20 Mar 2010 12:48:34 -0000:
Ok but how to to do all that I use the repo on vault.centos.org
Why? This contains old software. You had to specifically change the repo files for that. Just remove/go back to what it originally was.
Kai
On Sat, 2010-03-20 at 15:31 +0100, Kai Schaetzl wrote:
Mattias wrote on Sat, 20 Mar 2010 12:48:34 -0000:
Ok but how to to do all that I use the repo on vault.centos.org
Why? This contains old software. You had to specifically change the repo files for that. Just remove/go back to what it originally was.
And just before you reboot, you may want to do the following:
updatedb locate rpmnew ; locate rpmsave
and resolve any config file changes that you see...
-I