From mboxrd@z Thu Jan 1 00:00:00 1970 From: sirgazil Subject: Re: How do I remove profiles? Date: Wed, 05 Feb 2020 08:04:14 -0500 Message-ID: <17015737c93.10dd072fa35754.3083477764125343144@zoho.com> References: <17012a5be4e.c43d980a29631.6872205928038052594@zoho.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:50640) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1izKLy-000162-Cp for help-guix@gnu.org; Wed, 05 Feb 2020 08:04:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1izKLx-00039C-Ce for help-guix@gnu.org; Wed, 05 Feb 2020 08:04:26 -0500 In-Reply-To: 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: mlell Cc: Guix Help , Help-Guix ---- On Wed, 05 Feb 2020 04:05:44 -0500 wrote ---- > 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. Thank you, Moritz. I'll do that then.