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 EBwiDLw3dmCnggEAgWs5BA (envelope-from ) for ; Wed, 14 Apr 2021 02:30:52 +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 wFfdBbw3dmBZQAAAbx9fmQ (envelope-from ) for ; Wed, 14 Apr 2021 00:30:52 +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 3EFBA1CBAA for ; Wed, 14 Apr 2021 02:30:51 +0200 (CEST) Received: from localhost ([::1]:50392 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lWTQg-0002QQ-DV for larch@yhetil.org; Tue, 13 Apr 2021 20:30:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56700) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lWTPu-0002QC-Uf for bug-guix@gnu.org; Tue, 13 Apr 2021 20:30:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:49673) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lWTPu-0003dq-Kp for bug-guix@gnu.org; Tue, 13 Apr 2021 20:30:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lWTPu-0002IT-G2 for bug-guix@gnu.org; Tue, 13 Apr 2021 20:30:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#47748: Packages which cant be find/removed by guix remove Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 14 Apr 2021 00:30: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 Received: via spool by 47748-submit@debbugs.gnu.org id=B47748.16183601498748 (code B ref 47748); Wed, 14 Apr 2021 00:30:02 +0000 Received: (at 47748) by debbugs.gnu.org; 14 Apr 2021 00:29:09 +0000 Received: from localhost ([127.0.0.1]:32986 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lWTP3-0002H2-FG for submit@debbugs.gnu.org; Tue, 13 Apr 2021 20:29:09 -0400 Received: from lepiller.eu ([89.234.186.109]:34194) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lWTP1-0002Gr-Jk for 47748@debbugs.gnu.org; Tue, 13 Apr 2021 20:29:08 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id d6013ce8; Wed, 14 Apr 2021 00:29:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date:from :to:cc:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; s=dkim; bh=Zwa1ogWA0qer NvKTctzaWlC4z0Dcm0sUFeXjKzM7ie4=; b=lNoNg6WwlwEgWevksPMdNmY7rdAI Uh0B3xiHnmGkhDgNX9YOWSDaAV0S1473tTJCju4pKE9dUTK8m14c7GNsE31U2AZf hJEq/bT5W0lpgZxHVz7dAWBXEjv1yMD+4jezbZlfhNGjDu47KL7VDAT4W6Cq8Tq7 VynElTEqQ+wHMW+bzpkSWoU+mVC6aJZ5MPOmz2rRBHodv7cZA3dKYH8qvH/qTwqy /Ht+61QViLSn7v0UiAL30Z4iUwmsIyqmGqcYca3vIHDlM7RP9L4YpIYKgrOKLA/6 V1di00jf91T6CkuBtWPsT+LymfYHholBZNjp5vSbYnzEGGHEavcbrKZCWQ== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 5e5863fd (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Wed, 14 Apr 2021 00:29:04 +0000 (UTC) Date: Wed, 14 Apr 2021 02:28:59 +0200 From: Julien Lepiller Message-ID: <20210414022859.3c98e08d@tachikoma.lepiller.eu> In-Reply-To: References: X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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=1618360251; 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=thyAnFYflZeLLhwRXm8DaPwd2BG9A6zz7morRLnWFGc=; b=tndTaApOJwQPAsk5Ur+UF93vShzBSPorUVSzAK7ilZ+HI01Ce8p2dTLeKw/yHlVVMHWmkw YEPozTRJzv/R+uBZzXwQmcEbuajXcz1+7G4vJ1NZVJzDBFozx9zJjgMf04rAGLCyFDgb27 sp4Vo9Se3sGgHNZRWffl06xuhiKlbVS5aDKz/OjeLAsLqg3pMwujKmfyG2F+9ptjX6mrnq HPu741TVexsfUNM9Tdxb9mK/ixHj0zB1bMlbXjXVzNdtsYMDhdYceXes4ThPqqIYqVs34D OAD1B6ni8DzyR9qaCq6kJYKj2z9b6NldZ8Y3rtvsWCY6v3gHnEzs3oY1CeCBsw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1618360251; a=rsa-sha256; cv=none; b=WC8T3jPTpgHXliUBfwstN+fp7C2upWvHR9BunpzPbLX2mXL1kD6rOY0e3OhdIUsGKfLEn7 eHlpLSxHLBL1PBQ6Z/nT3xZmhm5QviUrqg1IaVVBJYSnnfp0fGgbf96AUezz5DyHxK/5Xo RUWyFqv3jAOkxoOZCcemAg1p7elD2oPZiUHJm0UYR/nUZ7yhSleeagi6rb1IV7hsE2lpFG 84qNY3FTc7XgiFr5a2eUSrw3RTEDL+w1nv2rz0tryWP9JHkBuKmyQH/4/WU9yc+4BRLBaq c6qo/MMPDhnRQx5O2G74fKpKR3Nr2yhqALfNPhe/X37zq7bNOS6eAkRJluS2fg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lepiller.eu header.s=dkim header.b=lNoNg6Ww; 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: 0.16 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lepiller.eu header.s=dkim header.b=lNoNg6Ww; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lepiller.eu (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: 3EFBA1CBAA X-Spam-Score: 0.16 X-Migadu-Scanner: scn0.migadu.com X-TUID: dXqxao62fYV5 Le Tue, 13 Apr 2021 12:46:19 +0000, bo0od a =C3=A9crit : > Hi There, >=20 > I saw some packages installed by default with guix like > wpa-supplicant and avahi..., But if i type 'guix remove av' and i > press tab nothing will complete the word and if i type 'guix remove > avahi' or 'guix remove wpa-supplicant' ... just give error message. > (check the uploaded txt file) Guix has a different notion of "installed" and "not installed" from other distros because of its model (and because it lets us use (but not "install") incompatible packages). In particular, there are multiple profiles, and each of them could contain avahi or a reference to avahi. In your case, I think avahi comes from two places: First, guix itself depends on guile-avahi, which brings in avahi. That's because substitution can use avahi to get substitutes from your local network. Second, your operating-system declaration apparently is running the avahi server. Since you didn't share it, I don't know if it comes from a service dependency or if it's declared explicitely, but if you don't want it to be running, that's where you'd remove it (either remove the explicit service, or the dependent service (guix publish?)) Avahi is added by the installer if you enable "Substitute server discovery" in the installer. Similarly, wpa-supplicant is probably part of another profile, or maybe declared in your config.scm. Once you change it, you should reconfigure (guix system reconfigure /etc/config.scm). This will not remove files from the store, until you run guix gc. When you run "guix remove" as user, it only affects your user profile, in which there is no avahi or wpa-supplicant package. Also note that, if any of your user's profile had a dependency on avahi, "guix remove avahi" would not have any effect on it either, because it's not installed explicitely, it's only present in the store to satisfy a dependency. You can find out about these dependencies with guix graph, for instance: guix graph -t references --path `readlink -f \ $HOME/.config/guix/current` `guix build avahi` /gnu/store/9yvb5kknnq8b1mrfsqaggrgjifk2mgs4-profile /gnu/store/dy46rf8aknz4im7sjz89i9b7snqi1m8w-guix-f91e1046c /gnu/store/szyzmhsxckvb0h7pdh9ags9apd1sch7m-guix-command /gnu/store/zjpqr7m6j3cjk5l2sr81yxyg5ny4njy6-guix-module-union /gnu/store/jawdw5ca459z8y3a6hcd5pd772zjrs93-guile-avahi-0.4.0-1.6d43caf /gnu/store/gj0irsda1y0msawq8g1wfcgw7xcsxz2m-avahi-0.8 I hope this is helpful :)