From mboxrd@z Thu Jan 1 00:00:00 1970 From: mlell@posteo.de Subject: Re: How do I remove =?UTF-8?Q?profiles=3F?= Date: Wed, 05 Feb 2020 10:05:44 +0100 Message-ID: References: <17012a5be4e.c43d980a29631.6872205928038052594@zoho.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:56004) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1izGd3-0000jA-OQ for help-guix@gnu.org; Wed, 05 Feb 2020 04:05:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1izGd2-0002tO-Gc for help-guix@gnu.org; Wed, 05 Feb 2020 04:05:49 -0500 Received: from mout02.posteo.de ([185.67.36.66]:57513) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1izGd2-0002pw-17 for help-guix@gnu.org; Wed, 05 Feb 2020 04:05:48 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 101562400FC for ; Wed, 5 Feb 2020 10:05:44 +0100 (CET) In-Reply-To: <17012a5be4e.c43d980a29631.6872205928038052594@zoho.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane-mx.org@gnu.org Sender: "Help-Guix" To: sirgazil Cc: Help-Guix , Guix Help Hi! guix gc is responsible for removing unneeded packages. From https://guix.gnu.org/manual/en/html_node/Invoking-guix-gc.html: > The garbage collector has a set of known roots: any file under > /gnu/store reachable from a > root is considered live and cannot be deleted; any other file is > considered dead and may > be deleted. ... the symlinks under /var/guix/gcroots represent these > GC roots. My own experience is that guix gc reports and removes dead symlinks in this directory. So I guess just remove the symlinks you listed: > $ guix package --list-profiles > /home/sirgazil/.devenvs/my-project/my-project > /home/sirgazil/.devenvs/project-a/project-a > /home/sirgazil/.config/guix/current > /home/sirgazil/.guix-profile > and then call guix gc. Cheers, Moritz