delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2025/08/14/04:05:35

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 57E85ZqN2355979
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 57E85ZqN2355979
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=YGq4DREr
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7B54E3858C78
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1755158733;
bh=ZCPWixfwcuG5B6Hgg3KVSb29tC/vYMKT/aL8TItKQKs=;
h=Date:To:Subject:In-Reply-To:References:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
From;
b=YGq4DRErRyTciYFq9sNCmfJn9JUnaqV/E50Hl+CKFOtasANTQYcdYNh1Cezxsu7PW
iJx9JwKB86PGkXRFsic19HghOAItNLOuSygCaJ9oDwEymAJhyWUpmLO4HGwBN6hM4C
vlLPb5f2mbwfFGnoeQk/ns48yy6iXdY7FRTFooWc=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 2CFC43858C53
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 2CFC43858C53
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1755158707; cv=none;
b=TlSL+pisfYTzPqsO8EISW4IK4UBIVrZO5dRRqZzxVWq+vYOwQfTQI1hd4iTfZRptlJ9G/naLBao83o0enw1XQbxLbC2tEAZGwWbGsd//LQ9dxfOpzDfLr9qbmQteW7wkGqPrkFys8/z/Nlcdq/vZvgIm86nsczsEUMByK1W01gs=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1755158707; c=relaxed/simple;
bh=R2EKZ3LodwrejRVMWEmEcOdUWg9CCQzlVbfALhKGEWs=;
h=DKIM-Signature:Date:From:Message-ID:To:Subject:MIME-Version;
b=xQXMPVH2CI9ohYRBwILVjyFJrQrqOnLtfDG5tD41mUjsBH0QxMJCjcfv0m7AUXa3D9EiQjKjG5kWjbTJ5Rt+Q1yz2WtikIYZXzU5enHFAIA+t9UMXLKKxJ2xHaJ4b/DBq0XCySjbhUWUdQZLMOEXEsZByr7GmfFanJ2ZqwpEBwk=
ARC-Authentication-Results: i=1; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2CFC43858C53
X-Yandex-Fwd: 1
Date: Thu, 14 Aug 2025 10:58:15 +0300
X-Mailer: The Bat! (v9.3.4) Professional
Message-ID: <272654875.20250814105815@yandex.ru>
To: Jon Turney <jon DOT turney AT dronecode DOT org DOT uk>, cygwin AT cygwin DOT com
Subject: Re: possible setup bug in /etc/setup/installed.db contents
In-Reply-To: <ed79f187-6e4a-4ca0-ae48-3652820e7f22@dronecode.org.uk>
References: <aa3c86d6-519a-d401-0cb4-ce9ddb1d91b6 AT jdrake DOT com>
<428bac49-d577-46fc-9c1c-3d43767c8609 AT SystematicSW DOT ab DOT ca>
<ed79f187-6e4a-4ca0-ae48-3652820e7f22 AT dronecode DOT org DOT uk>
MIME-Version: 1.0
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Andrey Repin via Cygwin <cygwin AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
Cc: Andrey Repin <anrdaemon AT yandex DOT ru>
Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 57E85ZqN2355979

Greetings, Jon Turney!

> On 13/08/2025 06:57, Brian Inglis via Cygwin wrote:
>> On 2025-08-12 23:28, Jeremy Drake via Cygwin wrote:
>>> At least a non-obvious behavior.  It seems that packages explicitly
>>> selected via the `-P` command line argument are recorded in
>>> /etc/setup/installed.db with `0` in the 3rd column, where packages
>>> explicitly selected via the GUI are recorded with a `1` in that column.
>> > Possibly because setup in that mode can not decide whether each package > is really a dependency or selection?

> No, I think this is just a bug.

> If the package is listed in after a '-P' option, it's been "explicitly
> selected by the user", so this flag should be set to record that.

> (In fact, I have a vague memory of fixing something like this once already)

Could this be an issue when paired with other options, like if fully
unattended installation is chosen?

>> Do we need a pick fragment e.g. -P pkg=ver#[01] or option --pick[=]{0|1}?
> I'd consider a patch for the second form, an explicit
> '--record-use-picks-(enable|disable)' option, although it seems a bit excessive.

The intended meaning of the switch is clear enough, IMO. Adding more options
to that is… excessive.


-- 
With best regards,
Andrey Repin
Thursday, August 14, 2025 10:56:39

Sorry for my terrible english...

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019