public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Richard Beels <rbeels@yahoo.com>
To: cygwin@cygwin.com
Subject: Re: cygwin setup version 2.909 not installing (silent mode) - bug or user error?
Date: Tue, 21 Sep 2021 21:50:19 -0400	[thread overview]
Message-ID: <20210922015019.xUuvxiAO_-SxX-5ktV5SDoAbXIqXE7y_4fEfx3ATHgE@z> (raw)
In-Reply-To: <007201d7af05$bd2d0320$37870960$@pdinc.us>


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 
"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?). 


  reply	other threads:[~2021-09-22  1:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-21 16:28 Jason Pyeron
2021-09-22  1:50 ` Richard Beels [this message]
2021-09-22  1:50 ` Richard Beels
2021-09-22  1:50 ` Richard Beels
     [not found] ` <20210922015129.EC1F13858403@sourceware.org>
2021-10-01 14:58   ` 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=20210922015019.xUuvxiAO_-SxX-5ktV5SDoAbXIqXE7y_4fEfx3ATHgE@z \
    --to=rbeels@yahoo.com \
    --cc=cygwin@cygwin.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).