From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id EC53J/vv02FVMgEAgWs5BA (envelope-from ) for ; Tue, 04 Jan 2022 07:58:03 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id KPzpI/vv02EL4QAAauVa8A (envelope-from ) for ; Tue, 04 Jan 2022 07:58:03 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id CD9581D2D2 for ; Tue, 4 Jan 2022 07:58:02 +0100 (CET) Received: from localhost ([::1]:41268 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n4dlh-00069E-VS for larch@yhetil.org; Tue, 04 Jan 2022 01:58:01 -0500 Received: from eggs.gnu.org ([209.51.188.92]:37330) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n4dkl-000681-TC for bug-guix@gnu.org; Tue, 04 Jan 2022 01:57:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:53552) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n4dkk-00077G-Ni for bug-guix@gnu.org; Tue, 04 Jan 2022 01:57:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n4dkk-0001Ce-Iu for bug-guix@gnu.org; Tue, 04 Jan 2022 01:57:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#53000: How to reclaim space when no space is available? Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 04 Jan 2022 06:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53000 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: noloader@gmail.com, 53000@debbugs.gnu.org Received: via spool by 53000-submit@debbugs.gnu.org id=B53000.16412793754562 (code B ref 53000); Tue, 04 Jan 2022 06:57:02 +0000 Received: (at 53000) by debbugs.gnu.org; 4 Jan 2022 06:56:15 +0000 Received: from localhost ([127.0.0.1]:36865 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n4djz-0001BW-HL for submit@debbugs.gnu.org; Tue, 04 Jan 2022 01:56:15 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:34736) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n4djv-0001BG-MI for 53000@debbugs.gnu.org; Tue, 04 Jan 2022 01:56:14 -0500 Received: from lprikler-laptop.ist.intra (gw.ist.tugraz.at [129.27.202.101]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4JSk0g2c0Qz3xYJ; Tue, 4 Jan 2022 07:56:03 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1641279363; bh=Qc53VH/lFeC4O3AcwhF0T9/W1lllNVVobrjSSFxQKkA=; h=Subject:From:To:Date:In-Reply-To:References; b=n3hi2xVQZSNZpofX7H7vTK5tkYfyyOEbU3tT9NC8hqjeBfu9oYLYu7OfMHVaqiBBK dtT2otHqBEfmqnl2IgrCHgGEnXccBgOIXHsD2LaMQNb+IyQMLgSwlUR5sp53jZcLRI U1KrGIndD3Mns9jzVdfMJlJVWHaEu7uhbTW9EQT4= Message-ID: <20431b5808c892bcb2fa27b3091d489741b7e369.camel@ist.tugraz.at> From: Liliana Marie Prikler Date: Tue, 04 Jan 2022 07:56:01 +0100 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-TUG-Backscatter-control: waObeELIUl4ypBWmcn/8wQ X-Scanned-By: MIMEDefang 2.74 on 129.27.10.116 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1641279483; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=Qc53VH/lFeC4O3AcwhF0T9/W1lllNVVobrjSSFxQKkA=; b=A3wZRAyZMYOvPzmoI1vGBuyW8b5OOJ7IQI+TEuZC7MmoRiOACf2J5C2KlcUapLSvzaNSVQ j9Vw8md2trTjr8WE24nVSWPdyWHrzvf8d92qH4aM6v8DN0KLa3i/i+VVjJuniALlg5Qht4 rE3UZYcNUcnDbYd9or2B/SkyofLShjz/GUZMxUk8iTiIzya68T3DuYC3D1BqqM8+hjez6N U4z5U5GFBT/jYKRcCNJ7OkHGn7aM4STARU9pCwL300JWNXBgDDmdzZ5/P24VG8p/76CTT6 mlMARMLcnAiQliCtbf+tnS/HOfFURnsV8QuRSWQHDdc1On+nMQAdBmPtRguQQQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1641279483; a=rsa-sha256; cv=none; b=TZswJnzoF8XlzXJI42w09y4s7YY6isr1QuuI6exlSbWZj5NtC8S5M5UuYH6R9HZXavj34t +nnkBCe4zOKuk/E9dfY+tZRsQa1Jsax35ktNLjxhjtXvT6v24d7fLWkP8aPx/CBs/M8Zt+ 0Af/CoUANLCGI2CR/LNRayU7XKfuMXL5Hk55jg23AV6htyP5cej0o8pKxB5Iwn1h4BYHoH 0eX8Onu05IYHrzmbCbMJube2HlZgSbXn+SVxtaE3kTlZYm9mZzr5/s2ntSO6/r9AI30f1l LtHk174DObguoGSVThGdfIZ+XqPfC1L9hfDtKdSrUkGZnXRAwePHPzzAbupQnA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b=n3hi2xVQ; dmarc=fail reason="SPF not aligned (relaxed)" header.from=tugraz.at (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -1.99 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b=n3hi2xVQ; dmarc=fail reason="SPF not aligned (relaxed)" header.from=tugraz.at (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: CD9581D2D2 X-Spam-Score: -1.99 X-Migadu-Scanner: scn0.migadu.com X-TUID: fjS7FPFr/oHW Am Montag, dem 03.01.2022 um 23:12 -0500 schrieb Jeffrey Walton: > Hi Everyone, > > I've run out of disk space. I'm trying to run 'guix gc' but it seems > to need disk space to perform the garbage collection. > > $ sudo guix gc I don't think the manuals specify using `sudo guix gc'. Last time I checked a normal `guix gc' does the same, as the logic is in either way handed off to the daemon running as root already. > finding garbage collector roots... > note: can't create trash directory: creating directory > `/gnu/store/trash': No space left on device > deleting garbage... > ... > error (ignored): aborting transaction: cannot rollback - no > transaction is active guix gc: error: committing transaction: > database or disk is full > > Does anyone know how to delete all old packages and artifacts without > the need for some free disk space? It's a known bug that you currently can't free space without having space. (You can try searching for similar bug IDs or you can wait for someone else to link you to them.) The "fix" would ironically be to sacrifice even more space to Guix by avoiding store deduplication, because then store items can easily be deleted. You could try manually freeing up space, but as someone who already messed with GC internals I'd heavily suggest you avoid doing that. Unless you don't mind stuffing kittens in a blender, that is. > I don't need old stuff. I use the VM to test builds and run self > tests of some packages I am responsible for. I don't need the extra > bells and whistles. Those extra bells and whistles are the entire point of functional package management. You get backups and roll-backs for free. If you think VMs or Docker containers are sufficient for testing purposes while you happily accept Debian overwriting files in-place, that is a position you can hold, but it is not the Nix/Guix way. Cheers