From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id SDQ0O6m6eWDVFwEAgWs5BA (envelope-from ) for ; Fri, 16 Apr 2021 18:26:17 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id GCyoNqm6eWAWYgAAB5/wlQ (envelope-from ) for ; Fri, 16 Apr 2021 16:26:17 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 668C41C102 for ; Fri, 16 Apr 2021 18:26:17 +0200 (CEST) Received: from localhost ([::1]:60708 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lXRIO-0007zr-Jz for larch@yhetil.org; Fri, 16 Apr 2021 12:26:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38160) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lXEUc-00018d-6Q for bug-guix@gnu.org; Thu, 15 Apr 2021 22:46:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56420) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lXEUb-0008MJ-Ut for bug-guix@gnu.org; Thu, 15 Apr 2021 22:46:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lXEUb-0001sC-RR for bug-guix@gnu.org; Thu, 15 Apr 2021 22:46:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#47748: Packages which cant be find/removed by guix remove Resent-From: bo0od Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 16 Apr 2021 02:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47748 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Mark H Weaver , Julien Lepiller Received: via spool by 47748-submit@debbugs.gnu.org id=B47748.16185411327163 (code B ref 47748); Fri, 16 Apr 2021 02:46:01 +0000 Received: (at 47748) by debbugs.gnu.org; 16 Apr 2021 02:45:32 +0000 Received: from localhost ([127.0.0.1]:39733 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lXEU8-0001rT-5t for submit@debbugs.gnu.org; Thu, 15 Apr 2021 22:45:32 -0400 Received: from mx1.riseup.net ([198.252.153.129]:41136) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lXEU5-0001rG-OR for 47748@debbugs.gnu.org; Thu, 15 Apr 2021 22:45:30 -0400 Received: from fews1.riseup.net (fews1-pn.riseup.net [10.0.1.83]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "Sectigo RSA Domain Validation Secure Server CA" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 4FM0tf68HgzDxZF; Thu, 15 Apr 2021 19:45:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1618541124; bh=t/si30ae4f+Q6slK9zuGMl7vVylzeYubs3DMgWzu6LI=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=GMX6/HsGIxkAaeTxHNrX0qDd/AZ8G0VbVMMpi/mqxSCi5RmYrh61qGqF/tJ+jayN2 wuOKn9kDX5YTbyCqfRH6c/G8cH60L4QgS/ghZzQYIdev1XM9OUK+SKkB1NI2u0/83d KYeO/Q6bLvyYOBu7hxQ9ELWE9q0sXr9zHneQM82I= X-Riseup-User-ID: 71026FDF84B1CE77AB91B97798EA36C9C0144160CD9507A01DA366A955DF2EBB Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews1.riseup.net (Postfix) with ESMTPSA id 4FM0td0Klxz5vj5; Thu, 15 Apr 2021 19:45:12 -0700 (PDT) References: <20210414022859.3c98e08d@tachikoma.lepiller.eu> <87czuwr9l5.fsf@netris.org> <87blafibp3.fsf@netris.org> From: bo0od Message-ID: Date: Fri, 16 Apr 2021 02:45:09 +0000 MIME-Version: 1.0 In-Reply-To: <87blafibp3.fsf@netris.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Fri, 16 Apr 2021 12:25:44 -0400 X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 47748@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1618590377; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=2pSy+P53ADfAbdBwnf4kAFmPljukb9B8aWbCYsDwRaY=; b=OSMGkJfWqlerc530pbyVx5L9TjZuUxJg3ztl3HvhvwZXfxyF1891koUFapAQw8+kJzAaw/ vfVLdH9o/ZQqf0qbFYlOOfFfJ86ZkKV8FQKlaJslBHsjQd79AceyW6lm49rYY06fqDEgS5 cMBBmJqfwsVlRrQlVb6o+jwhx2HcnZBYr7GO8uVDvVgCriXtAC+hezE1XI1+fHkJEPA8HL wUOjo+KP4AgPJOE+Tncoz56Dhi/Ay9Qz8MvW+fUA4QmWXZLpKgs4Bku1mpaZ0A9ugcg2lv r73dWaMnbkNQJnGlL6igpffdp6N5sqhr/d3183gxMqcjEE63z3kLPVE7DEmUpQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1618590377; a=rsa-sha256; cv=none; b=OWIH+QqWD1bRaMSSZ8/h1rowRYCjjhMZbt3X7aQNrLdiPxXQkkPcrOuHdv1lkmRoV+XbLL diVylrzpzO3aHWBJs03YuvaMvgQolAI4wQso3CJApCeg93njfZ+v1R40oHzoctZXkWbLGP L7qoaXxpNxWPeclkRd8CW4hjJok3cC5/+JAt3ZOmKIggjMj/E+IWtBncbinAQoNC19ls+y Z2kVSfnxYvjwtBPVb4ENVjU0UBbHCKeY3m36JLryci3DMBvkjjXg3PdLSuWoANWOXCkS1a wsnRZJ0s0xE9H150t6nxgCHDntghp/H9A6Vpcqpsh6IHHw5HOoKDeKFF5qD15w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=riseup.net header.s=squak header.b="GMX6/HsG"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=riseup.net (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -1.34 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=riseup.net header.s=squak header.b="GMX6/HsG"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=riseup.net (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 668C41C102 X-Spam-Score: -1.34 X-Migadu-Scanner: scn0.migadu.com X-TUID: 3EkmuSi30riF Great, I believe you got my message clearly thank you as well for the commands. yes in debian if you want to remove libavahi it wont be removed (without breaking stuff), but avahi-daemon (if its installed) you can remove it with no issues so as wpa-supplicant,mesa..etc Anyway you just got my message clearly and i appreciate that . Mark H Weaver: > bo0od writes: > >> > You seem to want it to do something different than it was intended to >> > do, although I'm not precisely sure what that is. Do you want it to try >> > to purge all copies of the given package from /gnu/store? If so, that >> > might require deleting (or modifying) older system generations and older >> > user profiles, which would interfere with rollback functionality. >> >> Isnt this the standard understanding of deleting a package whether in >> GNU/Linux or Windows or Mac? If user has the root rights he should be >> able to delete software x, > > The command in Guix that most closely matches what you seem to be asking > for is "guix gc --delete", which will try to delete a given set of store > items. In your original bug report, it looks like 'avahi' was one of > the things you were trying to remove, so I'll use that as an example: > > --8<---------------cut here---------------start------------->8--- > mhw@jojen ~$ guix gc --delete /gnu/store/…-avahi-0.8 > finding garbage collector roots... > guix gc: error: cannot delete path `/gnu/store/…-avahi-0.8' since it is still alive > --8<---------------cut here---------------end--------------->8--- > > If you get this error, you can use "guix gc --referrers" to find out > what's keeping it alive: > > --8<---------------cut here---------------start------------->8--- > mhw@jojen ~$ guix gc --referrers /gnu/store/…-avahi-0.8 > /gnu/store/…-geoclue-2.5.7 > /gnu/store/…-gvfs-1.40.2 > /gnu/store/…-pulseaudio-14.0 > /gnu/store/…-cups-filters-1.27.4 > /gnu/store/…-guile-avahi-0.4.0-1.6d43caf > /gnu/store/…-avahi-0.8 > /gnu/store/…-cups-2.3.3 > /gnu/store/…-grilo-plugins-0.3.11 > --8<---------------cut here---------------end--------------->8--- > > So, it looks like I won't be able to remove avahi from my store, at > least not if I want to keep GNOME, CUPS, or Pulseaudio. > > For similar reasons, I can't remove Avahi from my Debian server either: > > --8<---------------cut here---------------start------------->8--- > root@world:~# dpkg -r libavahi-client3 > dpkg: dependency problems prevent removal of libavahi-client3:amd64: > libvirt0:amd64 depends on libavahi-client3 (>= 0.6.16). > libcups2:amd64 depends on libavahi-client3 (>= 0.6.16). > > dpkg: error processing package libavahi-client3:amd64 (--remove): > dependency problems - not removing > Errors were encountered while processing: > libavahi-client3:amd64 > --8<---------------cut here---------------end--------------->8--- > > Anyway, I agree that it would be good to have a user-friendly way to ask > Guix why a given piece of software is in their store, and to help them > find ways to remove it, if possible. We have some tools to help with > this, e.g. "guix gc --referrers", "guix graph --type=reverse-package", > "guix graph --type=reverse-bag", and "guix graph --path", etc, but > there's plenty of room for improvement. > > Mark >