Re: yum: how to stop upgrading kernel ?

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

 



On Sat, 2006-07-08 at 06:24 -0500, Aaron Konstam wrote:
> On Sat, 2006-07-08 at 00:46 +0200, Bruno Costacurta wrote:
> > Hello,
> > 
> > I'm trying to setup yum to upgrade my system but not the kernel.
> > I tried exclude=kernel* in the '/etc/yum.conf' file but obviously this doesn't 
> > work.
> > 
> > (note : reason is I'm using some applications that need recompilation of their 
> > specific modules per kernel which start to be cumbersome as kernel is often 
> > upgraded)
> > 
> > Bye,
> > Bruno
> > 
> 
> It is a question of how the * is interpreted.
> yum --exclude="kernel*" upgrade
> will stop any rpm starting with kernel from being upgraded.

also you can equally use --exclude=kernel\* 

this method works equally well for install/update with yum on the
commandline

for example (yum update n\*) updates any packages starting with the
letter n :) 

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux