yum: how to stop upgrading kernel ?
Scott R. Godin
scott.g at mhg2.com
Sun Jul 9 03:23:07 UTC 2006
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 :)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20060708/c7a81979/attachment-0001.sig>
More information about the fedora-list
mailing list