man yum.conf question. was: Re: [Yum] Yum error question

seth vidal skvidal at phy.duke.edu
Mon Feb 24 21:28:46 UTC 2003


On Mon, 2003-02-24 at 16:08, R P Herrold wrote:
> On 24 Feb 2003, seth vidal wrote:
> 
> > > 2) If yum is doing the correct thing what incantation do I need in the
> > > config file to get it to ignore the kernel rpms?
> > 
> > exclude=kernel* will exclude the kernel but I'd like to hear more about
> > what caused this problem.
> 
> 
> What is that "*" doing there?
> 

it's been updated for 0.9.4 (available from the website)

it is a file globbing match

so it takes *,? etc etc
just like a file name match would.

if you want to see the function that does this it is in clientStuff and
it's called nameinExcludes() - line 122

in the docs for that version it explains this.

I just checked this from the site - it is correct, I think.

-sv





More information about the Yum mailing list