X-Recipient: archive-cygwin@delorie.com
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 1CB1E3858406
Authentication-Results: sourceware.org; dmarc=none (p=none dis=none)
 header.from=dronecode.org.uk
Authentication-Results: sourceware.org; spf=none smtp.mailfrom=dronecode.org.uk
Authentication-Results: btinternet.com;
 auth=pass (PLAIN) smtp.auth=jonturney@btinternet.com;
 bimi=skipped
X-SNCR-Rigid: 6139452E034C29B2
X-Originating-IP: [81.129.146.163]
X-OWM-Source-IP: 81.129.146.163 (GB)
X-OWM-Env-Sender: jonturney@btinternet.com
X-VadeSecure-score: verdict=clean score=0/300, class=clean
X-RazorGate-Vade: gggruggvucftvghtrhhoucdtuddrgedvtddrudekiedgjeelucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuueftkffvkffujffvgffngfevqffopdfqfgfvnecuuegrihhlohhuthemuceftddunecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefuvfhfhffkffgfgggjtgfgsehtkeertddtfeejnecuhfhrohhmpeflohhnucfvuhhrnhgvhicuoehjohhnrdhtuhhrnhgvhiesughrohhnvggtohguvgdrohhrghdruhhkqeenucggtffrrghtthgvrhhnpeelieegheeghfevfeevhfdviedugfdvuefhjeehteejffefhfeuudetheeugfffhfenucfkphepkedurdduvdelrddugeeirdduieefnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehhvghloheplgduledvrdduieekrddurddutdefngdpihhnvghtpeekuddruddvledrudegiedrudeifedpmhgrihhlfhhrohhmpehjohhnrdhtuhhrnhgvhiesughrohhnvggtohguvgdrohhrghdruhhkpdhrtghpthhtoheptgihghifihhnsegthihgfihinhdrtghomhdprhgtphhtthhopehjphihvghrohhnsehpughinhgtrdhush
X-RazorGate-Vade-Verdict: clean 0
X-RazorGate-Vade-Classification: clean
Subject: Re: cygwin setup version 2.909 not installing (silent mode) - bug or
 user error?
To: The Cygwin Mailing List <cygwin@cygwin.com>
References: <007201d7af05$bd2d0320$37870960$@pdinc.us>
 <20210922015129.EC1F13858403@sourceware.org>
From: Jon Turney <jon.turney@dronecode.org.uk>
Message-ID: <5021231f-fcd8-3b0a-74ce-5b5859a4d9e3@dronecode.org.uk>
Date: Fri, 1 Oct 2021 15:58:00 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
 Thunderbird/78.14.0
MIME-Version: 1.0
In-Reply-To: <20210922015129.EC1F13858403@sourceware.org>
Content-Language: en-GB
X-Spam-Status: No, score=-1190.3 required=5.0 tests=BAYES_00, BODY_8BITS,
 FORGED_SPF_HELO, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, NICE_REPLY_A,
 RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_NONE,
 TXREP autolearn=no autolearn_force=no version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
 server2.sourceware.org
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
Content-Type: text/plain; charset="utf-8"; Format="flowed"
Errors-To: cygwin-bounces+archive-cygwin=delorie.com@cygwin.com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie.com@cygwin.com>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 191ExD9M030198

On 22/09/2021 02:50, Richard Beels via Cygwin wrote:
> 
> At 9/21/2021 at 12:28, Shakespearean monkeys danced on Jason Pyeron's 
> keyboard and said:
>> If the last execution of the setup used download only and the setup is 
>> used with -q and without either -D or -L it still defaults to -D
>>
>> Adding -Y does not change the behavior either.
>>
>> Workaround was to launch setup, advance to "select download source", 
>> select install, advance to next screen, abort, re-run silent install.
>>
>> From setup --help:
>> -D --download                     Download packages from internet only
>> -L --local-install                Install packages from local 
>> directory only
>> -Y --prune-install                Prune the installation to only the 
>> requested
>>                                    packages
> 
> I noticed this a while back, too, with .908.  I thought I mentioned it 
> but maybe not.
> 
> There are explicit switches for download (-D) only or local-install (-L) 
> but not for "install from the internet".  It looks like the 

So, it seems that the way to specify that is to use both -D and -L.

> "last-action" setting in /etc/setup/setup.rc controls what is used as 
> the default for the next run: "Download", "Install" (local install) and 
> "Download, Install" (internet install).
> 
> At a minimum, it seems that the code currently is in contradiction to 
> the --help output: once you choose -L or -D, that becomes the default 
> mode for subsequent runs.  Until explicitly changed back by running 
> setup and clicking the appropriate button on the second dialog (or 
> editing the rc file?).

But yeah, the help text here is wrong. I'll look at correcting and 
improving it.

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

