[Yum] repository specific package excludes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux