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:to:references:from:message-id:date
	:mime-version:in-reply-to:content-type
	:content-transfer-encoding; q=dns; s=default; b=QJLkLmkLKNiWX6lK
	AtZRl9kYnmImY74g4klDuNlc5d3JUTvu51t2edgqCoNGQW5F55qr7l5sRulZ6Tvw
	XnjZmRC4roaoQpAxJ3Ki2sUx5xTelynyzvnyUgnLPuRTMXgqOKvHhkOvfiG82r4L
	g+uwGa65PDwAvR+yQ7Sug4EHPAU=
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:to:references:from:message-id:date
	:mime-version:in-reply-to:content-type
	:content-transfer-encoding; s=default; bh=ckEAsggG5TfuhkQn+//7/P
	ngWHw=; b=Ul2AhWXa/o+B3r0rwsvWnx/7JoXgF2xj6HpgjT7lQAYZlFyTWalaiJ
	g9AvwXvNIPb7hSXS69HNEtg1KQyVcCzcuzZJOVpk8v5C4wLrzwUljPSIKmYtp7uq
	tQ50vYn40j4wB1LrEOlKW03ox1MCHcd6BbLBjf9awAxFOodqMUhbk=
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=-1.8 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2
X-HELO: limerock01.mail.cornell.edu
X-CornellRouted: This message has been Routed already.
Subject: Re: Error Installing Cygwin (setup-x86_64.exe & setup-x86) - No setup.ini.sig found.
To: cygwin@cygwin.com
References: <CACoLpU-VJqaNv5VQo0sYfDkVLfK5wDw+Usvg29QsAS6M7BwitQ@mail.gmail.com> <8737xawn6j.fsf@Rainer.invalid> <56216C25.6090104@cornell.edu> <878u72eyy2.fsf@Rainer.invalid> <56223B5E.50309@cornell.edu> <5622BA2F.7040205@tiscali.co.uk> <87mvvg2ya8.fsf@Rainer.invalid> <56239C46.2040708@cornell.edu> <87a8rg2tni.fsf@Rainer.invalid>
From: Ken Brown <kbrown@cornell.edu>
Message-ID: <5623A2E0.9070800@cornell.edu>
Date: Sun, 18 Oct 2015 09:47:12 -0400
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0
MIME-Version: 1.0
In-Reply-To: <87a8rg2tni.fsf@Rainer.invalid>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

On 10/18/2015 9:28 AM, Achim Gratz wrote:
> Ken Brown writes:
>> Are you saying you've never tested local installs without the -m
>> switch?
>
> No, I'm saying that the "-m" switch should reduce the possibility of
> setup doing something unwanted, because it eliminates the possibility of
> it switching into ad-hoc mode (where it searches the subdirs for
> setup.ini and package files to full depth).
>
>> If so, that explains why you haven't been able to reproduce
>> the problems that several of us have reported.  I just verified that
>> setup does indeed correctly descend into subdirectories with the -m
>> switch.
>
> That still doesn't tell me what about your mirror directories triggers
> it to not use local mirror mode when not using that switch.  If the
> directory structure is correct that is in theory impossible since it
> tries mirror mode first and only if it doesn't find a useable setup file
> that way would it fall back to ad-hoc mode.  Please run the commands in
> my other replay to David Stacey and tell me the result.

$ find -mindepth 1 -maxdepth 1 -name $arch | \
 > xargs -I: sh -c 'for f in :/setup.{xz,bz2,ini}; \
 > do [ -e $f ] && { echo $f ; break; } done' && \
 > find -mindepth 2 -maxdepth 2 -name $arch | \
 > xargs -I: sh -c 'for f in :/setup.{xz,bz2,ini}; \
 > do [ -e $f ] && { echo $f ; break; } done'
./http%3a%2f%2fmirrors.kernel.org%2fsourceware%2fcygwin%2f/x86/setup.ini
./http%3a%2f%2fsanibeltranquility.com%2fcygwin%2f/x86/setup.ini
./myrepo/x86/setup.xz

Ken

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

