From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 112208 invoked by alias); 18 Nov 2016 06:20:28 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 111076 invoked by uid 89); 18 Nov 2016 06:20:24 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=2.0 required=5.0 tests=BAYES_50,FREEMAIL_FROM,KAM_THEBAT,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 spammy=H*F:D*yandex.ru, H*M:yandex, UD:yandex.ru, yandexru X-HELO: forward4j.cmail.yandex.net Received: from forward4j.cmail.yandex.net (HELO forward4j.cmail.yandex.net) (5.255.227.22) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 18 Nov 2016 06:20:13 +0000 Received: from smtp2h.mail.yandex.net (smtp2h.mail.yandex.net [IPv6:2a02:6b8:0:f05::116]) by forward4j.cmail.yandex.net (Yandex) with ESMTP id 8317920D76; Fri, 18 Nov 2016 09:20:11 +0300 (MSK) Received: from smtp2h.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp2h.mail.yandex.net (Yandex) with ESMTP id 99AE978187F; Fri, 18 Nov 2016 09:20:10 +0300 (MSK) Received: by smtp2h.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id IYHZGSkTuG-K9JS5Vh1; Fri, 18 Nov 2016 09:20:09 +0300 (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (Client certificate not present) Authentication-Results: smtp2h.mail.yandex.net; dkim=pass header.i=@yandex.ru X-Yandex-Suid-Status: 1 0,1 0 Received: from [192.168.1.10] (HELO daemon2.darkdragon.lan) by daemon2 (Office Mail Server 0.8.12 build 08053101) with SMTP; Fri, 18 Nov 2016 06:10:18 -0000 Date: Fri, 18 Nov 2016 07:13:00 -0000 From: Andrey Repin Reply-To: cygwin@cygwin.com Message-ID: <7510004605.20161118091018@yandex.ru> To: OwN-3m-All , cygwin@cygwin.com Subject: Re: Cygwin Setup - Choose Best Mirror Automatically for Automated / Silent Installs In-Reply-To: References: <24218021.20161118061516@yandex.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2016-11/txt/msg00227.txt.bz2 Greetings, OwN-3m-All! >> Just specify the mirror by hands. >> If it doesn't work for some reason, find that reason and eliminate it. > That's really not a good solution. I don't have control over the > mirrors or would know why one isn't working. But you have control over the script that working your installation, and you can choose a mirror that is likely working. I.e. kernel.org mirrors. > I think a new command-line argument should be added that makes Cygwin setup > pick one of the mirrors it knows is good from the list it downloads. > A command-line argument is the way to go, but a text file with a list > of known good mirrors that could be downloaded and parsed by a script > would also be of great help. Cygwin already checks the status of its > mirros as far as I know. It knows all of them and all of them are good for it. If you know better, then it's up to you to tell it that. > And for some reason, using the mirror of > "http://cygwin.mirror.constant.com/" on Windows Server 2008 sometimes > causes it to randomly crash complaining about a runtime c++ error > without any good information output into the setup log. Like I said, > when I run the setup manually, the list of mirrors it pulls does not > contain "http://cygwin.mirror.constant.com/". Now, this is a more useful information. But still not quite enough to track the problem. If you are familiar with GDB, you can try debugging the execution and see why it crashes. > I'd much rather rely on Cygwin's list than one hard coded site value > for a mirror which may or may not be up-to-date. So, do that. I see no stopping for it. As Brian pointed out, the list of mirrors is publicly available. -- With best regards, Andrey Repin Friday, November 18, 2016 09:06:05 Sorry for my terrible english... -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple