From: "Ludovic Courtès" <ludo@gnu.org>
To: zimoun <zimon.toutoune@gmail.com>
Cc: david larsson <david.larsson@selfhosted.xyz>, 58247@debbugs.gnu.org
Subject: bug#58247: Using guix time-machine results in unsupported manifest format error
Date: Sun, 04 Dec 2022 18:01:50 +0100 [thread overview]
Message-ID: <87cz8zm7b5.fsf@gnu.org> (raw)
In-Reply-To: <86tu40nl1l.fsf@gmail.com> (zimoun's message of "Wed, 19 Oct 2022 12:51:34 +0200")
Hi,
zimoun <zimon.toutoune@gmail.com> skribis:
> This issue is about the upgrade of manifest version from 3 to 4. For
> references,
>
> <http://issues.guix.gnu.org/issue/58247>
>
> On Mon, 03 Oct 2022 at 00:10, zimoun <zimon.toutoune@gmail.com> wrote:
>
>> Well, I do not know if a fix is possible. The issue is a
>> backward compatibility issue.
>
> Ludo, what is your insight on that matter? Is it fixable? Or do we
> mark the issue as ’wontfix’?
David wrote:
> Im on commit 729ce5f and Im running: guix time-machine
> --commit=7e8e070 -- package -i hello
>
> and it outputs:
>
> guix package: error: unsupported manifest format
This use case cannot be fixed: you cannot use an old Guix (one that only
understood manifest version 3) to manipulate a “new” profile (manifest
version 4). That’s a fundamental limitation of old software being
unable to deal with new formats in general.
One way to work around it is to have that old ‘guix’ operate on a fresh
profile (thus it’ll be version 3):
rm -f /tmp/old-stuff
guix time-machine --commit=7e8e070 -- package -i hello -p /tmp/old-stuff
or, better yet, to use ‘guix shell’ or ‘guix environment’:
guix time-machine --commit=7e8e070 -- \
environment --ad-hoc hello -- hello
I’m closing this bug.
Thanks,
Ludo’.
next prev parent reply other threads:[~2022-12-04 17:03 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-02 11:17 bug#58247: Using guix time-machine results in unsupported manifest format error david larsson
2022-10-02 17:02 ` zimoun
2022-10-02 18:57 ` david larsson
2022-10-02 22:10 ` zimoun
2022-10-19 10:51 ` zimoun
2022-12-04 17:01 ` Ludovic Courtès [this message]
2022-10-20 18:44 ` david larsson
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=87cz8zm7b5.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=58247@debbugs.gnu.org \
--cc=david.larsson@selfhosted.xyz \
--cc=zimon.toutoune@gmail.com \
/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).