DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 5BGIMoj94192385
Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com
Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com
DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 5BGIMoj94192385
Authentication-Results: delorie.com;
	dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=uCWSQpm7
X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9F2B64BA2E1D
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1765909369;
	bh=KNDuRsRmgfftHflCIA1KT3pdbt6ISWfXBoRB0G7hY7Y=;
	h=Date:Subject:To:List-Id:List-Unsubscribe:List-Archive:List-Post:
	 List-Help:List-Subscribe:From:Reply-To:From;
	b=uCWSQpm7vLmwvJisKu9tLrnb6hlrlVVEIcC1Uu51fHRODe+oEzNO4iuWS1pIjcJoE
	 izYqUxvChGxOynScWskUUK2yN/KmjXY8+m8yk/dLDPsnfdMCa5rX1IBgPL6cN/wZKg
	 b3lahlbVOK92Yn7dC1/05KpmXQ80JdUxq2fzZA/8=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A30554BA2E04
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org A30554BA2E04
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1765909350; cv=none;
 b=OfH7Ys1gSIaNT7pIrCRBXa8zhLchGcBQtkzuOTcLcqXu1xRWm0pxRv+D+3QCyWPFogACPbZp9pOxen9s9hNUGIq2pS4jI2bww0Zz3I55ZUgclrDJDC06SS921ISNSWCS0gOsJYJ87zAExIhwaluXTC7RVCIXDszssf0GleCyl1c=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
 t=1765909350; c=relaxed/simple;
 bh=1ckIxy71BPEkIWDZbuZflLYL4uO4ymxQCTVKDuEHNQE=;
 h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To;
 b=n6SmtrNZTuURhkslgcQvsvfb8bxGuGSt443k/hrQlGQkiVqKo2uPVWSv85AvfAi4ogVk7V+R7rwQ0FHum4zta1fFfTc26LLGZr8hXnQg/HUzidPETuY+3K3Dg7TEJTYa/NmsgJeJtZyjhSyvwNX95/WnAurFhliQsmIv9DYeLbA=
ARC-Authentication-Results: i=1; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A30554BA2E04
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1765909349; x=1766514149;
 h=to:subject:message-id:date:from:mime-version:x-gm-gg
 :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=iktpRVrAlIRAk7n0rmmRTsi6/gSnrTFdq52BmYoSqu0=;
 b=HrLC7q/hJgWY7EN5RMOvzhL7b2NebLB22uz68T/utmlAbTzGnZleMaP4PGa4U2ZFBE
 Hm+xNvGcz+bjdksE2ciAxBUQiveCf0JZD2WD3OVSWTqNPd9LVvQ4oikZsCLpl86zgM0f
 gCjsZRpV1FUW+8s4Zg0GnBzqlsAIB9/ft2hMbGvqX1VK2Lhewbk0xy8ylWIljtt1443V
 wE/ZbKCxo6Yvw4KtmPL9LtnsiXKZqOw4JEFt53zSpo3ukREhfOdw00iEpMz4mGE2qSrq
 FxhCSOnzeIDqOGcdGyNO8fG9z92H2V4FcBAl+T7oB+OrkWDUXyNZD87pFXrQGWWwOS1t
 KcPA==
X-Gm-Message-State: AOJu0YzmLnFD4QCkVhHNEUo88hZSe2tIkKr5F1BeoNVlgtB3kLEuO+Ex
 y9MaaHsefO/xGHnGNspuHbk3Tk6Z5jYe4aBp4vhp5Yca7ZThC9jBm29YDtnUgthjVHqNfojvSgb
 c2LmznZ0Wmi96TSdGmU+FFgvFu2Ytyrip2doB
X-Gm-Gg: AY/fxX4vfL9ax4dG8K1+LX2/quMuh1ss6CcmeAwox4TuKV+O/9I7YwDmDrAr8EgKvhj
 M3W1QD2C1q2yZH7R41g7mkcVWmdnJb10mHOPAkrhla7KLovqJpXJmNFF02ZV886SC7dPnPR8TUb
 bSSdG898P6BuvTCg3YTF0ninj7+kDS8haOfw3HGA/YnR5s/TSyELkw5RmuYSKrYD9nNVDT9tj5i
 xwaLeOSlJaMZjBLQjBnpgT/DGfHIhfMJ8YOyRVDh2cLwk2UkPT6Rq7ap/Wosy8rAQVk
