delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/06/28/10:13:09

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org DE2BF3851C09
Authentication-Results: sourceware.org; dmarc=none (p=none dis=none)
header.from=dronecode.org.uk
Authentication-Results: sourceware.org;
spf=none smtp.mailfrom=jon DOT turney AT dronecode DOT org DOT uk
Authentication-Results: btinternet.com;
auth=pass (PLAIN) smtp.auth=jonturney AT btinternet DOT com
X-Originating-IP: [31.51.206.31]
X-OWM-Source-IP: 31.51.206.31 (GB)
X-OWM-Env-Sender: jonturney AT btinternet DOT com
X-VadeSecure-score: verdict=clean score=0/300, class=clean
X-RazorGate-Vade: gggruggvucftvghtrhhoucdtuddrgeduhedrudeliedgjeehucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuueftkffvkffujffvgffngfevqffopdfqfgfvnecuuegrihhlohhuthemuceftddunecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefuvfhfhffkffgfgggjtgfgsehtjeertddtfeejnecuhfhrohhmpeflohhnucfvuhhrnhgvhicuoehjohhnrdhtuhhrnhgvhiesughrohhnvggtohguvgdrohhrghdruhhkqeenucggtffrrghtthgvrhhnpeeguefhkedvfeeigefhhedtjeehieegtdehhffhheffgfehheegtdffleejteeuueenucfkphepfedurdehuddrvddtiedrfedunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehhvghloheplgduledvrdduieekrddurdduudejngdpihhnvghtpeefuddrhedurddvtdeirdefuddpmhgrihhlfhhrohhmpeeojhhonhdrthhurhhnvgihsegurhhonhgvtghouggvrdhorhhgrdhukhequceuqfffjgepkeeukffvoffkoffgpdhrtghpthhtohepoegthihgfihinhestgihghifihhnrdgtohhmqe
X-RazorGate-Vade-Verdict: clean 0
X-RazorGate-Vade-Classification: clean
Subject: Re: Listing only manually installed package
To: The Cygwin Mailing List <cygwin AT cygwin DOT com>
References: <20200627 DOT 013459 DOT 435705702566725844 DOT yasu AT utahime DOT org>
<0310877b-25b4-168d-f605-98b924ca6b62 AT SystematicSw DOT ab DOT ca>
<20200627 DOT 030404 DOT 1219230595825821536 DOT yasu AT utahime DOT org>
<b400e131-e27d-3187-2d65-0a5a29cefbae AT SystematicSw DOT ab DOT ca>
From: Jon Turney <jon DOT turney AT dronecode DOT org DOT uk>
Message-ID: <33a21818-8fa4-e05a-64c5-90c0a01bdb63@dronecode.org.uk>
Date: Sun, 28 Jun 2020 15:12:17 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101
Thunderbird/68.9.0
MIME-Version: 1.0
In-Reply-To: <b400e131-e27d-3187-2d65-0a5a29cefbae@SystematicSw.ab.ca>
X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00, FORGED_SPF_HELO,
KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, RCVD_IN_DNSWL_LOW,
RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_PASS, SPF_NONE,
TXREP autolearn=no autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <http://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: <http://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

On 26/06/2020 23:20, Brian Inglis wrote:
> On 2020-06-26 12:04, Yasuhiro KIMURA wrote:
>> From: Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca>
>> Subject: Re: Listing only manually installed package
>> Date: Fri, 26 Jun 2020 11:20:26 -0600
>>
>>> $ grep '\s1$' /etc/setup/installed.db	# manual
>>> $ grep '\s0$' /etc/setup/installed.db	# auto
>>>
>>> $ awk '1 == $3' /etc/setup/installed.db	# manual
>>> $ awk '0 == $3' /etc/setup/installed.db	# auto
>>>
>>> I can't remember what the pristine state of the Base category packages are,
>>> I've messed around with the setup files so much for so long.
>>
>> I checked /etc/setup/installed.db on my 32bit and 64bit console but in
>> each case all lines end with "0". Therefore,
>>
>> From: Andrey Repin <anrdaemon AT yandex DOT ru>
>> Subject: Re: Listing only manually installed package
>> Date: Fri, 26 Jun 2020 20:15:21 +0300
>>
>>> AFAIK, there's no way to tell if a package was manually selected or not.
>>> Cygwin's setup just don't store this information.
>>
>> As you say, unfortunately there seems to be no way to tell if a
>> package was installed manually or automatically.
> 
> Just checked the setup sources, so unless there is a bug, you are running a
> setup version over 5 years old, or not running Cygwin setup, user_picked is part
> of the package metadata that is still read from and written to installed.db.

Unfortunately, it seems there is a bug (since 2.895, 18 months ago, 
...), and this information doesn't always get recorded correctly.

Thanks for drawing my attention to this.
--
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