From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id gDDcNv02G2R+sQAASxT56A (envelope-from ) for ; Wed, 22 Mar 2023 18:12:30 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id qIEENv02G2Qt0QAAG6o9tA (envelope-from ) for ; Wed, 22 Mar 2023 18:12:29 +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 A1B0439362 for ; Wed, 22 Mar 2023 18:12:29 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=bioneland.org header.s=gm1 header.b=UfR8SJho; 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=bioneland.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1679505149; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=1gblvKnPcCG+wszqCVWx/S1xkGa2azEaqfwdVCMebFk=; b=r2H4rVHfFx+15831AD6Vf/oXgwuXu4mlKlNv4pR47aXcOpDlpmbkpJuH4ujdcMerFXptIw CzMkL4MDGAKalrkjLQVa8MAqNjzLHUK9C+kPWVAP7+Udq9swvUw54b4N/3StmkSEW22/63 ItIbexjYj4K7t12QCO4et6/zy19V+Kwk4My9eOcmjwiBGgtt8FKTdHwn0Y2xVyj7fFUY1e BCTwP/3OgWq7HRRRD/vmNrBx5WqG5wSPOXvHlFY1/aXpo4nPs9w74++apk/Mr+hk2sSknD Wb7dI5ohLz/GJ3dLy6YkXGay+2NgHADx4pSI3PiAZMdio8eZkFCI+3a1fv7QJA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1679505149; a=rsa-sha256; cv=none; b=gi9TWCqgZykq7CBoRafVzOSxv79YxnqyfLubJgjRBHJEt1l5OeLkjB/u8z2J/vKwuN54OU q78t4EAq+rK6pnICDlUGu7zIarBgAJhAEer++ApakJeCHjH6ISHICH1BJ0CvhB1C9CxH4E bloPxj9TQ2CV4queYg0f6tUXYwfyHXr67O6hsxJSHr8vhsiH7kNfKX4+YDx3lMKaBXByDK hWjDQIQCgdDgLrOV2cWe11ljKMq8fIDyWpdALy/22yjC+/f4xTf8pXFRJb4UplduIcz/DY Z9Rap3jx2riQRZd/05Z+UxXfURcvLwcoxdTcd+/vCo5N5Y9vyAN5GUVmoTkptQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=bioneland.org header.s=gm1 header.b=UfR8SJho; 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=bioneland.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pf20G-0001iG-Kn; Wed, 22 Mar 2023 13:12:01 -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 1pf20D-0001gG-Fn for help-guix@gnu.org; Wed, 22 Mar 2023 13:11:57 -0400 Received: from relay9-d.mail.gandi.net ([2001:4b98:dc4:8::229]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pf209-000462-Sl for help-guix@gnu.org; Wed, 22 Mar 2023 13:11:56 -0400 Received: (Authenticated sender: tanguy@bioneland.org) by mail.gandi.net (Postfix) with ESMTPSA id 28B73FF80A for ; Wed, 22 Mar 2023 17:11:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bioneland.org; s=gm1; t=1679505108; h=from:from: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; bh=1gblvKnPcCG+wszqCVWx/S1xkGa2azEaqfwdVCMebFk=; b=UfR8SJhorxZBRwpSi8mMvjGvxoT+0Q1kffEbg3hwt9w0MTb0LhZoFMrZW9hQfJB7KDaleC MeNjCsLBb/TkSt/Ee814q6ou6fYdN6u3RLDe8r6iLYz2xDYAabvJt7NlBwQHrCyN/oZBmf v284pbTl60Af2PfepAg/UgMdXtp2aisyrhOm98H0EcvnwLNYxCF5fkC3UIGRLdxiUqZHCX lasVD5cCFa01Heu9vTxPXfrORWCYFGdNsKvFVQiK/YascMOOOZW95KW7zyKQ1314jRCNVq J32ChbV9UH0ymu1LoWU0ZlGvtwHJ2YIf6bNoIRsq2OuHUfbmQVfDJ22Q4P8ong== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Tanguy LE CARROUR To: help-guix@gnu.org Subject: How to properly upgrade Guix System & Home? Date: Wed, 22 Mar 2023 18:11:45 +0100 Message-ID: <167950510545.8638.5143588589556085001@localhost> User-Agent: alot/0.10 Received-SPF: pass client-ip=2001:4b98:dc4:8::229; envelope-from=tanguy@bioneland.org; helo=relay9-d.mail.gandi.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_DNSWL_LOW=-0.7, 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: X-Migadu-Queue-Id: A1B0439362 X-Spam-Score: -2.75 X-Migadu-Spam-Score: -2.75 X-Migadu-Scanner: scn0.migadu.com List-Help: List-Subscribe: , 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-TUID: Xofx9Uf+4MK2 Hi Guix, For quite some time, I'd been religiously upgrading my system weekly. My mantra was something along those lines: ```console $ sudo guix system delete-generations $ guix package --delete-generations $ guix gc $ guix pull $ sudo guix system reconfigure my-system.scm $ guix package --upgrade ``` I was happy with it, but two recent events made me question my faith in thi= s=E2=80=A6 1) I realized that there was a third `delete-generations`! Believe it or not, I didn't know about `guix pull --delete-generations`. Actually `guix pull --list-generations` was listing a **lot** of month old stuff. 2) I migrated to Guix Home! Suddenly everything I thought I understood didn't seem to make any sense any more! For instance, I can do `guix home reconfigure` and `guix gc` in a loop and `guix home reconfigure` will keep on downloading things and `guix gc` will keep on deleting them!? And when I say "things", I mean packages that are explicitly declared in `my-home.scm` and that I actually = use! When I compare `ls -l (which imv)` before and after a cycle (`guix home reconfigure` / `guix gc`), I have the same hash. Which make sense because I haven't `guix pull` in between. So, why is a `im= v` garbage collected and re-downloaded/installed?! Does it make any sense? Am I the only one facing this issue? What's the proper way of upgrading a Guix System & Home? Any help would be very much appreciated! --=20 Tanguy