From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1OZQxN-0004nC-73 for garchives@archives.gentoo.org; Thu, 15 Jul 2010 16:06:41 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C7A401C012 for ; Thu, 15 Jul 2010 16:06:40 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 22DBFE0A9C for ; Thu, 15 Jul 2010 15:25:03 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 3C5A41B4025 for ; Thu, 15 Jul 2010 15:25:03 +0000 (UTC) X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Score: -1.763 X-Spam-Level: X-Spam-Status: No, score=-1.763 required=5.5 tests=[AWL=0.836, BAYES_00=-2.599] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rfGAXt5p4xqJ for ; Thu, 15 Jul 2010 15:24:56 +0000 (UTC) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by smtp.gentoo.org (Postfix) with ESMTP id 892DA1B40FF for ; Thu, 15 Jul 2010 15:24:54 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OZQIq-0002Ta-MF for gentoo-user@gentoo.org; Thu, 15 Jul 2010 17:24:48 +0200 Received: from bl11-57-23.dsl.telepac.pt ([85.244.57.23]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 15 Jul 2010 17:24:48 +0200 Received: from nunojsilva by bl11-57-23.dsl.telepac.pt with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 15 Jul 2010 17:24:48 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: nunojsilva@ist.utl.pt (Nuno J. Silva) Subject: [gentoo-user] Re: emerge is not switching mirror when one is down Date: Thu, 15 Jul 2010 16:24:38 +0100 Message-ID: <87d3uohio9.fsf@evenstar.local.lan> References: <4C3E39AA.5020508@gmail.com> <201007151431.49313.alan.mckinnon@gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: bl11-57-23.dsl.telepac.pt User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:1LhrWe4CXuXsB6VDbH3QFytwJDA= X-Archives-Salt: 8e1a3e30-1614-41f4-8655-8192af6cc5d6 X-Archives-Hash: b6e94461425a3eaba421a9045f9ef78a Xi Shen 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