LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 11-16-2007, 10:25 AM   #1
wet
Member
 
Registered: Jul 2007
Distribution: Slackware 12, Fedora 8, Gentoo. (NO MORE MANDRIVA, GO AWAY EVIL THING)
Posts: 37

Rep: Reputation: 15
editing/choosing different mirrors & yum


hey

when doing 'yum update' im getting an awfully slow transfer (around 5kb/s) from ftp.pbone.net which seems to be the default 'mirror' for yum to try.

is there any way i can set up which mirrors yum will use? 'cause 5kb/s != cool

thanks
wet
 
Old 11-24-2007, 03:51 PM   #2
wmakowski
Member
 
Registered: Oct 2003
Location: Ohio
Distribution: Fedora 25, 26, RHL 5.2
Posts: 560

Rep: Reputation: 56
The default for yum is to do a roundrobbin approach to selecting a mirror from the list. That means it will randomly pick from the list and if the choice it made is busy it will pick another one. If you set failovermethod=priority in yum.conf it will go through the entries under baseurl and/or mirrorlist sequentially.

There are a couple of ways to do what you are asking once you set the failovermethod=priority.
1) From mirrorlist, select a few mirrors that are geographically close to you. Then in each repo uncomment the baseurl entry and list those entries under the baseurl.
2) Make your own mirrorlist and put them in the order you want them to be used. Then change the mirrorlist entry in each repo to look at your mirrorlist.

Bill
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Do I need to add mirrors/repos to yum? Virp00 Fedora 4 03-14-2005 08:04 PM
How do I configure yum for local mirrors yeehi Fedora - Installation 3 11-13-2004 08:45 PM
how do i go about editing /etc/slackpkg/mirrors ? Draconian Slackware 2 08-19-2004 02:04 AM
Fedora Core 2 yum Mirrors? Zaskar Fedora 3 02-27-2004 01:51 AM
Editing Sources for adding Mirrors to Yum. spiffdoodle Fedora - Installation 3 02-17-2004 08:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 09:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration