delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/11/18/01:22:05

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; q=dns; s=default; b=wAqGYRaL3EF5g32i
UIxz/pvLwpLgHxX+gLppGmzn+nSeUOuDfJWbkqGDJfcxfYV47eNbTHsB3z5DKh/+
1wKrpnAgzJJKiFLSf69oC2joY7A8otT+eSDqpl3GQUy1cxiaP0ACkje1rDUtK4r2
D5LxMZCuVt3VkTbagcaF8r1BN1c=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; s=default; bh=kPjWvQkktbP4vS95Rrmx79
HtXGE=; b=WQR1os32IXlcNINSfybPP+jHsdwoWfSHiNR54bmOlG/B4MxR0JpT0/
Z2ODA/5EnbYN2KrKDj4ZrdLCw2m0E0eGow+QSB0jxdoiJShckijDXQweeI9LSY7l
Gk5lbjvErgwjnIBVqQDV+r7rnR7YIpYBW3C2HsRDx6nArdV7ghft8=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
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
Authentication-Results: smtp2h.mail.yandex.net; dkim=pass header.i=@yandex.ru
X-Yandex-Suid-Status: 1 0,1 0
Date: Fri, 18 Nov 2016 09:10:18 +0300
From: Andrey Repin <anrdaemon AT yandex DOT ru>
Reply-To: cygwin AT cygwin DOT com
Message-ID: <7510004605.20161118091018@yandex.ru>
To: OwN-3m-All <own3mall AT gmail DOT com>, cygwin AT cygwin DOT com
Subject: Re: Cygwin Setup - Choose Best Mirror Automatically for Automated / Silent Installs
In-Reply-To: <CAK0ZC5VuH+V31J5JBctEzoB3=sJWurmqcHRw3pBtEO-A1Xf6Uw@mail.gmail.com>
References: <CAK0ZC5U9_tcsW_=EYEmfkHjWeEztOQ-ubjx9wqGdcWgrJyj4KQ AT mail DOT gmail DOT com> <24218021 DOT 20161118061516 AT yandex DOT ru> <CAK0ZC5VuH+V31J5JBctEzoB3=sJWurmqcHRw3pBtEO-A1Xf6Uw AT mail DOT gmail DOT com>
MIME-Version: 1.0
X-IsSubscribed: yes

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019