X-Recipient: archive-cygwin@delorie.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:subject:references:to:reply-to:from:message-id
	:date:mime-version:in-reply-to:content-type
	:content-transfer-encoding; q=dns; s=default; b=OgJpTVSbzpPjScJu
	8lOPz03LUVMjLRvPqiuY3kps0J/mtMsKSRE82bCpts4Wbu9Dav6t5GqKlIkGUDXf
	DNsnTmRWgiwbor0m0m42CGxKU3SSPY5r7B16+LMU2V5nlmfb3UdgIRTFPASsj/u+
	HuD8+qorS+SUg5iLbwJxP7GSze0=
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:subject:references:to:reply-to:from:message-id
	:date:mime-version:in-reply-to:content-type
	:content-transfer-encoding; s=default; bh=6aT6wj3JQ1ZvB50LR6jtxm
	duR2k=; b=haqk/qPQG6rceR2H7E1l1icqA83AIWSlBChM9quSY56lzoT1L5RkaU
	fOCx8+pvIKzeos0f9R/lXexVEPt9D/Se5LTIIljhWfNVEq7E3xV4SXIK7U2hobhh
	kAgG4IfUT+fKs7vC05yFwN6UxiNbs0bP5/8Ft6BjG/8iF1Usg/tj8=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=0.3 required=5.0 tests=AWL,BAYES_40,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=retail, Education, monthly, reliability
X-HELO: smtp-out-no.shaw.ca
X-Authority-Analysis: v=2.2 cv=JLBLi4Cb c=1 sm=1 tr=0 a=WqCeCkldcEjBO3QZneQsCg==:117 a=WqCeCkldcEjBO3QZneQsCg==:17 a=IkcTkHD0fZMA:10 a=974GkP4cAAAA:20 a=w_pzkKWiAAAA:8 a=NEAV23lmAAAA:8 a=D0xPwxCpZtHt8NUwgWgA:9 a=QEXdDO2ut3YA:10 a=9c8rtzwoRDUA:10 a=sYnTL863O-sA:10 a=sRI3_1zDfAgwuvI8zelB:22 a=Bn2pgwyD2vrAyMmN8A2t:22
Subject: Re: Cygwin Setup - Choose Best Mirror Automatically for Automated / Silent Installs
References: <CAK0ZC5U9_tcsW_=EYEmfkHjWeEztOQ-ubjx9wqGdcWgrJyj4KQ@mail.gmail.com> <24218021.20161118061516@yandex.ru> <CAK0ZC5VuH+V31J5JBctEzoB3=sJWurmqcHRw3pBtEO-A1Xf6Uw@mail.gmail.com> <4ca55802-27eb-d493-ec11-d1ac4592fd94@SystematicSw.ab.ca> <CAK0ZC5U+OK9hD0rF2xJf_R=ESx8bKyaBEmW9xnEbmSCs+UVRaA@mail.gmail.com> <CAK0ZC5UsWmPA3GjRf_mNh2G1KHttVVF+YsV35A3D53LTsr1M-g@mail.gmail.com>
To: cygwin@cygwin.com
Reply-To: Brian.Inglis@SystematicSw.ab.ca
From: Brian Inglis <Brian.Inglis@SystematicSw.ab.ca>
Message-ID: <a7cd2245-5abd-722b-49fd-37c3883ab17a@SystematicSw.ab.ca>
Date: Fri, 18 Nov 2016 00:13:10 -0700
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0
MIME-Version: 1.0
In-Reply-To: <CAK0ZC5UsWmPA3GjRf_mNh2G1KHttVVF+YsV35A3D53LTsr1M-g@mail.gmail.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-CMAE-Envelope: MS4wfMTpxk0Wwa+tlWYBAnIU4TUjDpH1kHn+ANupK2MjKoIgq03PY+MQFHvjFB4P81kO+jM6J3MhhC4qrlle8EO2RViTcX/bHtIgkl2Si1wuauiFgeuWy7dU e4nckSQaorlHruUD9wB6ev7efCWx18LoKUahiZ2V5urtCzX6nBoWCB1fVBjwyu/Tu7/pDqTpTbuhEA==
X-IsSubscribed: yes

On 2016-11-17 23:10, OwN-3m-All wrote:
> See, this happens with the mirror I've provided in the setup (only
> sometimes... sometimes it works):
>
> https://s17.postimg.org/6xuvfaljz/setup_issue.png
>
> The setup log only contains this:
>
> Starting cygwin install, version 2.876
> User has backup/restore rights
> io_stream_cygfile: fopen(/etc/setup/setup.rc) failed 2 No such file or directory
> Current Directory: C:\test\cygTemp
> Could not open service McShield for query, start and stop. McAfee may
> not be installed, or we don't have access.
> root: C:\test system
> Selected local directory: C:\test\cygTemp
> net: Direct
>
> How do I troubleshoot this further, and it is truly caused by the
> mirror? It appears to be because I haven't gotten it to crash yet
> running it manually and using a mirror entry from the list it
> displays to me.

Check the permissions on the directory allow SYSTEM and
Administrators and your userid rwx access or full control.
Don't just use ls -l, use getfacl and icacls to be sure.

What Windows version; is it an insider, Education or Enterprise
build?
These all can have customizations that switch retail features
off, add unusual features and capabilities for extra control,
or run services that are unusual on retail systems.
Check particularly for any "security" or anti-* products:
these may be on the BLODA and cause random failures: see
https://cygwin.com/faq/faq.html#faq.using.bloda
The major retail products are just *BAD*!

You can still run setup in a script with stdout and stderr
redirection to your own log in case it produces some useful text
output when it crashes.

Install and try:
https://github.com/PhilipDaniels/dotfiles/blob/master/cygwin_mirror_test.pl
to find the lowest latency network mirror offering the fastest
downloads, but remember that doesn't tell you anything about update
frequency, availability, reliability, stability.

If I find my current mirror unavailable, I wait and hour and retry.
If it's still not working, I rerun the mirror test and switch.
I have to do this about every three months, probably because some
other mirrored distro has just come out with major updates that
everyone has to have right away! ;^>
It's worth while to set a quarterly or monthly reminder to recheck
your mirrors, or schedule a job that does so every few weeks, at
about the time and on the weekday you normally run setup.

-- 
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

