yum local repos first?

Anil Kumar Sharma xplusaks at gmail.com
Sat Apr 8 10:16:24 UTC 2006


On 4/8/06, Stuart McGraw <smcg4191 at frii.com> wrote:
>
> i have a fc5 machine with a very slow modem internet
> connection, so I set up a local yum repository holding
> most of the core rpms.  With the other network repo's
> disabled, I can install from it fine.
>
> But when the network repos are enabled, and an install
> has core dependencies, yum gets them all from the
> network repo even though many are available locally.
>
> Is there some way to specify a repo "preference" so
> that the local repos will be used to satisfy dependencies
> before going to remote repos?
>
> and further, is their a way to prefer certain mirror (typically ftp).
Many thanks in advance.
--
Anil Kumar Shrama
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20060408/dfe95ceb/attachment-0001.htm>


More information about the fedora-list mailing list