[Yum] repository specific package excludes
seth vidal
skvidal at phy.duke.edu
Sun Oct 24 15:51:51 UTC 2004
On Sun, 2004-10-24 at 09:27 +0000, Michael A. Peters wrote:
> Is it possible (preferably a configuration option) to tell yum to
> ignore a package from a specific repository?
>
> Say for example two repositories contain the package foobar, but I only
> want updates to foobar if they come from repository A and I don't want
> updates to foobar from repository B.
>
> If this functionallity isn't there, is this something I should add to
> the yum bugzilla as a feature request?
in the repository stanza type:
exclude=whateverpkg
so you might normally have:
[main]
....
[repo1]
name=repository one
baseurl=url://somwhere
exclude=pkg1 pkg2 pkg3
etc etc etc
I'm pretty sure this is in the docs.
-sv
More information about the Yum
mailing list