From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.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 4CE/IxTl+mZMdAEAe85BDQ:P1 (envelope-from ) for ; Mon, 30 Sep 2024 17:51:16 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id 4CE/IxTl+mZMdAEAe85BDQ (envelope-from ) for ; Mon, 30 Sep 2024 19:51:16 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=burningswell-com.20230601.gappssmtp.com header.s=20230601 header.b=E1mp0KCS; dmarc=none; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1727718676; h=from:from:sender:sender: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=5RLcu6Jfj5MDpWmzL0bVp4e2z1TsYoE6ZVukn7dWaQc=; b=JRV+KcGloOD3YGVa32EkfP0i/rqsB0AqBJvuGRI+vdmhP1xBCUGgu4wqvWZ3StZxH5at0g qIk5EfgFg7yhXajrpG0JldFIoJYG3lZG9Rg0+GbpVtgKmtiiGm3maI7fMee4Vn/uHX1f9+ CWmo9PdyXfpynfF8xOP6PFUrnUa6nKPNBaIMpAEIIoEibHZqjSTyfBOMddnEb/7kg/bmAM O6jRBmf7u7huhWDmXbjC329OF+/v94CWg5nyQhzGxxJnlJnLDaKQy3h+4NyTQQPi8O7Zkr zwzvuZe19vvmf1lcKw9EW1qS92TGk9njpwTfFHkMfV7RKqOYxGpZnPjXczZivg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=burningswell-com.20230601.gappssmtp.com header.s=20230601 header.b=E1mp0KCS; dmarc=none; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1727718676; a=rsa-sha256; cv=none; b=UqcTELJsi+Uj0kgLER1vrEkNNA1eV7/7soypkSSRUcIaZeIeT3v9bhXXOTnGhZdhG1ZmpX 8cDT8YavgC+tRqQgxmhbKQua3r0OxutH4XN0o+/NBS7c2XcfV2tGRsgFLoy6n4PC6MhASF j2wlneOGegJ3JfGtWUfddyABxyNLmAyIWucdwGYzP4rqKCMigd9FVgh9os/ss3AXMaeI5T PhDkv70FM7a8MpqzGLi/nGYVCNbYHWLqjxgBkb8kLpdU/bOV7D6P+dqtKYQ9eMLe3AyTGw a1/ocAEaxvIPsHaZNPJ+0JUjCuxii60VbvCLVfZl1lgOiWU3i0sXCdpWZlKh7g== 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 EA0AD34C06 for ; Mon, 30 Sep 2024 19:51:15 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1svKXp-0007bF-FK; Mon, 30 Sep 2024 13:50:49 -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 1svKXn-0007b6-7V for help-guix@gnu.org; Mon, 30 Sep 2024 13:50:47 -0400 Received: from mail-ej1-x632.google.com ([2a00:1450:4864:20::632]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1svKXk-0006TV-3O for help-guix@gnu.org; Mon, 30 Sep 2024 13:50:46 -0400 Received: by mail-ej1-x632.google.com with SMTP id a640c23a62f3a-a8a6d1766a7so687844466b.3 for ; Mon, 30 Sep 2024 10:50:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=burningswell-com.20230601.gappssmtp.com; s=20230601; t=1727718642; x=1728323442; darn=gnu.org; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=5RLcu6Jfj5MDpWmzL0bVp4e2z1TsYoE6ZVukn7dWaQc=; b=E1mp0KCSkLsKrqx2cmw+FK+3dtzxyLrzrmpG7R9WZZfwds8yz7WONKkB5fq1XJ6t5O q8vH1WyaJpPiAFpl/GtcdVh0BFV0go8Nk3vbykmSoNygVtVhKJG/iDV/i4k29h+SmLtV qyGR0hPsw/db3FdtPOUbmvOSrzwAbFfx0tcUdYiEdHhr5d+XxssNBjcPiImEfqLaN9Yv dUgMcovDaamisEjYjDnwSk4JP/D7riXj1p9yZfWNTsduuZMrTd0Y77PAZzIlQBZHWWjZ ja/gh830bKwaY7EW5v93cDutFjWROWAbQp7G/VKfGCX95O0+b+aG1biR8RTtyu70wazX w9UA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727718642; x=1728323442; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=5RLcu6Jfj5MDpWmzL0bVp4e2z1TsYoE6ZVukn7dWaQc=; b=IpRLRT2yaA7bgIk5R14zPh6yl/6ACmg8u5bmSAdHnaiJkk8vdonoOkOdqXi/3MdiNN mZ0FyMcmA+0+FL4fzUhGhFfYkEqlH40GauUV/P+FN28TMIVJck6FNCBOlgdETlv7acSA bBlPCPEv9deY9BDbQOl38uKwRSLryGazMVI3kd3ukSrTACY84Dyc7hnrro563O5nDZYp +ZUvSJJGPh9eKbr2XXRbDvNKeP/8iiYBWr/OU1UX+zJgSYLQOEUmuuZkvQDvR5gpcJa4 Hnibt9uUULigZw7Ew6mHP8xAoGI5H/lBVKmKaNCupUzHTMxt0am5rWjp+gCAA8TtXt7z vlcQ== X-Gm-Message-State: AOJu0Yyrj4zobC6S28Uh0D7qYP7eVd12ESsi9ZzryMfQZSoStjkhBrA7 MfAW8VH2W/RtxhhO2ihDomOt9i3FFrBnVwuCPKMjPmRXhPvtrr3Jrw7i31mvbUOxjAMbMmuq72p T X-Google-Smtp-Source: AGHT+IEFwqct0ZXblb1vsZlG2alLFtW8A6JElFMKBXy5HLgnD/wDe65IplTeFwW8/Q8gS+CsHiHv5A== X-Received: by 2002:a17:906:7946:b0:a8a:7897:c043 with SMTP id a640c23a62f3a-a93c4ae12c7mr1549102166b.43.1727718641436; Mon, 30 Sep 2024 10:50:41 -0700 (PDT) Received: from m1 ([2a01:599:109:c4b7:f571:f50e:bd5e:460f]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a93c297dda9sm565041966b.166.2024.09.30.10.50.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Sep 2024 10:50:40 -0700 (PDT) From: Roman Scherer To: Efraim Flashner Cc: help-guix@gnu.org Subject: Re: Rollback with efi-bootloader-chain: no such bootloader In-Reply-To: (Efraim Flashner's message of "Sun, 29 Sep 2024 19:14:45 +0300") References: <86v7yh7han.fsf@burningswell.com> Date: Mon, 30 Sep 2024 19:50:38 +0200 Message-ID: <86y139ghe9.fsf@burningswell.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: none client-ip=2a00:1450:4864:20::632; envelope-from=roman.scherer@burningswell.com; helo=mail-ej1-x632.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=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: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: EA0AD34C06 X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -7.20 X-Spam-Score: -7.20 X-TUID: 0Oo52qvDeAfx --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi Efraim, thanks for helping me! This is what I see when I run `which -a guix` as a user, and when run via sudo. I do reconfigure the system with `sudo guix ...`. I used to as root. = Not sure if that matters. [roman@m1 guix]$ which -a guix /home/roman/.config/guix/current/bin/guix /run/current-system/profile/bin/guix /home/roman/.config/guix/current/bin/guix /run/current-system/profile/bin/guix [roman@m1 guix]$ sudo which -a guix /home/roman/.config/guix/current/bin/guix /run/current-system/profile/bin/guix /home/roman/.config/guix/current/bin/guix /run/current-system/profile/bin/guix I have no idea if this is good or bad. :) I don't think I have any `guix` package installed in my profiles. I checked this with: guix package -I | grep guix sudo guix package -I | grep guix Both profiles also seem to have a recent version of the `guix` cli. [roman@m1 guix]$ guix --version guix (GNU Guix) 68edde635d7f60fb48b2b664e55118fdc3021a73 [roman@m1 guix]$ sudo guix --version guix (GNU Guix) 68edde635d7f60fb48b2b664e55118fdc3021a73 Was your thinking that I may got so far back in time somehow that the `guix` package I was using did not contain the `efi-bootloader-chain` variable, and thus `lookup-bootloader-by-name` could not find it? Good idea, I haven't even thought of that. :) But I think that's not the case here, isn't it? Do you have any other ideas? Thanks, Roman. Efraim Flashner writes: > On Fri, Sep 27, 2024 at 08:16:16AM +0200, Roman Scherer wrote: >>=20 >> Hello Guix, >>=20 >> I'm using a Guix system with the efi-bootloader-chain [1]. The chain >> loads m1n1 (the Asahi Linux boot loader), u-boot and then grub. >>=20 >> A system roll-back used to work fine, but it stopped to work a while >> ago. I'm not sure when that happened, because I rarley needed to >> roll-back. But now that I don't have it anymore, I'm a bit nervous. >>=20 >> When I do a roll-back, this is what happens: >>=20 >> ``` >> $ sudo guix system roll-back >> Password: >> guix system: error: efi-bootloader-chain: no such bootloader >> ``` >>=20 >> It looks like the efi-bootloader-chain can't be found in the >> %bootloaders variable of the (gnu bootloader) module. But that seems >> strange, since it is defined in the same file (just a bit later). >>=20 >> Any ideas? >>=20 >> Thanks, Roman. >>=20 >> [1] https://github.com/asahi-guix/channel/blob/main/modules/asahi/guix/b= ootloader/m1n1.scm > > What do you get from `which -a guix`? Make sure you haven't installed > guix (the package) into a profile and are slowly making your way > backwards in time each time you reconfigure. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFTBAEBCAA9FiEE0iajOdjfRIFd3gygPdpSUn0qwZkFAmb65O4fHHJvbWFuLnNj aGVyZXJAYnVybmluZ3N3ZWxsLmNvbQAKCRA92lJSfSrBmQV5CADKQw+xYIrE7Hpl qtjsfE8x/4BsaCMUAIWMzQ8zuIhtvnrYl3/3ni/oObtAw4fjMU0jTA+n/CLNt3BO w15fVoFuE9GF1/roGDIT5/skdOTS5dWwHu5VxPuqTYaWvk2pP0RniEpfLndTpAHB 0/IRu1JMDRnxPpO1Ve4z1qbvGDZdinRuyBe1Yho9pfSM32F0flYUovyjRgds43i4 03UByugs4q8tmQlyIkfWoTJfxckleueay3M83yB+khf4Un85vHp+G7oXI3woOS3e 2N9dot/aLtd/lW76VVb+r3a2CyHrNBGjGPdHg5m9jSVa2x01PbJQfwxUgEswETZl hiFfWtIR =i6vL -----END PGP SIGNATURE----- --=-=-=--