LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   editing/choosing different mirrors & yum (https://www.linuxquestions.org/questions/fedora-35/editing-choosing-different-mirrors-and-yum-600139/)

wet 11-16-2007 10:25 AM

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

wmakowski 11-24-2007 03:51 PM

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


All times are GMT -5. The time now is 05:23 PM.