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 1051338515D6 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=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== 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 AT cygwin DOT 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 DOT 145159 DOT 2203755649720422295 DOT yasu AT utahime DOT org> <4c3c2dc4-6de3-9a3b-b39a-986e651275c3 AT gmail DOT com> X-Mailer: Mew version 6.8 on Emacs 27.2 Mime-Version: 1.0 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 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: 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 -- 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