X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2741F3861011 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1617091629; bh=S59TxpUnx27ugtmMI0S8EXcwRpCPDx3DSZGv0O++ccM=; h=Subject:To:References:Date:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=qEkAmdERV0uGoeaS9MxGVJzmR/1EdthIQohaUL3bR+3rMNNZ3YP7MrL5LEanybAdA WJZTF2wmr2D4qIpbAo0u4Fg7jHU3ZLLiSxKqrEMXxi96Ykk13ATUoxSzCbCTP9jrx5 Wj1RJI+LhF57BUAs1h4oyT6wheoiXJVfzbDYRe28= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org CE6F23851416 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=SW5rS8bYNmqYfJ0mbN/RMVhS8kdUKk2ZfXVtDt8uMeE=; b=ZFkNEpK60iAPJEU/oTAPyMVnoLz0oN9E+5yeaZxCpiJxA7q1ytDhFtMzovv5bSZ06B D6fSKZ9VTb3xW/szvWKnaw4ElLtPIgijx629fp0dJDEDKlG+9ekcW6W+vR5zLxM98AIr MMCN67c86YpxQ32DZrIeBHYRYsVcrKZQ/kkJLGW0llu+jCaAEYpC4DMWLRuhG6fdLWYF 5DBNzwnCFAqpviG1IKi8nRy4MVTWwkaMmzOKhDNkNWN7WrE9Ah7SQ499H3+o7xjQkb93 yMco1dfGYxZBzLipsYZo2mAMRr8Ev/hq7tVjqKsFJWUwBksjBH/avSGH5iLcfxdAomhZ LA2g== X-Gm-Message-State: AOAM532bnoGnjmgPPo/53ILzEaBUwInvzild+HA6GXMDv1txb4uGikwp 461petW2oURtUMRXeiN2aypyIrOa6hvT1Q== X-Google-Smtp-Source: ABdhPJxX1WjW7W46beD/Iakh1ZNJ3JZhTi94UMLLt6OqP5XxUzKIMMcM8Cpywy75V/4kG2Cw5U/6Cw== X-Received: by 2002:a17:907:16a8:: with SMTP id hc40mr31672491ejc.40.1617091624932; Tue, 30 Mar 2021 01:07:04 -0700 (PDT) Subject: Re: How to uninstall packages that were installed as dependency but are no longer required To: cygwin AT cygwin DOT com References: <20210330 DOT 145159 DOT 2203755649720422295 DOT yasu AT utahime DOT org> Message-ID: <4c3c2dc4-6de3-9a3b-b39a-986e651275c3@gmail.com> Date: Tue, 30 Mar 2021 10:07:04 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.9.0 MIME-Version: 1.0 In-Reply-To: <20210330.145159.2203755649720422295.yasu@utahime.org> Content-Language: it X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, 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: , From: Marco Atzeri via Cygwin Reply-To: Marco Atzeri Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: cygwin-bounces AT cygwin DOT com Sender: "Cygwin" On 30.03.2021 07:51, Yasuhiro Kimura wrote: > Hello, > > If you repeat the update of installed Cygwin packages for a while, > it's quite possible that there are some packages that were installed > as dependency but are no longer required by any others. > > Then is there any way to detect and uninstall such ones? > > I expect such way as `apt autoremove` of Debian or `dnf autoremove` of > Fedora. > > Best Regards. > > --- > Yasuhiro Kimura 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 -- 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