DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 5BHDGGqT1272967 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 5BHDGGqT1272967 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=Bi9rF+k1 X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8AB174BA2E3B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1765977375; bh=exJLaAIzjkyGSmjmSvbvJPjh5JBHvuW48i3Wjwz7XXo=; h=Date:Subject:To:References:Cc:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=Bi9rF+k1oCOK9Y41dT4f2xw0UqgaT8WL09X0IxIoz11hUvqApLPIYCgiMr9B0t+8e n9yPUEWH8Zx2kXhGV85xrVyDaePi3bZIY1MjKKaD7gO0WuDJmB+JQPxps6HY038SQy 3EiZiaVpftT8p0Vl0JYDP+Yp1dpkLLUe2A308av4= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 4F6224BA2E1E ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 4F6224BA2E1E ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1765977354; cv=none; b=wv9/GNXp926/3Qkb1L59I8R7rhWsPjcBbJf5gnGbFOJlf6FM3oA679dEk5GilKK2LSOwLgbAvuVBcimYsvW7UdtAxx+MCbmrSv14y7Z3vIWaX5DHITp9MtIthF62g8CXM8MuDtD8yxXY/Kj4NURzr+yeOXtJuEGCgu7X8z41Wms= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1765977354; c=relaxed/simple; bh=gGExWDt8UrYazHu8T5UxvDhPdIE5ATtFQYPGguMhTys=; h=Message-ID:Date:MIME-Version:Subject:To:From; b=bFzgwrTCdj+++TmEOVzU/NzY9/10DTMte5RDNmaCOVIJnIArbQTs2Pdnlgn3WX3YxEoqbvLkAX6BTErsEV4GMw1WuxpiI6CHv8iZPA3EqqBM4p0joEWn081uoNmnbGYc67KLV5vETuP8ALrZRmK1K9hMw3F3Gy3PjfhG0UTv878= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4F6224BA2E1E X-SNCR-Rigid: 68CA1EB0092B94FC X-Originating-IP: [86.143.185.36] X-OWM-Source-IP: 86.143.185.36 X-OWM-Env-Sender: jon DOT turney AT dronecode DOT org DOT uk X-RazorGate-Vade: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgdegvdeiiecutefuodetggdotefrodftvfcurfhrohhfihhlvgemuceutffkvffkuffjvffgnffgvefqofdpqfgfvfenuceurghilhhouhhtmecufedtudenucenucfjughrpefkffggfgfuvfhfhfevjggtgfesthejredttddvjeenucfhrhhomheplfhonhcuvfhurhhnvgihuceojhhonhdrthhurhhnvgihsegurhhonhgvtghouggvrdhorhhgrdhukheqnecuggftrfgrthhtvghrnhepfeeiiefggfetgeeifeeuueffveeuueelhedtffeiteefgeevfeehvdfgtdehvddvnecuffhomhgrihhnpegtohhnshhtrghnthdrtghomhenucfkphepkeeirddugeefrddukeehrdefieenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhephhgvlhhopegludelvddrudeikedruddruddtlegnpdhinhgvthepkeeirddugeefrddukeehrdefiedpmhgrihhlfhhrohhmpehjohhnrdhtuhhrnhgvhiesughrohhnvggtohguvgdrohhrghdruhhkpdhrvghvkffrpehhohhsthekiedqudegfedqudekhedqfeeirdhrrghnghgvkeeiqddugeefrdgsthgtvghnthhrrghlphhluhhsrdgtohhmpdgruhhthhgpuhhsvghrpehjohhnthhurhhnvgihsegsthhinhhtvghrnhgvthdrtghomhdpghgvohfkrfepifeupdfovfetjfhoshhtpegsthhprhgurhhgohdtuddupdhnsggprhgtphhtthhopedvpdhrtghpthhtoheptgihghifihhnsegthihgfihinhdrtgho mhdprhgtphhtthhopehsohhmihgrnhdtkeesghhmrghilhdrtghomh X-RazorGate-Vade-Verdict: clean 0 X-RazorGate-Vade-Classification: clean X-VadeSecure-score: verdict=clean score=0/300, class=clean Message-ID: Date: Wed, 17 Dec 2025 13:15:50 +0000 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Setup not accepting multiple pkgs on the commandline anymore? To: Soren References: Content-Language: en-US Cc: cygwin AT cygwin DOT com In-Reply-To: X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Jon Turney via Cygwin Reply-To: Jon Turney Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" On 16/12/2025 18:22, Soren via Cygwin wrote: > 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: Yeah, specifying '--packages foo' doesn't mean "only install foo", because that would probably be useless, but "add foo to installation." What you'll get is the union of: * all base packages * foo * the recursive dependencies of foo This hopefully results in 'foo' working. Of course, setup shouldn't download and install things which are already installed, but if the root and local package directory specified are empty, what you describe is expected. All of which isn't to say there isn't a bug here, or there's something less surprising we could do, because this code isn't too clever, but more details are required to make that determination. > 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. Unfortunately, setup disconnects from the terminal when it elevates for administrator privileges. Maybe this is a misfeature, but I suspect it's unavoidable. You can use -B/--no-admin, or run in an already elevated session to avoid that. Adding -v/--verbose will produce lots of pointless debug output. -- 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