[Yum] local repo before remote?

seth vidal skvidal at linux.duke.edu
Thu Apr 13 06:29:54 UTC 2006

On Tue, 2006-04-11 at 15:45 -0600, Stuart McGraw wrote:
> I'm not sure what the lack of responses to my previous
> post means, but I convinced myself that the FAQ (Q/A13,
> about how to get Yum to prefer one repo over another)
> really is wrong, and there is no way to do that currently 
> with yum-2.6.0.
> I submitted a bug report on this
> http://devel.linux.duke.edu/bugzilla/show_bug.cgi?id=585
> and a propsed fix for it 
> http://devel.linux.duke.edu/bugzilla/show_bug.cgi?id=586

I don't like the sorting-by-repo-name as much b/c it feels too
arbitrary. If we have two or more equally good sources for a package it
seems like it would make more sense to sort based on type of repo ie:if
the repo is a file:// repo then use that one first.

The other option is to indicate a concept of distance so one repo can be
tagged as 'nearer' or 'farther'

But, again, that is only if two repos really provide identical pkgs.


More information about the Yum mailing list