From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id UHN+CayuPmN1BgAAbAwnHQ (envelope-from ) for ; Thu, 06 Oct 2022 12:32:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id UHGoCayuPmPScQEA9RJhRA (envelope-from ) for ; Thu, 06 Oct 2022 12:32:12 +0200 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 C2BF6171C0 for ; Thu, 6 Oct 2022 12:32:11 +0200 (CEST) Received: from localhost ([::1]:39814 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ogOAk-00088O-BT for larch@yhetil.org; Thu, 06 Oct 2022 06:32:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51966) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ogOAd-00086v-1K for bug-guix@gnu.org; Thu, 06 Oct 2022 06:32:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59972) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ogOAc-0006xF-PG for bug-guix@gnu.org; Thu, 06 Oct 2022 06:32:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ogOAc-0008D3-Gd for bug-guix@gnu.org; Thu, 06 Oct 2022 06:32:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#58149: guix pull error Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 06 Oct 2022 10:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58149 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Matthieu Haefele Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , 58149@debbugs.gnu.org Received: via spool by 58149-submit@debbugs.gnu.org id=B58149.166505226231473 (code B ref 58149); Thu, 06 Oct 2022 10:32:02 +0000 Received: (at 58149) by debbugs.gnu.org; 6 Oct 2022 10:31:02 +0000 Received: from localhost ([127.0.0.1]:59050 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ogO9d-0008BS-OT for submit@debbugs.gnu.org; Thu, 06 Oct 2022 06:31:02 -0400 Received: from mail-pf1-f170.google.com ([209.85.210.170]:34689) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ogO9Z-0008BD-97 for 58149@debbugs.gnu.org; Thu, 06 Oct 2022 06:31:00 -0400 Received: by mail-pf1-f170.google.com with SMTP id f140so1687899pfa.1 for <58149@debbugs.gnu.org>; Thu, 06 Oct 2022 03:30:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date; bh=fZXuVMrkomQ0nK7AtErghDqhNSxU3/r6tvhsKH4VuLw=; b=nlqyrzG/EnExDUH65IIpUCbGsQas1jjhQMOZVlTHZCGyymQlLaBpl3MXjM99i+iY4M Wsx9j6fM8H2hGns3dCxFEOsuEMemwsML7fD3JBsssSyGpnggdGJk/Co5bNbQHw9u0GVY 7D7S4vHf3vLTM8RRXLr18qlrqcNNNUWEcTX6fDUDrnMVQeGiSs5eOt4Tb9MeOWNAm8oK PYpyioUbgLPqFaxwmSk9OwhnnzA78HmjBu014y9+S+O+pmcrl9aRL6yPsxiqaQ+DkMFs ECpsqHs23JYNq25rL5WVQF88racFqUY9BVKJE7OjzXH2+7aWNVkg9iNeuNntkxdVTqGu DlYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=fZXuVMrkomQ0nK7AtErghDqhNSxU3/r6tvhsKH4VuLw=; b=DLoV4AfWcliXoTZ1Hr+Dza+p7i2RM+vlIRpWLNrmAae37UvCAVgE60KBbz6Qbu+FLU zd4QwNKk/53gCBhLO6gVs13F1nxz9YjzADhqlde/WdTzjNZDk+tBge3uobwUZN57Km3J jdXLv0JoolrTO7C0MsOHPlogp+m8hQPDut6B/5RlWxsjNXg+ifcURtmYdPt0px9L1IHC S6L0kTLw652KGD2Lrw9yhqVR6eHFQTemqy9NS9n0+A4+eiaEUOiZD3EDP5DzbANOGuHO iGbQ5fI2HdZMi63cdr5Ka9OkWWx55pVzBpn5+JcAjbwcKkFQuMHXNkz+XniD8JH4zsFU xHbg== X-Gm-Message-State: ACrzQf2/8GAj3KcVs/KM90wFdz58Z1r4VQG4JypGlqXj+wFxWPdSOn48 njVE7Am8N5LAz7CWCHRRVzcemFKH+anrAM5WHII= X-Google-Smtp-Source: AMsMyM6Rug66uSrlqhLvwHQ5KtoyvDAoxAwFtKk5BdMd0RDuNHkVvRWBH2z8aKwGJaQL3rqLsaLByWvaFizbXsSNydk= X-Received: by 2002:a63:2ac4:0:b0:41d:95d8:45b6 with SMTP id q187-20020a632ac4000000b0041d95d845b6mr4041802pgq.132.1665052251313; Thu, 06 Oct 2022 03:30:51 -0700 (PDT) MIME-Version: 1.0 References: <87mtajb1bz.fsf@gmail.com> <87bkqycndo.fsf@inria.fr> <87h70q9pqh.fsf@inria.fr> <5e2f17b1-c763-c6ce-1223-0a8f6cd3c734@cnrs.fr> <878rm18f7r.fsf@inria.fr> <6765fefb-b632-ac3e-8a82-53904468b471@cnrs.fr> <87mtad1d2c.fsf@inria.fr> <984e742d-ab96-2509-74a3-1d9891339e91@cnrs.fr> <8735c5ypg8.fsf@inria.fr> <87o7urvqxj.fsf@inria.fr> <9b9460ae-1e13-c681-9c16-6c8119e1615e@cnrs.fr> <87y1tusjfu.fsf@inria.fr> <87wn9dnxsx.fsf@inria.fr> <5b41d671-5d7c-b4dc-c91f-ce65fd6180cf@cnrs.fr> In-Reply-To: <5b41d671-5d7c-b4dc-c91f-ce65fd6180cf@cnrs.fr> From: zimoun Date: Thu, 6 Oct 2022 12:30:39 +0200 Message-ID: Content-Type: text/plain; charset="UTF-8" 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=1665052332; 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: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=fZXuVMrkomQ0nK7AtErghDqhNSxU3/r6tvhsKH4VuLw=; b=WpSEyA0dbliR1EF/b7SWSs1pDLDbmQbRamIHmiWrFdIvPhnKs4d/7xBnJvdratnE5wHfs8 duWHCEAv5wV4F+8xgocy6pxJ1T8QPe4Z8ueHlx4weMI0dyh4sLHDOD+lV2qfsARonQ58CK hXiH1QtdBIGVoR1kFcevOgyI1AwzPyiWfe30CMj33Zc2dd8YXsDuTay3m2bKhkxI9h49jO DRNGiyXvq9CeeQ18SmDVJxEFyhbl81LJSmOyhvY568KpV2I2NcU7HW8Gdbc1WZ99qS+TxV JmSEViMyfAxJNDR6gXfzie5Iq7jjieKhRYb0Z/7cYdDauk8B5HcbPkHWKTmSSQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1665052332; a=rsa-sha256; cv=none; b=TaH0PR05aZVHmvacsspcCyqORvWkhToI4jernOve9SPxDEjWVBlqifeEvIjAXUt/EnlNjG WqwqjYeuWpWCTyEyw3+Y6bUWhhLnNycRdrdSByO7MVaprm58v+WVBLlMotcYCWSflFUzMX sbRjWN0pjsj1LKwo1wCDpdb10N7FvXqNecynKWj5FN+xUXw6E5FULv4RSQ5eNM64VKjLKm sZl9qtNns2tTwAm0r/be5OkU+FRuF4Ud3pr2JycWU4ms9QboOhncvtVuniBv+u2ZRrHcZj zCu3akSKoICc0GYA1E2G4iJMj1CxFkaL5/Ltn35mEke2yqZrr7LEgqg/rPbO2g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b="nlqyrzG/"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (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: 5.53 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b="nlqyrzG/"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (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: C2BF6171C0 X-Spam-Score: 5.53 X-Migadu-Scanner: scn0.migadu.com X-TUID: Xlg5R1pcEcwo Hi Matthieu, On Thu, 6 Oct 2022 at 12:10, Matthieu Haefele wrote: > Victory !! \o/ > 1. What am I doing wrong to have stuck to this old guix daemon all this time ? Shall I run this `sudo -i guix pull` regularly to > keep my daemon up to date ? But then it looks like I am the only one who faced this issue, weird, no ? And problems should have > started back in February, but I intensively worked on guix this summer, including some `guix pull`... If reasons are not too > complicated, I am interested in getting some insights. When you run "guix pull" as a regular user, you just update the profile ~/.config/guix/current which provides the 'guix' command used by the user. Note that several users on the same machine can have different versions. When a regular user run 'guix ', this talks with 'guix-daemon' and process many actions (store management etc.). Here 'guix-daemon' is usually provided by the profile '/root/.config/guix/current' . Well, it is configured by systemd (or any others), for instance see [1] considering 'readlink /root/.config/guix/current' returns /var/guix/profiles/per-user/root/current-guix. Therefore, to update the guix-daemon which runs (started by systemd), you need to update the profile /root/.config/guix' which is done by running "guix pull" as root. 1: https://git.savannah.gnu.org/cgit/guix.git/tree/etc/guix-daemon.service.in#n9 Personally, I run "guix pull" as root (update the daemon) each every while. ;-) Usually, at each new release and/or when I read (guix pull --news; as regular user) something important. > 2. We have tried out several things. If I have a colleague in a similar situation, could you confirm the following procedure: > > /var/guix/profiles/per-user/root/current-guix/bin/guix-daemon --version > # should answer something like "guix-daemon (GNU Guix) 1.0.1" > > guix build \ > /gnu/store/n8vdar2f60mvq62g7mngpqwykbm9rw1q-guix-1.2.0rc2-1.0d4b1af > > sudo -i guix package --bootstrap -p /root/.config/guix/current \ > -r guix -i /gnu/store/n8vdar2f60mvq62g7mngpqwykbm9rw1q-guix-1.2.0rc2-1.0d4b1af > > systemctl restart guix-daemon > > /var/guix/profiles/per-user/root/current-guix/bin/guix-daemon --version > # should answer "guix-daemon (GNU Guix) 1.2.0rc2-1.0d4b1af" > > sudo -i guix pull > > systemctl restart guix-daemon > > /var/guix/profiles/per-user/root/current-guix/bin/guix-daemon --version > # should answer something like "guix-daemon (GNU Guix) 1.3.0-30.17134b9" Well, I cannot confirm the store name as /gnu/store/n8vdar2f60mvq62g7mngpqwykbm9rw1q-guix-1.2.0rc2-1.0d4b1af. Personally, I also miss how Ludo found these items. :-) Ludo, do you think it would be worth to implement a transition plan for this kind of situation? Cheers, simon PS: Feel free to reply to 58149-done@debbugs.gnu.org if you consider the bug is now fixed. :-)