This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Cygwin Setup - Choose Best Mirror Automatically for Automated / Silent Installs
- From: Brian Inglis <Brian dot Inglis at SystematicSw dot ab dot ca>
- To: cygwin at cygwin dot com
- Date: Thu, 17 Nov 2016 21:23:12 -0700
- Subject: Re: Cygwin Setup - Choose Best Mirror Automatically for Automated / Silent Installs
- Authentication-results: sourceware.org; auth=none
- References: <CAK0ZC5U9_tcsW_=EYEmfkHjWeEztOQ-ubjx9wqGdcWgrJyj4KQ@mail.gmail.com> <24218021.20161118061516@yandex.ru> <CAK0ZC5VuH+V31J5JBctEzoB3=sJWurmqcHRw3pBtEO-A1Xf6Uw@mail.gmail.com>
- Reply-to: Brian dot Inglis at SystematicSw dot ab dot ca
On 2016-11-17 21:06, OwN-3m-All wrote:
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. 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.
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/".
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.
Setup gets its list from: https://cygwin.com/mirrors.lst
https://sourceware.org/git/?p=cygwin-apps%2Fsetup.git&a=search&h=HEAD&st=grep&s=MIRROR
Use the Source Luke!
--
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada
--
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