From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: delete profile Date: Wed, 15 Mar 2017 17:00:52 +0100 Message-ID: <87vara8r7v.fsf@gnu.org> References: <87y3waqua6.fsf@lupo.i-did-not-set--mail-host-address--so-tickle-me> <877f3t9dgj.fsf@gmail.com> <20170314055518.GA12348@mail.thebird.nl> <87efy0mepb.fsf@lupo.i-did-not-set--mail-host-address--so-tickle-me> <87lgs8apsu.fsf@gmail.com> <87varbx103.fsf@lupo.i-did-not-set--mail-host-address--so-tickle-me> <87zigmssoi.fsf@igalia.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42353) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1coBME-0001gJ-Vn for guix-devel@gnu.org; Wed, 15 Mar 2017 12:01:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1coBMD-0005OJ-OF for guix-devel@gnu.org; Wed, 15 Mar 2017 12:01:02 -0400 In-Reply-To: <87zigmssoi.fsf@igalia.com> (Andy Wingo's message of "Wed, 15 Mar 2017 12:09:01 +0100") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Andy Wingo Cc: guix-devel@gnu.org, Alex Kost , Federico Beffa Andy Wingo skribis: > On Tue 14 Mar 2017 17:43, Federico Beffa writes: > >> Alex Kost writes: >> >>> Federico Beffa (2017-03-14 09:42 +0100) wrote: >>> >>>> I run 'guix gc' and now I find dangling symlinks in my $HOME. >>> >>> What dangling symlinks? Just remove them :-) >> >> Of this type: >> >> $HOME/guix-test-profile-XXX-link -> /gnu/store/... >> >> Yes, sure, I deleted them. It just seems strange that a GC leaves >> dangling links around. > > Currently, profiles that aren't in your ~/.guix-profile are not treated > as GC roots (AFAIR). They *are* GC roots (fortunately :-)). If you do =E2=80=9Cguix package -p = foo -i guile=E2=80=9D, you can see a symlink to =E2=80=98foo-1-link=E2=80=99 is ad= ded to /var/guix/gcroots/auto. Ludo=E2=80=99.