Helo,
I'm trying to update a centos server with a kernel form the centos.plus repro because it contain Firewire/IEEE1394 support. But when y do a : # yum update The kernel from the base is more recent thant the centos plus repro I have tried with the http://wiki.centos.org/PackageManagement/Yum/Priorities plug-in and it didn't take the right kernel :
ftp://ftp.free.fr/mirrors/ftp.centos.org/5.2/centosplus/i386/RPMS/kernel-2.6 .18-92.1.6.el5.centos.plus.i686.rpm But the ftp://ftp.free.fr/mirrors/ftp.centos.org/5.2/updates/i386/RPMS/kernel-2.6.18 -92.1.10.el5.i686.rpm
How i can force kernel choice form centos plus ?
Thank's for your help
Emmanuel Borlet
See : # cat /etc/yum.repos.d/CentOS-Base.repo
[base] name=CentOS-$releasever - Base mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch& repo=os #baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/ gpgcheck=1 gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5 priority=1
#released updates [updates] name=CentOS-$releasever - Updates mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch& repo=updates #baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/ gpgcheck=1 gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5
#packages used/produced in the build but not released [addons] name=CentOS-$releasever - Addons mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch& repo=addons #baseurl=http://mirror.centos.org/centos/$releasever/addons/$basearch/ gpgcheck=1 gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5
#additional packages that may be useful [extras] name=CentOS-$releasever - Extras mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch& repo=extras #baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/ gpgcheck=1 enabled=1 gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5
#additional packages that extend functionality of existing packages [centosplus] name=CentOS-$releasever - Plus mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch& repo=centosplus #baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/ gpgcheck=1 enabled=1 gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5 priority=10
#contrib - packages by Centos Users [contrib] name=CentOS-$releasever - Contrib mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch& repo=contrib #baseurl=http://mirror.centos.org/centos/$releasever/contrib/$basearch/ gpgcheck=1 enabled=0 gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5
On Thu, Aug 7, 2008 at 2:41 AM, Emmanuel Borlet emmanuel.borlet@yoni.fr wrote:
Helo,
I'm trying to update a centos server with a kernel form the centos.plus repro because it contain Firewire/IEEE1394 support. But when y do a : # yum update The kernel from the base is more recent thant the centos plus repro I have tried with the http://wiki.centos.org/PackageManagement/Yum/Priorities plug-in and it didn't take the right kernel :
ftp://ftp.free.fr/mirrors/ftp.centos.org/5.2/centosplus/i386/RPMS/kernel-2.6 .18-92.1.6.el5.centos.plus.i686.rpm But the ftp://ftp.free.fr/mirrors/ftp.centos.org/5.2/updates/i386/RPMS/kernel-2.6.18 -92.1.10.el5.i686.rpm
How i can force kernel choice form centos plus ?
Thank's for your help
Emmanuel Borlet
See : # cat /etc/yum.repos.d/CentOS-Base.repo
[base] name=CentOS-$releasever - Base mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch& repo=os #baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/ gpgcheck=1 gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5 priority=1
#released updates [updates] name=CentOS-$releasever - Updates mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch& repo=updates #baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/ gpgcheck=1 gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5
Please check out:
http://wiki.centos.org/AdditionalResources/Repositories/CentOSPlus
Make sure you set the priority correctly for all repositories AND exclude kernel etc from the base and updates as seen in Example 2 in the wiki article.
Akemi
It seems to work !
Thank's you !
I have removed the priority added the exclude / includepkgs arguments
See my new # cat /etc/yum.repos.d/CentOS-Base.repo [base] name=CentOS-$releasever - Base mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch& repo=os #baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/ gpgcheck=1 gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5 exclude=kernel kernel-devel kernel-PAE-*
#released updates [updates] name=CentOS-$releasever - Updates mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch& repo=updates #baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/ gpgcheck=1 gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5 exclude=kernel kernel-devel kernel-PAE-*
#packages used/produced in the build but not released [addons] name=CentOS-$releasever - Addons mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch& repo=addons #baseurl=http://mirror.centos.org/centos/$releasever/addons/$basearch/ gpgcheck=1 gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5
#additional packages that may be useful [extras] name=CentOS-$releasever - Extras mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch& repo=extras #baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/ gpgcheck=1 enabled=1 gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5
#additional packages that extend functionality of existing packages [centosplus] name=CentOS-$releasever - Plus mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch& repo=centosplus #baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/ gpgcheck=1 enabled=1 gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5 includepkgs=kernel*
#contrib - packages by Centos Users [contrib] name=CentOS-$releasever - Contrib mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch& repo=contrib #baseurl=http://mirror.centos.org/centos/$releasever/contrib/$basearch/ gpgcheck=1 enabled=0 gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5
Le 07/08/08 11:57, « Akemi Yagi » amyagi@gmail.com a écrit
On Thu, Aug 7, 2008 at 2:41 AM, Emmanuel Borlet emmanuel.borlet@yoni.fr wrote:
Helo,
I'm trying to update a centos server with a kernel form the centos.plus repro because it contain Firewire/IEEE1394 support. But when y do a : # yum update The kernel from the base is more recent thant the centos plus repro I have tried with the http://wiki.centos.org/PackageManagement/Yum/Priorities plug-in and it didn't take the right kernel :
ftp://ftp.free.fr/mirrors/ftp.centos.org/5.2/centosplus/i386/RPMS/kernel-2.6 .18-92.1.6.el5.centos.plus.i686.rpm But the ftp://ftp.free.fr/mirrors/ftp.centos.org/5.2/updates/i386/RPMS/kernel-2.6.18 -92.1.10.el5.i686.rpm
How i can force kernel choice form centos plus ?
Thank's for your help
Emmanuel Borlet
See : # cat /etc/yum.repos.d/CentOS-Base.repo
[base] name=CentOS-$releasever - Base mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch& repo=os #baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/ gpgcheck=1 gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5 priority=1
#released updates [updates] name=CentOS-$releasever - Updates mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch& repo=updates #baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/ gpgcheck=1 gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5
Please check out:
http://wiki.centos.org/AdditionalResources/Repositories/CentOSPlus
Make sure you set the priority correctly for all repositories AND exclude kernel etc from the base and updates as seen in Example 2 in the wiki article.
Akemi _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On Thu, Aug 7, 2008 at 3:21 AM, Emmanuel Borlet emmanuel.borlet@yoni.fr wrote:
It seems to work !
Thank's you !
I have removed the priority added the exclude / includepkgs arguments
1) Please don't top post.
2) I would recommend strongly AGAINST removing the priorities. First, there is no connection between priorities and include/exclude commands, and second, you open yourself up to other weaknesses if you use any repos other than those at CentOS. Looks like you just need to set them correctly, and get the excludes right, and the two should work together nicely.
mhr