Re: yum update question and kernel-smp-devel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Johnny Hughes wrote:
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

Thanks - that works

James Pearson
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux