From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 4IFMM6FKmGPvDQAAbAwnHQ (envelope-from ) for ; Tue, 13 Dec 2022 10:49:21 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 6KNaMqFKmGPrXgAAG6o9tA (envelope-from ) for ; Tue, 13 Dec 2022 10:49:21 +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 99494ABD9 for ; Tue, 13 Dec 2022 10:49:21 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p51uJ-0007ry-Th; Tue, 13 Dec 2022 04:49:03 -0500 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 1p51uI-0007qm-He for bug-guix@gnu.org; Tue, 13 Dec 2022 04:49:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p51uI-00068Y-8f for bug-guix@gnu.org; Tue, 13 Dec 2022 04:49:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p51uH-0002Xm-Id for bug-guix@gnu.org; Tue, 13 Dec 2022 04:49:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#59784: [version 1.4.0rc1] Retrying a failed install fails Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 13 Dec 2022 09:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59784 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: "pelzflorian (Florian Pelz)" Cc: Mathieu Othacehe , 59784@debbugs.gnu.org Received: via spool by 59784-submit@debbugs.gnu.org id=B59784.16709249379772 (code B ref 59784); Tue, 13 Dec 2022 09:49:01 +0000 Received: (at 59784) by debbugs.gnu.org; 13 Dec 2022 09:48:57 +0000 Received: from localhost ([127.0.0.1]:59303 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p51uD-0002XY-2A for submit@debbugs.gnu.org; Tue, 13 Dec 2022 04:48:57 -0500 Received: from eggs.gnu.org ([209.51.188.92]:46366) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p51uB-0002XS-CK for 59784@debbugs.gnu.org; Tue, 13 Dec 2022 04:48:55 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p51u5-00067P-DO; Tue, 13 Dec 2022 04:48:49 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=YEfAehKVzTBxDsx4NDoDS+jL9Q5+6QWPN8UkX74ditg=; b=OC60b47K4M1ss5lFgt8g TwsfKmmHV7oW+ZXeWdk3VNQgWaweyrRlvokXwm71LazgLzB9u9KgW96a6fZ1unPT/tTpWmu82k3yf 6oDehQth/4Woo39Ac3YLlygfE9Tcynfm9z8e/S8ALFesNcXtSjNN1o1hBwAn58Iz3IOPSwti+I+p2 e7RsRqT+yKXh1CqOmQqZNmvHH54xIUnDKM8u/Nd2x/jtTbQt28L070pSoLq/PUSacO7lDMOXz/TGu +YRfn/ONhLM/buh1a1emF4k2KMJppVeMnWZtpyvWP0GFXlWKDdRtcpCgnf/PmofuLvWbbhABJvlp4 aEayH7JzXyEjHQ==; Received: from vpn-0-27.aquilenet.fr ([2a0c:e300:4:27::] helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p51u4-0001DU-AN; Tue, 13 Dec 2022 04:48:49 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87y1rpy9p4.fsf@pelzflorian.de> <87mt7wap6v.fsf@gnu.org> <87y1rf649x.fsf@pelzflorian.de> <87pmcny73z.fsf@gnu.org> Date: Tue, 13 Dec 2022 10:48:43 +0100 In-Reply-To: <87pmcny73z.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Tue, 13 Dec 2022 10:40:16 +0100") Message-ID: <87k02vy6pw.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1670924961; 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: content-transfer-encoding:content-transfer-encoding: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=YEfAehKVzTBxDsx4NDoDS+jL9Q5+6QWPN8UkX74ditg=; b=Tuv6UoTkjiqjyp+Wczqgss+tgdOaNriDmFcjO21zAQZSrUWzDAk8lwj4h0FvBMUXDx63nH sr9u8uYW5dZu9IeguWmCZxioq74f8UrdKWnlbQ+dVF/vb+H0/zG0E2YJ7abt7kfFN2HDXY GRK71YbEv182dYY2hKhvDiU7s7ewpRotMNCH7Qy9inkL5yNFHsvsPy6F9gk9Qdg7q5VRrQ 41cI+29h4B/SRn4ed9B0Wbsh40eIjIOLHJWvSL8POP8yTFrqnSV8Ins77BVUXNVD+rF68X BUbv/XrcE1xjSceZbJSxE9fRhLqRBlryA3AqUnglufjy3cARMVKp8xwyoUOQ8Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=OC60b47K; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1670924961; a=rsa-sha256; cv=none; b=Gwwkjq9yqBC9zhtT23yegWmqm90y4u9z+4jXYvRvRr7jG5/q9lvKgFhOLR/oPa/7YE2hAF Ha7J8/U8Rj7nBqAQIVRLNNYcD8uHH+CWRiPZmrg/1Y4pU0FDH4j15jPD+gQftaPjYB4UQU Jg919mHFsUKiwgjHg1tcafBbfFsB6pjWvJYui2HZyqGIn7xWfjzC5kbORAFJ8AVZWuxB36 NFxptuuIwRZzHT3j29Igv1cUYErmq8gNOLdxfzRzJOciFY1FsmzkawxNHAFoo/9kKIpa3E OhJZQuvquF9p2GtxAGr4WwZ40ZdkigCAZkYYAorfP9QaYgYOQNkrkMjYgHpkdw== X-Migadu-Spam-Score: -2.37 X-Spam-Score: -2.37 X-Migadu-Queue-Id: 99494ABD9 X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=OC60b47K; 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"; dmarc=pass (policy=none) header.from=gnu.org X-TUID: LHP85Ee0u7m0 Hi again, Ludovic Court=C3=A8s skribis: > It looks like the store is in a broken state, with its database not > matching its actual contents. The =E2=80=98install-system=E2=80=99 proce= dure is > supposed to protect against that by making a backup of the database > before starting the installation and restoring it afterwards. (It > apparently worked for me when I interrupted =E2=80=98guix system init=E2= =80=99 by > hitting C-c.) Actually, look at the excerpt from final.scm: ;; Restart guix-daemon so that it does no keep the MNT namespace ;; alive. (restart-service 'guix-daemon) (copy-file saved-database database-file) We=E2=80=99re restarting the daemon *before* we have restored the database, which is wrong: depending on how lucky you are, guix-daemon might load the old database (all this depends on what exactly happens when sqlite opens the database, but I think there=E2=80=99s a possibility that it will = load or cache a few things and thus fail to see the changes =E2=80=98copy-file= =E2=80=99 introduces.) So my guess is that things will be much better if we swap these two lines. Florian, it would be great if you could try that and run a new image generated version =E2=80=98version-1.4.0=E2=80=99 with these two lines chan= ged. To produce the image, run: ./pre-inst-env guix system image -t iso9660 --label=3DGuix \ gnu/system/install.scm Ludo=E2=80=99.