From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id uDc4LUIerGYbAAEAqHPOHw:P1 (envelope-from ) for ; Thu, 01 Aug 2024 23:46:10 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id uDc4LUIerGYbAAEAqHPOHw (envelope-from ) for ; Fri, 02 Aug 2024 01:46:10 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lease-up.com header.s=2017 header.b="PSx1O/KT"; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1722555970; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=xjIdi+i3q58oReZNUGwdnx2nJSj2WsQPJuCt8TJMB7Q=; b=E2Xm39wtdQmV0ayeIWaWrInL1E80CQfRw+hxOj5tpwy+NbyQtIDbho896tD+1ByJEuw9TE uk+LjiVEIB9Vv6rXb3K8eSs5X+5xGmVnHER690//1Hvlievv/E2s944lTLH58fhNahmWxv T/a68r/tQpBIICr3+x1LwtZ6PgerIE53SF0+A7PHUB2exrWx39wNag1Il988aEAjS86Hvu HPuRNL0nPIET4bJpLp2uUuimymFyl6Mw7WK4gi6UkOsNAEZUyECipfryKmBENfvKOejwCa d9xQl8z6oZMQJsqOJT2XhtouRtYgcFDE8GGHoRArrN22TtxYim/oKoRNj5PTiw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lease-up.com header.s=2017 header.b="PSx1O/KT"; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1722555970; a=rsa-sha256; cv=none; b=tepxI8E3npO8giICOTS4YfkG93iahtDCkRIMDEgIxQmxQ51VTAsZPwYHK7MLTYxieiN/KH O5WT3D4A2TkorCczDqrWVMSZ+9hw/tCshZKEZudndK38lU4WLlUnkmJa2hxVpemuy4Vj64 VwhQrD81KlM3CQiuNrwOwkGIV6O5ySm+ueCJ/nQrQKDEqO/qR6vx4sttJGRUCLGG1L3dsP YwoB0/hKhDFzSvHJyVXweQHQA9ImhKw+uLy4dIcsY0hafjwlLs/7Oi9u4IVoJXqpE3QYi9 O5p3uCYxkUe2sKr9Wjlqgnz3bBmb5oox5mrnevZUSlajK2EBrPknqFVAeEwqBA== 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 97D5C7CCE2 for ; Fri, 2 Aug 2024 01:46:10 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sZfU8-0004xy-WC; Thu, 01 Aug 2024 19:45:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sZfU7-0004sR-6X for help-guix@gnu.org; Thu, 01 Aug 2024 19:45:27 -0400 Received: from sail-ipv4.us-core.com ([208.82.101.137]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1sZfU2-0002kk-Vf for help-guix@gnu.org; Thu, 01 Aug 2024 19:45:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=2017; bh=2cWJFHSvYeZgu0l Zq1NPvJAngwGvOt2iUGbQ4veFNZs=; h=date:references:in-reply-to:subject: cc:to:from; d=lease-up.com; b=PSx1O/KTBRDnCQeOTEWPDPc/yszB/d3Yvn65U4n/ sI6Y3rKct/xRK3FZEFhcLXfgDc8HtoCWK7CVxJeaoJjX32MpDFVZWI83+r5JeBe8lBQGzo ppuMPpXrHGMPlwBQpe1oaZppi0CX517yeW6QSW3VTeNU8YXPbA/+wyTMUDu1I= Received: by sail-ipv4.us-core.com (OpenSMTPD) with ESMTPSA id 0bf34b05 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Thu, 1 Aug 2024 23:45:17 +0000 (UTC) To: Leo Famulari , Zack Weinberg Cc: help-guix@gnu.org Subject: Re: "guix system reconfigure" downloads 2G of stuff it doesn't need In-Reply-To: References: <8c1407de-4ddf-4153-8406-9c10c26c21d7@app.fastmail.com> <395da8a2-a99b-46cc-bb63-d58425c9aff1@app.fastmail.com> Date: Thu, 01 Aug 2024 16:45:16 -0700 Message-ID: <87le1f7qpf.fsf@lease-up.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=208.82.101.137; envelope-from=felix.lechner@lease-up.com; helo=sail-ipv4.us-core.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Felix Lechner From: Felix Lechner via Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: -4.02 X-Migadu-Queue-Id: 97D5C7CCE2 X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -4.02 X-TUID: rFBJhaP/fJHh Hi Leo, On Thu, Aug 01 2024, Leo Famulari wrote: >> [...] and, equally importantly, why they are _not_ considered >> necessary by "guix gc"? > > The short answer is "to save disk space at the potential cost of > increased network usage". I am not sure I agree with your framing. While adjustments to the garbage collector may prevent downloads, I believe some prerequisites are undeclared (although I cannot say which ones or why). Like Zack, I think 'guix gc' should not remove items needed to reconfigure a system or to reinstall the bootloader, at least not for the current system generation. > you can run the guix-daemon with the argument "--gc-keep-outputs=yes", > and maybe also "--gc-keep-derivations=yes": I have been doing that, but in my estimation what is being kept exceeds what's needed by a wide degree. Kind regards Felix