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 E0311388C007 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=utahime.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=yasu AT utahime DOT org DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=utahime.org; s=maybe2019112701; t=1593194959; bh=iC8pDQ/GsxVAF7/K1tQFnkUELfRybFdale0MH7jKNCo=; h=Date:To:Subject:From:In-Reply-To:References; b=HO0APtlS1ILnRHkAWYy0Dq87PUUjvT3MoS7thepRzdZ12P/WtcSOEk7fjqIhBZ2jP Wr12dfU4//OfvTTjDLr6x9ufBitbaS5AckwH4UFBrE618K0dlYFH5VyYft2JSA4zt+ avXTmfjfbQM9Yf4cSS6UsuhJo+ZN1yQzvEa5SPFXrJX0wbWcwPXLhJ636Ec6eHXCMT 1CRjJMA2a+0x+JoWLHolcK+ZJbijK/Z1Ocgo3DB27aVQOEcNVqcHETTS2s5YstWQVc 8EHLqpHoGYM7N7ZdK7O3yRlq6jjZcpqypvPKtTojiDoYE2S9cg+QW4FEo0xxB3zRA4 6eYaWZF+vR1bw== X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.102.3 at eastasia.home.utahime.org Date: Sat, 27 Jun 2020 03:04:04 +0900 (JST) Message-Id: <20200627.030404.1219230595825821536.yasu@utahime.org> To: cygwin AT cygwin DOT com Subject: Re: Listing only manually installed package From: Yasuhiro KIMURA In-Reply-To: <0310877b-25b4-168d-f605-98b924ca6b62@SystematicSw.ab.ca> <647292733 DOT 20200626201521 AT yandex DOT ru> References: <20200627 DOT 013459 DOT 435705702566725844 DOT yasu AT utahime DOT org> <0310877b-25b4-168d-f605-98b924ca6b62 AT SystematicSw DOT ab DOT ca> X-Mailer: Mew version 6.8 on Emacs 26.3 Mime-Version: 1.0 X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham 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 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: cygwin-bounces AT cygwin DOT com Sender: "Cygwin" From: Brian Inglis 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 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. --- Yasuhiro KIMURA -- 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