From mboxrd@z Thu Jan 1 00:00:00 1970 From: Subject: How to delete guix system generations Date: Mon, 17 Dec 2018 21:00:26 +0100 (CET) Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_75865_466511913.1545076826922" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42452) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gYzBR-0007Of-1t for help-guix@gnu.org; Mon, 17 Dec 2018 15:08:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gYzBM-0003K7-6z for help-guix@gnu.org; Mon, 17 Dec 2018 15:08:08 -0500 Received: from w1.tutanota.de ([81.3.6.162]:36146) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gYzBI-0003Er-Fc for help-guix@gnu.org; Mon, 17 Dec 2018 15:08:02 -0500 Received: from w2.tutanota.de (unknown [192.168.1.163]) by w1.tutanota.de (Postfix) with ESMTP id E24BFFA0D1D for ; Mon, 17 Dec 2018 20:00:26 +0000 (UTC) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Help Guix ------=_Part_75865_466511913.1545076826922 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hello, Guix developers! There no suggestions in manual about how to delete = system generations that are displaying by `guix system list-generations` I do not use them, just like to update)) # guix system list-generations | grep Generation Generation 1=C2=A0=C2=A0=C2=A0 Sep 17 2018 18:23:13 Generation 2=C2=A0=C2=A0=C2=A0 Nov 13 2018 20:19:47 Generation 3=C2=A0=C2=A0=C2=A0 Nov 14 2018 06:50:53 Generation 4=C2=A0=C2=A0=C2=A0 Nov 27 2018 21:04:19 Generation 5=C2=A0=C2=A0=C2=A0 Nov 28 2018 09:42:41 Generation 6=C2=A0=C2=A0=C2=A0 Nov 28 2018 09:45:06 Generation 7=C2=A0=C2=A0=C2=A0 Nov 28 2018 09:45:06 Generation 8=C2=A0=C2=A0=C2=A0 Nov 28 2018 09:53:49 Generation 9=C2=A0=C2=A0=C2=A0 Nov 28 2018 09:53:49 Generation 10=C2=A0=C2=A0=C2=A0 Nov 28 2018 09:53:49 Generation 11=C2=A0=C2=A0=C2=A0 Nov 28 2018 09:53:49 Generation 12=C2=A0=C2=A0=C2=A0 Nov 28 2018 13:41:47 Generation 13=C2=A0=C2=A0=C2=A0 Nov 28 2018 09:53:49 Generation 14=C2=A0=C2=A0=C2=A0 Nov 29 2018 09:50:51 Generation 15=C2=A0=C2=A0=C2=A0 Nov 30 2018 18:04:51 Generation 16=C2=A0=C2=A0=C2=A0 Nov 30 2018 18:04:51 Generation 17=C2=A0=C2=A0=C2=A0 Nov 30 2018 18:04:51 Generation 18=C2=A0=C2=A0=C2=A0 Nov 30 2018 18:04:51 Generation 19=C2=A0=C2=A0=C2=A0 Dec 02 2018 16:12:50 Generation 20=C2=A0=C2=A0=C2=A0 Dec 02 2018 18:24:11 Generation 21=C2=A0=C2=A0=C2=A0 Dec 02 2018 18:24:11=C2=A0=C2=A0=C2=A0 (cur= rent) # guix gc ... note: currently hard linking saves 15409.75 MiB guix gc: freed 145.6875 MiBs How to delete system generations? ------=_Part_75865_466511913.1545076826922 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hello, Guix developers! There no su= ggestions in manual about how to delete system generations that are display= ing by `guix system list-generations`

I do not use = them, just like to update))

# guix system list-= generations | grep Generation
Generation 1    Sep 17 20= 18 18:23:13
Generation 2    Nov 13 2018 20:19:47
G= eneration 3    Nov 14 2018 06:50:53
Generation 4 &= nbsp;  Nov 27 2018 21:04:19
Generation 5    Nov 28= 2018 09:42:41
Generation 6    Nov 28 2018 09:45:06
Generation 7    Nov 28 2018 09:45:06
Generation 8&nbs= p;   Nov 28 2018 09:53:49
Generation 9    Nov= 28 2018 09:53:49
Generation 10    Nov 28 2018 09:53:49=
Generation 11    Nov 28 2018 09:53:49
Generation = 12    Nov 28 2018 13:41:47
Generation 13  &nb= sp; Nov 28 2018 09:53:49
Generation 14    Nov 29 2018 0= 9:50:51
Generation 15    Nov 30 2018 18:04:51
Gene= ration 16    Nov 30 2018 18:04:51
Generation 17 &n= bsp;  Nov 30 2018 18:04:51
Generation 18    Nov 30= 2018 18:04:51
Generation 19    Dec 02 2018 16:12:50Generation 20    Dec 02 2018 18:24:11
Generation 21&= nbsp;   Dec 02 2018 18:24:11    (current)

