[Yum] Priority of repositories with pkgpolicy=newest?

seth vidal skvidal at phy.duke.edu
Fri Feb 6 06:23:22 UTC 2004


On Thu, 2004-02-05 at 20:11 +0100, Jürgen Möllenhoff wrote:
> Hi,
> 
> when I have multiple repositories which carry all a RPM in the same 
> version which repository would yum pick when the pkgpolicy=newest is? 
> Would it pick the first repository that appears in yum.conf or would it 
> sort the repositories by name and pick the first in alphabetical order 
> or picks yum randomly a repository then?

more or less random.

There is _some_ order to it, but not much. We had a long discussion a
while back of repository 'scoring' and how to rank them.

It's another thing that would be neat if implemented in a sane manner.
The problem is getting them to a sane manner.

-sv





More information about the Yum mailing list