From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id gJTkJGrv4V/3OwAA0tVLHw (envelope-from ) for ; Tue, 22 Dec 2020 13:06:50 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 0GXRIGrv4V9WDQAA1q6Kng (envelope-from ) for ; Tue, 22 Dec 2020 13:06:50 +0000 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 8F2F79404FE for ; Tue, 22 Dec 2020 13:06:48 +0000 (UTC) Received: from localhost ([::1]:55366 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1krhNH-0002ER-IJ for larch@yhetil.org; Tue, 22 Dec 2020 08:06:47 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:36140) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1krhMw-0002Dk-PE for help-guix@gnu.org; Tue, 22 Dec 2020 08:06:26 -0500 Received: from mail-wr1-x433.google.com ([2a00:1450:4864:20::433]:46107) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1krhMv-0005fY-2G for help-guix@gnu.org; Tue, 22 Dec 2020 08:06:26 -0500 Received: by mail-wr1-x433.google.com with SMTP id d13so14418350wrc.13 for ; Tue, 22 Dec 2020 05:06:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding; bh=1OhJZgzsC4p9K/7RmXnGxs/KugU2oJ2ZLxA8Z0Ykvn4=; b=jAoWjsMKY9119h/mXvoaY8TvFTn2As3Kc7yibO3KYrAIktdGc3oZ5xHFavotquTsCJ Z4WFZZ/9Py0emX8HNX4zV4uNEzjFe6dTjWR3KmD3ntDNKHYpE6y5kfYpIaNQelDxRWCK CFlnx8ELNvfJFBwhlbFvjykHu6E2cMIMnqG/BfyK78MdoY/CVm5XryymDj95KCYal0Mh gaYnsxEk1vfpK941hRG3aXSnZseugZHXV3O4N7vk6pt9RBVVeRGFC9W3R6FVtDAsyw8E vF0OQhNgerDIeV7Q8zJvoAHhagDgVGIcyPwAtuw8L4g7eNVjsbKjM8QHub4ZsjZj047U ipWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=1OhJZgzsC4p9K/7RmXnGxs/KugU2oJ2ZLxA8Z0Ykvn4=; b=lTtRWYh0Jev330AtRpU5ZsHrc1Vb+KUtA9G+UDlKn5FdMm05Eld38EPwyBLyWqAqAx ihMJ8OBuWeyEa0WNxnV8HjdxmP1vkLpHRa4OLU0k6S+ASSUu8Cy1IhYaoCrUhsdZEfLA AAmw9G86sajHyj4GcJaxWIklg+781H4mWYQIrav+dvNz050f/IrQ560hxVzs3p+5Roap LEdiaOuqnkP0E/hXO++5VB91/gUORvAfzUS4naTyy+WklfR0mDSBsSXJRhWV3yWAwuCQ LT7kh9xETr0TCgZ88m+juQpUTjaRjmQnfMp/1xajNafH2Gc10kxs0RoxClJMoKiAoEGB APwA== X-Gm-Message-State: AOAM533rIpW1JQXW78AljA4rcYYQlDKuFeLdR5dXlgnaO7JVi52LJr8Z UQ9+GXMOaMZhz2tzBlxM7yTShir5mwE= X-Google-Smtp-Source: ABdhPJz18vQ7ojz5VxDg3N8VIxV9cAF9HnHp2x63DTKtCTI44LCLU+SgCaCm6y8PtIOCUswGnBsEGw== X-Received: by 2002:a5d:5387:: with SMTP id d7mr23627020wrv.417.1608642383624; Tue, 22 Dec 2020 05:06:23 -0800 (PST) Received: from lili (oul69-1-82-232-2-3.fbx.proxad.net. [82.232.2.3]) by smtp.gmail.com with ESMTPSA id i18sm31835437wrp.74.2020.12.22.05.06.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Dec 2020 05:06:23 -0800 (PST) From: zimoun To: Carlo Zancanaro Subject: Re: Install `guix pull'ed Guix to target partition on system install In-Reply-To: <87r1nioy7o.fsf@zancanaro.id.au> References: <87ft403kol.fsf@ambrevar.xyz> <86tuse8yzh.fsf@gmail.com> <87h7oekwf0.fsf@ambrevar.xyz> <86r1ni86et.fsf@gmail.com> <87r1nioy7o.fsf@zancanaro.id.au> Date: Tue, 22 Dec 2020 14:06:14 +0100 Message-ID: <86eeji7zy1.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::433; envelope-from=zimon.toutoune@gmail.com; helo=mail-wr1-x433.google.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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: help-guix@gnu.org Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.22 Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=gmail.com header.s=20161025 header.b=jAoWjsMK; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: 8F2F79404FE X-Spam-Score: -1.22 X-Migadu-Scanner: scn1.migadu.com X-TUID: +duthlvfz+vu Hi Carlo, On Tue, 22 Dec 2020 at 22:51, Carlo Zancanaro wrote: > On Tue, Dec 22 2020, zimoun wrote: >> It is. If you do: >> >> (live) guix pull >> (live) guix system init >> >> then it appears expected to install what the system describes=20 >> *and* the current guix used to install them. Therefore, after=20 >> reboot, the first =E2=80=9Cguix pull=E2=80=9D will not fetch all the sub= stitutes=20 >> Guix requires, because you already did. > > Part of the issue here is that "guix system init" installs into=20 > the system the version of Guix that the "guix" package refers to,=20 > which is always older than the version that you are using to do=20 > the installation. The "guix" package points to a specific commit=20 > (4f621a2b003e85d480999e4d0630e9dc3de85bc3 in my current guix=20 > version) which must have come prior to the commit of the guix that=20 > is running (which for me is=20 > 5795f566fae85023c6be86fe62388c29e6ac5c51). We are describing the same issue but worded differently; or I am sorry but I cannot express differently. Well, IIUC, you are explaining why it is not as I expect. So bug? (And if it is not, I am going to take a break because then I do not understand what you and I are both saying.) >> (live) guix pull >> (live) guix describe >> (live) guix system init >> (live) reboot >> (real) login as root >> (real) guix describe >> >> The 2 =E2=80=99describe=E2=80=99 should be the same commit and apparentl= y they=20 >> are not. > > This expectation is wrong. The two "describe"s should return=20 > different commits, and the second one should be earlier than the=20 > first. Your description is the current situation. And that=E2=80=99s why the first =E2=80=9Cguix pull=E2=80=9D after the first log is so long. It should not = work like that. Because I did my homework, let reuse your own words ;-) =C2=ABI don't think "expected" is the right way to put this. I think "explainable" is more accurate.=C2=BB Even if the second =E2=80=9Cdescribe=E2=80=9D return an earlier commit than= the first, all the store items should be already in the final store because they are in the live store. Otherwise, the same substitutes are pulled twice. > Unfortunately, I am not aware of a solution to the issue Pierre=20 > has raised. One way is to transfer the store items from the live store to the disk store somehow via =E2=80=9Cguix archive --export -r=E2=80=9D then =E2=80=9C= guix archive --import=E2=80=9D. IMHO. All the best, simon