From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: Re: How to remove useless generations to save disk spack Date: Tue, 25 Apr 2017 23:55:20 -0400 Message-ID: <20170426035520.GA19960@jasmine> References: <1cad6613.404.15ba75f4bce.Coremail.tumashu@163.com> <6E98CDF8-67ED-4A51-8970-1A8F312D2E62@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48233) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d3E3B-0000Po-Bc for guix-devel@gnu.org; Tue, 25 Apr 2017 23:55:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d3E36-0001Nw-HX for guix-devel@gnu.org; Tue, 25 Apr 2017 23:55:33 -0400 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:40809) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1d3E35-0001No-EN for guix-devel@gnu.org; Tue, 25 Apr 2017 23:55:28 -0400 Content-Disposition: inline In-Reply-To: <6E98CDF8-67ED-4A51-8970-1A8F312D2E62@gmail.com> 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: Maxim Cournoyer Cc: guix , tumashu On April 25, 2017 4:08:12 PM PDT, tumashu wrote: >feng@tumashu:/tmp $ guix system list-generations >Generation 1 1月 11 2017 06:21:35 > 文件名:/var/guix/profiles/system-1-link >canonical file name: /gnu/store/fbz7fhx8cv0fvzsas981a4897bwf31r8-system > label: GNU with Linux-Libre 4.8.15 (beta) > root device: my-root These GuixSD system generations still must be deleted manually. The feature `guix system delete-generations` is still a work in progress: https://lists.gnu.org/archive/html/guix-devel/2017-03/msg00194.html Quoting from: https://lists.gnu.org/archive/html/help-guix/2017-01/msg00022.html On Sun, Jan 08, 2017 at 09:50:22PM +0100, Ludovic Courtès wrote: > Hello, > > huang ying skribis: > > > For package, there is > > > > $ guix package --delete-generations > > > > But, for system, I don't find similar stuff? Is there something for that? > > Not yet! But you can run: > > sudo rm /var/guix/profiles/system-123-link > > to delete generation 123. Be careful to choose the right number!