yum local repos first?

Jonathan Underwood jonathan.underwood at gmail.com
Sat Apr 8 10:58:16 UTC 2006


On 08/04/06, Bernd Knoettig <bernd_knoettig at yahoo.de> wrote:
> > 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?

If you set failovermethod=priority in the relevant repo file, then for
that repo it will try the repositories in the order that they are
listed in the baseurl line.

If you set failovermethod=priority in the /etc/yum.conf, it will do
this for all repositories.

Have a look at man yum.conf for more info.

Jonatha




More information about the fedora-list mailing list