[CentOS] upgrade

Sat Mar 20 13:41:33 UTC 2010
Niki Kovacs <contact at kikinovak.net>

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&repo=os
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&repo=updates
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&repo=extras
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
--8<---------------------------------------------------------

Cheers,

Niki