[CentOS] yum update question and kernel-smp-devel
johnny at centos.org
Thu Oct 25 11:35:19 UTC 2007
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...
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://lists.centos.org/pipermail/centos/attachments/20071025/e17ee737/signature.bin
More information about the CentOS