From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: Re: How to remove built disk-image? Date: Sat, 25 Feb 2017 20:36:52 -0500 Message-ID: <20170226013652.GA2306@jasmine> References: <20170225163651.61f32ba2@openmailbox.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49690) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1chnlp-00089W-7U for help-guix@gnu.org; Sat, 25 Feb 2017 20:37:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1chnlm-0000Cc-4V for help-guix@gnu.org; Sat, 25 Feb 2017 20:37:05 -0500 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:56138) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1chnll-0000Bt-S2 for help-guix@gnu.org; Sat, 25 Feb 2017 20:37:02 -0500 Content-Disposition: inline In-Reply-To: <20170225163651.61f32ba2@openmailbox.org> 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: Eric Bavier Cc: Dmitry Nikolaev , help-guix On Sat, Feb 25, 2017 at 04:36:51PM -0600, Eric Bavier wrote: > On Sun, 26 Feb 2017 00:10:21 +0300 > Dmitry Nikolaev wrote: > > > Hi all. > > > > I have successfully build disk-image using command: > > > > $ guix system disk-image --image-size=8G guix/gnu/system/install.scm > > > > Now I have 8 Gb file in my /gnu/store that I can't delete using 'sudo rm'. > > > > How do I remove it? > > You can use 'guix gc --delete /gnu/store/...' To add to this, please don't try to remove or alter files in /gnu/store "by hand". Only the guix-daemon may change the store, or Guix may stop working properly. This is mentioned in the manual, section "The Store": https://www.gnu.org/software/guix/manual/html_node/The-Store.html#The-Store