From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id GMPPE3w4d2BDTAEAgWs5BA (envelope-from ) for ; Wed, 14 Apr 2021 20:46:20 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id UFOVDXw4d2BxdAAAbx9fmQ (envelope-from ) for ; Wed, 14 Apr 2021 18:46:20 +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 C1C58DE31 for ; Wed, 14 Apr 2021 20:46:19 +0200 (CEST) Received: from localhost ([::1]:38168 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lWkWn-0005Yk-I4 for larch@yhetil.org; Wed, 14 Apr 2021 14:46:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45206) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lWkVb-00055N-T4 for bug-guix@gnu.org; Wed, 14 Apr 2021 14:45:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52393) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lWkVa-0000qj-Pd for bug-guix@gnu.org; Wed, 14 Apr 2021 14:45:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lWkVa-0007uS-KH for bug-guix@gnu.org; Wed, 14 Apr 2021 14:45:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#47748: Packages which cant be find/removed by guix remove Resent-From: Mark H Weaver Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 14 Apr 2021 18:45:02 +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: bo0od , Julien Lepiller Received: via spool by 47748-submit@debbugs.gnu.org id=B47748.161842586730328 (code B ref 47748); Wed, 14 Apr 2021 18:45:02 +0000 Received: (at 47748) by debbugs.gnu.org; 14 Apr 2021 18:44:27 +0000 Received: from localhost ([127.0.0.1]:35702 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lWkV1-0007t6-Af for submit@debbugs.gnu.org; Wed, 14 Apr 2021 14:44:27 -0400 Received: from world.peace.net ([64.112.178.59]:38200) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lWkV0-0007st-5Y for 47748@debbugs.gnu.org; Wed, 14 Apr 2021 14:44:26 -0400 Received: from mhw by world.peace.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lWkUt-0000Kk-45; Wed, 14 Apr 2021 14:44:19 -0400 From: Mark H Weaver In-Reply-To: References: <20210414022859.3c98e08d@tachikoma.lepiller.eu> Date: Wed, 14 Apr 2021 14:42:35 -0400 Message-ID: <87czuwr9l5.fsf@netris.org> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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=1618425979; 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: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; bh=58q/R9wlScr6w58fzB5djt8wV8oBMvrJEaNzst/wL+8=; b=pXJxX2tZcyBqVUrKJMp33ZjZmTtwwO+2ermHcRfj+JC2DgG95JcplfSq5Nn2WhVQaMYxXg MIPaZ2/DqOwn8sTzP1P5IGtE+F2njmTRrM//nc5myCvqivG8iwxMN3Zj+05dB9b2Ww+clU hLjIXxwc3okoKaAkv56eJNVmCLv7+S11LzX1iIdd4Zy2W5OQSFOBK7ZZlc6SziL4pby6XW 4gMeDTLKncmwfJi+QskvZc/eHzuQsf44/RLH0znBULJm3E1nYKMj/wv/DBoA6eTqNmGWxr Sdh4BD+GXekEbvHSR7MIEbgOkWesOPPoH2JBpcdfw2xeXCkUEXLaTJSxFPEpjQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1618425979; a=rsa-sha256; cv=none; b=W6mpv49Mecj0d5A3973NpWgB8AgqVMbcsNOSicc97bbQassfIJnR+ywZCIyBtEIHsvEBAS MEGu8Mblnu4sLal0TFBX9Un/JAST3dFERb9+XekMcUaQifQ7lLbS2Er99UjOmwq6SVSgXG D3fN9WOZ+yU8xxBSZC24SyI4TO7zntvO/AF7x9ZP5IFBfwE5Cr1+RjY/QZ19ZO58Ecq/bI KiEX51HKYJR9m2hV9QrKzM06k3jMvzCSUKZ+0KkxPEdTiHe01dIX6NDslNj/RT7bzPTTft A6JAIGRFcDCXW2HVNOPcfpt55qsJaCn4NMo2KjuFLzlmiayQqTUeFRIGrZEaNA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=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: -2.44 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=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: C1C58DE31 X-Spam-Score: -2.44 X-Migadu-Scanner: scn0.migadu.com X-TUID: xq5MnnQxfwaZ Hi, bo0od writes: > > In particular, there are multiple > > profiles, and each of them could contain avahi or a reference to avahi. > > That doesnt address the issue im talking about, why guix remove doesnt > recognize the package that number 1 , number 2 if the package will break > something important guix should say that after processing the command > guix remove x package then show warning message this x package is > dependency of xyz which might break your system would you like to > proceed? <- something like that. This seems to be based on a misunderstanding about what "guix remove" is intended to do. As Julien indicated, it is _only_ meant to remove the given packages from the set of *explicitly-requested* packages installed in your user profile. More precisely, it creates a _new_ user profile that's the same as the previous one, but with some packages removed from the set of explicitly-requested packages. It _never_ deletes anything. 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. Or perhaps you want it to automatically update all user profiles, as well as the system, to avoid depending on that package, directly or indirectly? If so, there are a couple of problems with that: (1) on multi-user systems (which is admittedly becoming an edge case) it would violate the principle that each user should have control over their own profiles, and (2) it would apparently involve automagically editing your OS configuration file to remove any packages or services that depend (directly or indirectly) on the specified packages. >From my perspective, it seems that you have expectations about how package managers should work based on your experience with traditional GNU/Linux distributions. Guix is based on a radically different approach which takes some time to become acquainted with. Perhaps our documentation needs to be improved to better manage user expectations. It reminds me of how many developers responded when asked to switch to Git from CVS or Subversion. Many developers found that transition difficult, and considered it a flaw in Git that it failed to conform to their expectations. Nonetheless, I very much appreciate your feedback. I suspect that many other people experimenting with Guix feel as you do, but that some of them are simply walking away in silence. Thanks for making a constructive effort to engage with us on these issues. Regards, Mark