From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: bug#24194: GUIX gc - add warning Date: Wed, 10 Aug 2016 14:56:20 -0400 Message-ID: <20160810185620.GA14104@jasmine> References: <8108bd02-a9f8-fad9-e5a1-93416ece607b@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]:35797) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bXYge-0004jq-QZ for bug-guix@gnu.org; Wed, 10 Aug 2016 14:57:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bXYga-0006FT-Ov for bug-guix@gnu.org; Wed, 10 Aug 2016 14:57:08 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:54891) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bXYgY-0006El-SQ for bug-guix@gnu.org; Wed, 10 Aug 2016 14:57:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bXYgY-0000rK-I8 for bug-guix@gnu.org; Wed, 10 Aug 2016 14:57:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Content-Disposition: inline In-Reply-To: <8108bd02-a9f8-fad9-e5a1-93416ece607b@openmailbox.org> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: "J. Eppler" Cc: 24194@debbugs.gnu.org On Tue, Aug 09, 2016 at 07:59:28PM -0400, J. Eppler wrote: > Hello, > > I used GUIX for the first time and invoked: guix gc. The command deleted > all my bootstrap files (gcc, binutils, findutils etc.). There should be > a warning added to the manual page: > > https://www.gnu.org/software/guix/manual/html_node/Invoking-guix-gc.html I think the concept of garbage collector roots should be clarified in the manual somehow and linked to from 'Invoking guix gc'. Or it could even go in that section. I was surprised to find that the string 'gcroots' does not appear in the manual. > I was actually assuming that guix gc removes orphan packages, > build-caches, temporary files etc., but it does not seem to only do that. In your case, things that are not garbage collector roots (that is, not reachable from /var/guix/gcroots) could be considered orphans or temporary. I agree the documentation should be improved.