public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: nunojsilva@ist.utl.pt (Nuno J. Silva)
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Re: emerge is not switching mirror when one is down
Date: Thu, 15 Jul 2010 16:24:38 +0100	[thread overview]
Message-ID: <87d3uohio9.fsf@evenstar.local.lan> (raw)
In-Reply-To: AANLkTikZOvNDaj9n71pVarQjzOCwoO5jLsexE1_I6y9Z@mail.gmail.com

Xi Shen <davidshen84@googlemail.com> writes:
[...]
>> > On 15/07/10 02:16, Xi Shen wrote:
>> >> hi,
>> >>
>> >> i have multiple mirrors configured in GENTOO_MIRRORS, /etc/make.conf.
>> >> i noticed that if the 1st mirror is down, emerge will continuously try
>> >> the 1st mirror. i remember it should switch to the 2nd server after
>> >> the try failed 3 times. how can i configure it to switch mirrors
>> >> automatically?
[...]
> i tried the mirrorselect, and the generated GENTOO_MIRRORS is as follow:
>
> GENTOO_MIRRORS="http://gentoo.localhost.net.ar/
> ftp://mirrors.localhost.net.ar/pub/mirrors/gentoo/"

Is this really a newline, or that's just your/my mail client wordwrapping it?

> and this is my original value:
> GENTOO_MIRRORS="http://mirrors.sohu.com/gentoo/ http://mirrors.163.com/gentoo/"
>
> what's the difference? except the url...

If that was a newline, that's the only difference. If it is not, there
is no difference.

Do you, by any chance, have a custom FETCHCOMMAND?

My /usr/share/portage/config/make.conf.example shows a default of 5
tries (-t 5), using wget.

-- 
Nuno J. Silva
gopher://sdf-eu.org/1/users/njsg




  parent reply	other threads:[~2010-07-15 16:06 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-14 16:16 [gentoo-user] emerge is not switching mirror when one is down Xi Shen
2010-07-14 22:26 ` Jake Moe
2010-07-15 11:41   ` Xi Shen
2010-07-15 12:31     ` Alan McKinnon
2010-07-15 14:49       ` Xi Shen
2010-07-15 15:09         ` Alan McKinnon
2010-07-15 16:19           ` Stroller
2010-07-15 16:36           ` [gentoo-user] " Nuno J. Silva
2010-07-15 15:24         ` Nuno J. Silva [this message]
2010-07-15 21:11           ` Alan McKinnon
2010-07-15 11:47 ` [gentoo-user] " András Csányi
2010-07-15 11:49   ` Xi Shen
2010-07-15 11:56     ` András Csányi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87d3uohio9.fsf@evenstar.local.lan \
    --to=nunojsilva@ist.utl.pt \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox