yum mirrors for fedora

Todd Zullinger tmz at pobox.com
Wed Jun 20 15:11:43 UTC 2007

Timothy Murphy wrote:
> Incidentally, can one have more than one repository "hard-coded".

Yep.  From yum.conf(1):


    Must be a URL to the directory where the yum repository’s
    ‘repodata’ directory lives. Can be an http://, ftp:// or file://
    URL.  You can specify multiple URLs in one baseurl statement. The
    best way to do this is like this:

    name=Some name for this repository

    If you list more than one baseurl= statement in a repository you
    will find yum will ignore the earlier ones  and  probably  act
    bizarrely. Don’t do this, you’ve been warned.

> Or does it just try the first, and bomb out if that doesn't work?

Nope.  You can specify the order in which it tries the various urls
with the failovermethod setting.

> Can one have a repository and a mirror-list?

The man page says yes.  I can't remember if I've ever tried this.  I
used to just drop the mirrorlist and replace it with a baseurl of a
local or other fast mirror near me, but I've let the mirrorlist
setting in my F7 box and it's worked well for me so far.

Todd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
The United States is a nation of laws, badly written and randomly
    -- Frank Zappa

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 542 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20070620/d6fc7fef/attachment-0001.sig>

More information about the fedora-list mailing list