public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Adam Dinwoodie <adam@dinwoodie.org>
To: cygwin@cygwin.com
Subject: Cygwin installer command line package selection
Date: Thu, 10 Feb 2022 14:51:08 +0000	[thread overview]
Message-ID: <20220210145108.iacr6tllvdr6qy3d@lucy.dinwoodie.org> (raw)

Following on from the report at [0], I've been doing a bit of digging
around a problem I spotted a while ago, and now have a clear bug report.
I'm not sure if it's related to that report, or if the reporter there
was experiencing some other unexpected behaviour.

Simple-ish test case:

1. Get a brand new Windows 11 install.  (I'm using the Microsoft-
   provided Windows 11 Pro Gen2 image in the Azure marketplace, on a
   fresh Azure D2as v5 VM, although I really don't think that's
   significant.)

2. Log in, open Edge, download setup-x86_64.exe from cygwin.com.

3. From PowerShell, cd to the download directory, then run
   `.\setup-86_64.exe -P 2048-cli`.

4. Click through the screens that appear, leave default options selected
   where possible, and select https://mirror.kernel.org as the mirror,
   until you get to the package selector screen.

5. At the package selector screen, since this is a brand new install,
   you should be on the Category view, with nothing expanded.  Expand
   All > Games, and All > Base.  For all the base packages, and the
   2048-cli package under Games, I'd expected the latest non-test
   version to be selected in the "New" column, but instead the "New"
   column is blank for all those packages.  (It shows "Skip", as
   expected, for all the packages I'm not expecting to be installed.)

6. Switch to Pending view.  I'd expected to see a list showing all the
   base packages, plus 2048-cli, as packages pending installation, but
   instead there's just a note saying "Nothing to install or update."

7. Click Next.  The "Review and confirm changes" screen that appears has
   a list of packages to install that looks like what I'd expect based
   on the command line -- a bunch of things that look like they're part
   of base Cygwin, plus 2048-cli -- but clearly doesn't match what was
   displayed on the previous screen.

I'm 90% sure this behaviour changed at some point in the past, and
previously I'd have had the packages to be installed displayed in the
package selector screen as well as the review screen.  I think -- much
less confident here -- that it changed some time around when the
dependency resolution got updated such that setup suggested a variety of
dependency resolutions.  I've not actually tried going back and checking
versions when this behaviour changed, though.

I believe I see this behaviour, or something similar, whenever I try to
install packages using the `-P` interface to setup.exe, and it has been
mildly annoying me for a while, but until now I didn't get as far as
properly characterising the bug or producing a STC.

[0]: https://cygwin.com/pipermail/cygwin/2022-February/250744.html

             reply	other threads:[~2022-02-10 14:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-10 14:51 Adam Dinwoodie [this message]
2022-02-10 15:59 ` Vanda Vodkamilkevich

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=20220210145108.iacr6tllvdr6qy3d@lucy.dinwoodie.org \
    --to=adam@dinwoodie.org \
    --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).