yum: how to stop upgrading kernel ?

Aaron Konstam akonstam at sbcglobal.net
Sat Jul 8 11:24:18 UTC 2006


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.
--
=======================================================================
"Maintain an awareness for contribution -- to your schedule, your
project, our company." -- A Group of Employees
=======================================================================
Aaron Konstam telephone: (210) 656-0355 e-mail: akonstam at sbcglobal.net




More information about the fedora-list mailing list