public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Cygwin installer command line package selection
@ 2022-02-10 14:51 Adam Dinwoodie
  2022-02-10 15:59 ` Vanda Vodkamilkevich
  0 siblings, 1 reply; 2+ messages in thread
From: Adam Dinwoodie @ 2022-02-10 14:51 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Cygwin installer command line package selection
  2022-02-10 14:51 Cygwin installer command line package selection Adam Dinwoodie
@ 2022-02-10 15:59 ` Vanda Vodkamilkevich
  0 siblings, 0 replies; 2+ messages in thread
From: Vanda Vodkamilkevich @ 2022-02-10 15:59 UTC (permalink / raw)
  To: Adam Dinwoodie; +Cc: cygwin

In fact that's exactly what I had...
Funny that we both used the same package for this test!
(sorry no attachment of the initial email because I don't know how to do it
with Gmail android)

Le jeu. 10 févr. 2022 à 15:52, Adam Dinwoodie <adam@dinwoodie.org> a écrit :

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-02-10 15:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-10 14:51 Cygwin installer command line package selection Adam Dinwoodie
2022-02-10 15:59 ` Vanda Vodkamilkevich

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