[Yum] Any way to force an "authoritative" repository?

seth vidal skvidal at phy.duke.edu
Tue Feb 22 16:03:47 UTC 2005


On Tue, 2005-02-22 at 10:39 -0500, Chris Geddings wrote:
> Hey, what you want is pkgpolicy...from the man page:
> 
>        pkgpolicy=[newest|last]
>               Default: newest.  Package sorting order.   When  a 
> package  is
>               available  from  multiple servers, newest will install the
> most
>               recent version of the package found. last will sort the
> servers
>               alphabetically by serverid and install the version of the
> pack-
>               age found on the last server in the  resulting  list.  
> If  you
>               don’t  understand the above then you’re best left not
> including
>               this option at all and letting the default occur.

pkgpolicy is no longer functional in 2.1.X or 2.2.x

-sv





More information about the Yum mailing list