[CentOS] yum update question and kernel-smp-devel

Thu Oct 25 11:35:19 UTC 2007
Johnny Hughes <johnny at centos.org>

James Pearson wrote:
> I have a local yum repository for CentOS4, and from time to time I add
> new (custom) kernel RPMS.
> 
> However, when I run 'yum update' on an SMP box, yum 'installs' the new
> kernel, kernel-devel and kernel-smp packages, but 'updates' the
> kernel-smp-devel package.
> 
> i.e. I end up with multiple versions of the kernel, kernel-devel and
> kernel-smp packages, but only the latest kernel-smp-devel
> 
> What do I need to do to get the kernel-smp-devel RPMS to 'install'
> instead of 'update'?
> 


put this in your /etc/yum.conf file:

installonlypkgs=kernel kernel-smp kernel-devel kernel-smp-devel
kernel-largesmp kernel-largesmp-devel kernel-hugemem
kernel-hugemem-devel kernel-xenU kernel-xenU-devel

(all one line)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
URL: <http://lists.centos.org/pipermail/centos/attachments/20071025/e17ee737/attachment-0005.sig>