From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from maybe.home.utahime.org (gate.home.utahime.org [183.180.29.210]) by sourceware.org (Postfix) with ESMTPS id 1051338515D6 for ; Tue, 30 Mar 2021 09:47:23 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 1051338515D6 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 ECDSA (P-384) server-digest SHA384) (No client certificate requested) by maybe.home.utahime.org (Postfix) with ESMTPS id 656D4154AA for ; Tue, 30 Mar 2021 18:47:16 +0900 (JST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=utahime.org; s=maybe2019112701; t=1617097636; bh=Lrh4TatzCW+SmplXHDbLYwj95AVcGuaLf2hdWV8bx34=; h=Date:To:Subject:From:In-Reply-To:References; b=rSS+a+hI59qGBN6xq3iRY4n0hAPbdvtczMrSdqF5aktnPM+FUoAip9j8DNLPQpl22 JpSjNpQU7dHQKWYPYCQbaj43rI4fAP8UdtD3IArg6Ewonki+USyuXVa7Bzrwfx0alN dsvgXnhb6QwPjwerEg9Zq3fAOVQKRhZLm0eVZrhwcc19GV1He87+WltZhwjxyTOOUK H/P5T0hSTiWP3x330GCk4ISpBL8D+gmJdJm/x4Kcw4Ra5djHAV6+LOw1MTwnURGSAQ uqbbPFkvlsxbFQgDVKD6qzCbOs6eeA9kaezyekGnnzDe1mqWxQS/cEuhkDJMSSr2El WHmH7qAARFaPg== 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 X25519 server-signature ECDSA (P-384)) (No client certificate requested) by eastasia.home.utahime.org (Postfix) with ESMTPSA id 3A92D28B60; Tue, 30 Mar 2021 18:47:14 +0900 (JST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.1 at eastasia.home.utahime.org Date: Tue, 30 Mar 2021 18:46:17 +0900 (JST) Message-Id: <20210330.184617.1477678781220888441.yasu@utahime.org> To: cygwin@cygwin.com Subject: Re: How to uninstall packages that were installed as dependency but are no longer required From: Yasuhiro Kimura In-Reply-To: <4c3c2dc4-6de3-9a3b-b39a-986e651275c3@gmail.com> References: <20210330.145159.2203755649720422295.yasu@utahime.org> <4c3c2dc4-6de3-9a3b-b39a-986e651275c3@gmail.com> X-Mailer: Mew version 6.8 on Emacs 27.2 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.5 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: Tue, 30 Mar 2021 09:47:24 -0000 From: Marco Atzeri via Cygwin Subject: Re: How to uninstall packages that were installed as dependency but are no longer required Date: Tue, 30 Mar 2021 10:07:04 +0200 > as currently we are not tracking between choosen packages > and installed by dependency, Cygwin is lacking such capabilities > > the most likely candidates for removal are the different version > of the same libraries > > $ cygcheck -cd | grep "^lib" | tee lib.txt > > in my case I see > > libvpx1 1.3.0-2 > libvpx3 1.5.0-1 > libvpx4 1.6.1-1 > libvpx5 1.7.0-1 > > $ cygcheck-dep -q -n libvpx1 libvpx3 libvpx4 libvpx5 > libvpx1: is needed for ( ) > libvpx3: is needed for ( ) > libvpx4: is needed for ( ) > libvpx5: is needed for ( gstreamer1.0-plugins-good libvpx-devel ) > > Regards > Marco I didn't know cygcheck-dep package and it seems very helpful to uninstall unnecessary dependency. Thanks for letting me know it. --- Yasuhiro Kimura