[Yum] local repo before remote?

Stuart McGraw smcg4191 at frii.com
Tue Apr 11 21:45:44 UTC 2006


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

> -----Original Message-----
> From: yum-bounces at lists.dulug.duke.edu
> [mailto:yum-bounces at lists.dulug.duke.edu]On Behalf Of Stuart McGraw
> Sent: Sunday, April 09, 2006 10:40 PM
> To: yum at lists.dulug.duke.edu
> Subject: [Yum] local repo before remote?
> 
> Hello,
> 
> I have a local repo that has a subset of Fedora Extra 
> packages in it.  When I install a package with yum, I 
> would like it to install from the local repo rather 
> than a remote repo because I have a slow (sometimes 
> 0-b/S) internet connection.
> 
> There is nothing about this in the docs but in the faq 
> it says repos are used in order of their occurance in 
> the[sic] yum.conf file.  This does not appear to work.  
> I moved both my local repo config and the fed-ex repo 
> config into yum.conf in the desired order.  I also made 
> the repo names sort the right way, but yum still goes 
> to the network.  
> 
> Am I doing something wrong?  Or is this really broken?




More information about the Yum mailing list