# guix gc
...
note: currentl= y hard linking saves 15409.75 MiB
guix gc: freed 145.6875 MiBs

How to delete system generations?
------=_Part_75865_466511913.1545076826922-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tonton Subject: Re: How to delete guix system generations Date: Mon, 17 Dec 2018 22:09:32 +0100 Message-ID: <20181217220932.43f2d6de@merlin.browniehive.net> References: 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]:34066) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gZ094-0002Fo-Rm for help-guix@gnu.org; Mon, 17 Dec 2018 16:09:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gZ08y-0008EC-Os for help-guix@gnu.org; Mon, 17 Dec 2018 16:09:46 -0500 Received: from mx1.riseup.net ([198.252.153.129]:39169) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gZ08y-00089R-D8 for help-guix@gnu.org; Mon, 17 Dec 2018 16:09:40 -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.org@gnu.org Sender: "Help-Guix" To: znavko@tutanota.com Cc: Help Guix As far as I'm aware, the way to do this is to delete the symlink for the generation you want gone. These links are in /var/guix/profiles/ and has names like system-60-link The exact symlink name is found in the 'file name' field of the guix system list-generations command. The symlinks are the gc roots for the store items, so run guix gc after to actually remove the stuff. HTH Tonton On Mon, 17 Dec 2018 21:00:26 +0100 (CET) wrote: > Hello, Guix developers! There no suggestions in manual about how to delete > system generations that are displaying by `guix system list-generations` I > do not use them, just like to update)) >=20 > # guix system list-generations | grep Generation > Generation 1=C2=A0=C2=A0=C2=A0 Sep 17 2018 18:23:13 > Generation 2=C2=A0=C2=A0=C2=A0 Nov 13 2018 20:19:47 > Generation 3=C2=A0=C2=A0=C2=A0 Nov 14 2018 06:50:53 > Generation 4=C2=A0=C2=A0=C2=A0 Nov 27 2018 21:04:19 > Generation 5=C2=A0=C2=A0=C2=A0 Nov 28 2018 09:42:41 > Generation 6=C2=A0=C2=A0=C2=A0 Nov 28 2018 09:45:06 > Generation 7=C2=A0=C2=A0=C2=A0 Nov 28 2018 09:45:06 > Generation 8=C2=A0=C2=A0=C2=A0 Nov 28 2018 09:53:49 > Generation 9=C2=A0=C2=A0=C2=A0 Nov 28 2018 09:53:49 > Generation 10=C2=A0=C2=A0=C2=A0 Nov 28 2018 09:53:49 > Generation 11=C2=A0=C2=A0=C2=A0 Nov 28 2018 09:53:49 > Generation 12=C2=A0=C2=A0=C2=A0 Nov 28 2018 13:41:47 > Generation 13=C2=A0=C2=A0=C2=A0 Nov 28 2018 09:53:49 > Generation 14=C2=A0=C2=A0=C2=A0 Nov 29 2018 09:50:51 > Generation 15=C2=A0=C2=A0=C2=A0 Nov 30 2018 18:04:51 > Generation 16=C2=A0=C2=A0=C2=A0 Nov 30 2018 18:04:51 > Generation 17=C2=A0=C2=A0=C2=A0 Nov 30 2018 18:04:51 > Generation 18=C2=A0=C2=A0=C2=A0 Nov 30 2018 18:04:51 > Generation 19=C2=A0=C2=A0=C2=A0 Dec 02 2018 16:12:50 > Generation 20=C2=A0=C2=A0=C2=A0 Dec 02 2018 18:24:11 > Generation 21=C2=A0=C2=A0=C2=A0 Dec 02 2018 18:24:11=C2=A0=C2=A0=C2=A0 (c= urrent) >=20 > # guix gc > ... > note: currently hard linking saves 15409.75 MiB > guix gc: freed 145.6875 MiBs >=20 > How to delete system generations? --=20 :)