Exclude syntax for yum

Charles Curley charlescurley at charlescurley.com
Thu Sep 9 13:53:54 UTC 2004


On Thu, Sep 09, 2004 at 03:20:52AM +0200, Alexander Dalloz wrote:
> Am Do, den 09.09.2004 schrieb Charles Curley um 2:56:
> 
> > I would like to exclude a particular kernel from one machine. I have
> > edited yum.conf like so:
> > 
> > exclude=kernel-2.6.8-1.521.i586
> > 
> > I still get that kernel in my list of upgrades. How do I specify it
> > correctly?
> 
> Hm, yum will only update to the latest kernel available. So there is
> normally no need to exclude any specific version. 

If the latest version is the one you want to exclude.

> But if you like I would try
> 
> exclude=kernel#2.6.8-1.521

Nope, didn't work. Nor did:

exclude=kernel#2.6.8-1.521.i586

However, this does work:

exclude=kernel

So I will leave it like that until the next kernel is released.

The yum version is 2.0.7.

-- 

Charles Curley                  /"\    ASCII Ribbon Campaign
Looking for fine software       \ /    Respect for open standards
and/or writing?                  X     No HTML/RTF in email
http://www.charlescurley.com    / \    No M$ Word docs in email

Key fingerprint = CE5C 6645 A45A 64E4 94C0  809C FFF6 4C48 4ECD DFDB
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20040909/db3952f7/attachment-0001.sig>


More information about the fedora-list mailing list