X-Google-Smtp-Source: AGHT+IGsnPBr71oQy3haM0ZBo3WwYqx4gmOY2QHSsF0N3Rt5hks/3RfU9xw8H7CkMHYMqiObPLjOD7sxFScyHqN2FJY=
X-Received: by 2002:a05:651c:514:b0:372:8e46:3701 with SMTP id
 38308e7fff4ca-37fd08e8643mr49631471fa.38.1765909348694; Tue, 16 Dec 2025
 10:22:28 -0800 (PST)
MIME-Version: 1.0
Date: Tue, 16 Dec 2025 13:22:16 -0500
X-Gm-Features: AQt7F2oJ2VwAQBdbdVdwzwVeCzFC8esICzbCIsYAlbJy3saeFnZu-MpjuWbuttc
Message-ID: <CAGB_HuSmfu0+z7R4T2=ofHhrL_yLZfxDj5goeU_WYRF13GStrg@mail.gmail.com>
Subject: Setup not accepting multiple pkgs on the commandline anymore?
To: cygwin@cygwin.com
X-Content-Filtered-By: Mailman/MimeDel 2.1.30
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
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>
From: Soren via Cygwin <cygwin@cygwin.com>
Reply-To: Soren <somian08@gmail.com>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie.com@cygwin.com>

Hello Jon, Cygwinstas,
I am attempting to operate setup.exe by commandline arguments and what I'd
like to have happen, doesn't. In advance, sorry to bore readers if this is
an often-discussed issue or whatever. The point I want to make is that
`--packages' does not seem to work as how it's documented.

First I tried building this pipeline (I am not a shell genius, but I get by
...anyway, improvement suggestions welcome):

cygcheck -e 'perl-pod-*' | sed -ne 's/\s:.\+//p' | xargs | sed -ne 's/
/,/gp' |
  tee Documents/script-data/CygwinPodDists.lst

Tmpfile Documents/script-data/CygwinPodDists.lst now contains:

perl-Pod-Coverage,perl-Pod-Coverage-TrustPod,perl-Pod-Escapes,perl-Pod-Eventual,perl-Pod-LaTeX,perl-Pod-Markdown,perl-Pod-Parser,perl-Pod-Perldoc,perl-Pod-Plainer

...which ought to be valid arguments for --packages

However, what I intended to have happen does not. Even when I simplify it
to offer only a single package name it does not do the right thing:

$ "/cygdrive/c/Program Files/setup-x86_64.exe" -q --download --root
C:\ix\cygwin  --local-package-dir "C:/Users/soren/cygDL.dir" --site
https://cygwin.mirror.constant.com --include-source --packages
"perl-Pod-Eventual"

What DOES it do? It downloads all (AFAICT) of base cygwin!:
$ find cygDL.dir/ -type f
cygDL.dir/https%3a%2f%2fcygwin.mirror.constant.com
%2f/noarch/release/base-cygwin/base-cygwin-3.8-2-src.tar.xz
cygDL.dir/https%3a%2f%2fcygwin.mirror.constant.com
%2f/noarch/release/base-cygwin/base-cygwin-3.8-2.tar.xz
cygDL.dir/https%3a%2f%2fcygwin.mirror.constant.com
%2f/noarch/release/base-files/base-files-4.3-3-src.tar.zst
cygDL.dir/https%3a%2f%2fcygwin.mirror.constant.com
%2f/noarch/release/base-files/base-files-4.3-3.tar.zst
... etc etc ...

Is setup in fact trying to fulfill all the dependency prerequisits for
"perl-Pod-Eventual"?!? As a write this, that just occured to me. Sure
enough:

$ find cygDL.dir/ -type f -name '*Pod*'
cygDL.dir/https%3a%2f%2fcygwin.mirror.constant.com
%2f/noarch/release/perl-Pod-Eventual/perl-Pod-Eventual-0.094003-2-src.tar.zst
cygDL.dir/https%3a%2f%2fcygwin.mirror.constant.com
%2f/noarch/release/perl-Pod-Eventual/perl-Pod-Eventual-0.094003-2.tar.zst
Well. I won't write "ok, nevermind" since in the case of multiple
comma-delimited package names it appeared that setup did nothing at all.
And couldn't setup print SOMETHING to the console to mark the operation of
fetching each package, so that the user has some idea of what it's doing?
That would be really sweet.

    Ciao,
        Soren

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