public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Andrey Repin <anrdaemon@yandex.ru>
To: OwN-3m-All <own3mall@gmail.com>, cygwin@cygwin.com
Subject: Re: Cygwin Setup - Choose Best Mirror Automatically for Automated / Silent Installs
Date: Fri, 18 Nov 2016 07:13:00 -0000	[thread overview]
Message-ID: <7510004605.20161118091018@yandex.ru> (raw)
In-Reply-To: <CAK0ZC5VuH+V31J5JBctEzoB3=sJWurmqcHRw3pBtEO-A1Xf6Uw@mail.gmail.com>

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

  parent reply	other threads:[~2016-11-18  6:20 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-18  3:20 OwN-3m-All
2016-11-18  3:41 ` Andrey Repin
2016-11-18  6:04   ` OwN-3m-All
2016-11-18  6:11     ` Brian Inglis
2016-11-18  6:18       ` OwN-3m-All
2016-11-18  6:20         ` OwN-3m-All
2016-11-18  7:32           ` Andrey Repin
2016-11-18 12:59           ` Brian Inglis
2016-11-20 19:19           ` Achim Gratz
2016-11-21 13:40             ` OwN-3m-All
2016-11-21 16:17               ` Corinna Vinschen
2016-11-18  6:35         ` Andrey Repin
2016-11-18  7:13     ` Andrey Repin [this message]
2016-11-19  0:15     ` Achim Gratz
2016-11-19  2:08       ` OwN-3m-All
2016-11-19 13:42         ` OwN-3m-All
2016-11-19 14:41           ` Brian Inglis
2016-11-20 19:01           ` Jon Turney

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=7510004605.20161118091018@yandex.ru \
    --to=anrdaemon@yandex.ru \
    --cc=cygwin@cygwin.com \
    --cc=own3mall@gmail.com \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).