From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.utahime.jp (gate.utahime.jp [183.180.29.210]) by sourceware.org (Postfix) with ESMTPS id E0311388C007 for ; Fri, 26 Jun 2020 18:09:21 +0000 (GMT) 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@utahime.org Received: from eastasia.home.utahime.org (eastasia.home.utahime.org [192.168.174.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by gate.utahime.jp (Postfix) with ESMTPS id 6967C7D88 for ; Sat, 27 Jun 2020 03:09:19 +0900 (JST) 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== Received: from localhost (rolling.home.utahime.org [192.168.174.11]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by eastasia.home.utahime.org (Postfix) with ESMTPSA id F070A59CAC; Sat, 27 Jun 2020 03:09:17 +0900 (JST) 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@cygwin.com Subject: Re: Listing only manually installed package From: Yasuhiro KIMURA In-Reply-To: <0310877b-25b4-168d-f605-98b924ca6b62@SystematicSw.ab.ca> <647292733.20200626201521@yandex.ru> References: <20200627.013459.435705702566725844.yasu@utahime.org> <0310877b-25b4-168d-f605-98b924ca6b62@SystematicSw.ab.ca> X-Mailer: Mew version 6.8 on Emacs 26.3 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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@cygwin.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: , X-List-Received-Date: Fri, 26 Jun 2020 18:09:23 -0000 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