GNU bug report logs - #59598
"Unsupported manifest format" error

Previous Next

Package: guix;

Reported by: Tyler Wolf <tyler <at> twolf.io>

Date: Sat, 26 Nov 2022 04:11:05 UTC

Severity: normal

Full log


View this message in rfc822 format

From: zimoun <zimon.toutoune <at> gmail.com>
To: Tyler Wolf <tyler <at> twolf.io>, 59598 <at> debbugs.gnu.org
Subject: bug#59598: "Unsupported manifest format" error
Date: Sun, 27 Nov 2022 13:22:22 +0100
Hi,

On Fri, 25 Nov 2022 at 22:06, Tyler Wolf via Bug reports for GNU Guix <bug-guix <at> gnu.org> wrote:

> I then can see that my ~/.guix-profile/manifest is empty, thus I think
> it is safe to say that this is where the issue is originating, however
> I am unable to rewrite this file, so I was wondering if there was any
> fix to this?

This file lives in the store.  Hum, I am surprised that a power shutdown
removed this file.

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.

Or you can extract a previous manifest with,

  guix package -p /var/guix/profiles/per-user/<USER>/guix-profile-<NUMBER>-link \
       --export-manifest > /tmp/manifest-<NUMBER>.scm

where <USER> and <NUMBER> depends on.  Then,

  guix package -m /tmp/manifest-<NUMBER>scm

will reinstall the same list of packages but at their current version
(the ones of current Guix revision; guix describe).


Cheers,
simon




This bug report was last modified 2 years and 207 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.