From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 JyvLLHP0g2MkXAAAbAwnHQ (envelope-from ) for ; Mon, 28 Nov 2022 00:36:19 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id yB6iK3P0g2OOfQAA9RJhRA (envelope-from ) for ; Mon, 28 Nov 2022 00:36:19 +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 5808BF582 for ; Mon, 28 Nov 2022 00:36:19 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ozRBs-0004Jo-9f; Sun, 27 Nov 2022 18:36:04 -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 1ozRBq-0004Da-Ax for bug-guix@gnu.org; Sun, 27 Nov 2022 18:36: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 1ozRBq-0004Br-2t for bug-guix@gnu.org; Sun, 27 Nov 2022 18:36:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ozRBp-00027F-O1 for bug-guix@gnu.org; Sun, 27 Nov 2022 18:36:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#59598: "Unsupported manifest format" error Resent-From: bokr@bokr.com Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 27 Nov 2022 23:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59598 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: zimoun Cc: 59598@debbugs.gnu.org, Tyler Wolf Received: via spool by 59598-submit@debbugs.gnu.org id=B59598.16695921148122 (code B ref 59598); Sun, 27 Nov 2022 23:36:01 +0000 Received: (at 59598) by debbugs.gnu.org; 27 Nov 2022 23:35:14 +0000 Received: from localhost ([127.0.0.1]:44823 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ozRB3-00026w-VT for submit@debbugs.gnu.org; Sun, 27 Nov 2022 18:35:14 -0500 Received: from mailout.easymail.ca ([64.68.200.34]:56644) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ozRB2-00026o-0Z for 59598@debbugs.gnu.org; Sun, 27 Nov 2022 18:35:13 -0500 Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id 2A1BA6300F; Sun, 27 Nov 2022 23:35:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=bokr.com; s=easymail; t=1669592104; bh=6gqoQNR9pTVph32cTbBYqccdnIN/blJ58UqZmWKdaeQ=; h=From:Date:To:Cc:Subject:References:In-Reply-To:From; b=OM5fMN45vd+N74zj8F3LKxYwvKZS4rIHphF5Uyx5ANryfHjbuMaxXpRVpj84k3oNm CEgjtVWi15EIDoQM815ZPUCaRDM+/q19VsoSviYEAcCzLTGVXlUM9cOZSM+aXkt/9o IoGIq9PP/SrBYa0G1am2Ikcm9Itfi3r1FHzD2B5OZrSzPD22G8vK355gaVxUMw28ws C1TS64Kcy4h/iLuCziXCU4Oy8zwQ6wPLZZip1gGeucq1b9LQG8NYdLX7XaDa2wUYxz q01xof+1wion2VbTFAnSj4L21vNR94NbdFOxbYiLipm6AeT/LU9Wr5Ql5y86pKdDdG hHAbsAC/1d/pw== X-Virus-Scanned: Debian amavisd-new at emo07-pco.easydns.vpn Received: from mailout.easymail.ca ([127.0.0.1]) by localhost (emo07-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SGZ0R5S-WPah; Sun, 27 Nov 2022 23:35:03 +0000 (UTC) Received: from localhost (m83-185-34-32.cust.tele2.se [83.185.34.32]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mailout.easymail.ca (Postfix) with ESMTPSA id 40A5161C6B; Sun, 27 Nov 2022 23:35:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=bokr.com; s=easymail; t=1669592103; bh=6gqoQNR9pTVph32cTbBYqccdnIN/blJ58UqZmWKdaeQ=; h=From:Date:To:Cc:Subject:References:In-Reply-To:From; b=AEanzj74KLcuAi2ZjawX9bKfD7bcA1u7awvL5GpUFTq7T1s6IeYSJEJFLRNsLCYcs eDKA9/ijI8+jAT5lMQ103EYpc7pDtu0WWTgtGhN1fN1ZKgP8jht9r/qFBX/jDE7dlq 9XVzm7pGtVjxl4QEEmMsvfomSmy9HvOW6Z2IUeiVWO3BeczNpXig6Yo5u9afoerMpd +Q/ldacRVclFkO38KIUj2WPGSoxgPec2CTjP0AErEyMEeAgTsXI+ovWCqJWeTZ/NsK GrzvFLUBXhq3IEtHfkxR16A5PO6Z3QCbBRiEHGFFIp4U2XiQM1HI2RtAABvYkFJDr6 MthDWb98gvFAQ== From: bokr@bokr.com Date: Mon, 28 Nov 2022 00:34:43 +0100 Message-ID: <20221127233443.GA3070@LionPure> References: <86bkos1ta9.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <86bkos1ta9.fsf@gmail.com> User-Agent: Mutt/1.10.1 (2018-07-13) 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-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1669592179; 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=SZjYtY+4aSMPTCDJxmItjG7e4vQcuD364KQj/sdhFpE=; b=oKv1sUplPhYXio9KxNS98bHJtwUYr9iwtIk1VvqN0QI5TL7kxExh0XzyISsPYMCJXfkdDF PYUzlfMevF3MNdw6fFIQ0HtfJAnKxZv4/5oA+jDxZ+m7jRGJ4rZLYg5lRsYBDwI9T0kf71 GUWbrvfORKpS5Y9vqVhtKNFHn/da44gn/5SikJ3VYFHiIM4oi7/5XiMTSqjZq+FuwuXOI8 SrCLNEvAa6v/9FIg21tsVyU8c3GfZYEz8hr/aegur2GcMjMsDegf+Goov2rsyw8ZwXijOp cnHiTQhzXniOQi8SnSX6ukhGNz2zb9bZ0klJQuK/2MKSB8OWZfivk6JFtg+Dig== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1669592179; a=rsa-sha256; cv=none; b=TaV40SOaX97XOtOPttdOZdQPBexzGGXV2M1W1rHVCqV14h7JAgs/p879qhWUIWUfGnk0FH 9SynHFhXnDE9IuDlDRKoGwm/jqfGFHouFBiZXFSmxu7cQo9DwAy4T8Mi0RAappK/sRhoPr 47S1fuuJH8kLIqvbBb3tt+sp8xjrUdhk6FMjRw/uKUOksduhW/APDvd6vd4//WsbnzQK9q 5wIQAxk5DQN5/YqnS1o8pFJw274I4hD7AUFcgix4W6zoc36oz5tz5s1E5MZSTKThBHOPEu 7UlCAjrp3/BSRfhjhwexG4zPC0byB2AkeHnWHIrKU1mOlBoxUH8AxWxn61On/w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=bokr.com header.s=easymail header.b=OM5fMN45; dkim=fail ("headers rsa verify failed") header.d=bokr.com header.s=easymail header.b=AEanzj74; dmarc=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: 1.34 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=bokr.com header.s=easymail header.b=OM5fMN45; dkim=fail ("headers rsa verify failed") header.d=bokr.com header.s=easymail header.b=AEanzj74; dmarc=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: 5808BF582 X-Spam-Score: 1.34 X-Migadu-Scanner: scn1.migadu.com X-TUID: h5mcLuqqm0gd Hi zimoun, On +2022-11-27 13:22:22 +0100, zimoun wrote: [...] > > This file lives in the store. Hum, I am surprised that a power shutdown > removed this file. > Are all the conditions for a clean sync of the file system where /gnu/store is mounted guaranteed? What is the difference between power shutdown when you let the battery run down and the OS shuts everything down vs if you log out and click power down? Is it not possible that when you have recharged the battery and boot up that a journaling file system will discover traces of an incomplete transaction (i.e. the one that was supposed to record and atomically commit the missing file) and discards it to reestabllish coherent file system state? And what about continuations that were possibly waiting for availability of that file? Hopefully the OS will recover a good state, but what can userland innocents expect to be guaranteed, in terms of work flow they can understand? (those with the grok-fu to understand internals won't need much to imagine failure scenarios, but will presumably appreciate /design/rationale/implementation/ documentation tips) > Well, I do not know if you can recover this empty file. At least, you > can the previous generation; e.g., guix package --roll-back. > Assuming the file system recovered -- a pretty good bet, but ... :) > Or you can extract a previous manifest with, > > guix package -p /var/guix/profiles/per-user//guix-profile--link \ > --export-manifest > /tmp/manifest-.scm > > where and depends on. Then, > > guix package -m /tmp/manifest-scm > > will reinstall the same list of packages but at their current version > (the ones of current Guix revision; guix describe). > > > Cheers, > simon > -- Regards, Bengt Richter