unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: zimoun <zimon.toutoune@gmail.com>
To: Tyler Wolf <tyler@twolf.io>, 59598@debbugs.gnu.org
Subject: bug#59598: "Unsupported manifest format" error
Date: Sun, 27 Nov 2022 13:22:22 +0100	[thread overview]
Message-ID: <86bkos1ta9.fsf@gmail.com> (raw)
In-Reply-To: <Z5CVux4CVeq8xfPo9ox1Y3zUxvSO9h1NuaZ7Rn3ucl4bmvuNd-pVgrQqU1x3YaRKbK7FwcKTtLFekoAJDHndWvB19PyReLnRgmUtvHK6L0U=@twolf.io>

Hi,

On Fri, 25 Nov 2022 at 22:06, Tyler Wolf via Bug reports for GNU Guix <bug-guix@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




  reply	other threads:[~2022-11-27 12:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-25 22:06 bug#59598: "Unsupported manifest format" error Tyler Wolf via Bug reports for GNU Guix
2022-11-27 12:22 ` zimoun [this message]
2022-11-27 23:34   ` bokr
2022-11-28  9:41     ` zimoun

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86bkos1ta9.fsf@gmail.com \
    --to=zimon.toutoune@gmail.com \
    --cc=59598@debbugs.gnu.org \
    --cc=tyler@twolf.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).