* bug#37374: "Guix is too old and cannot be upgraded" (guix package -u)
@ 2019-09-10 23:37 melon
2019-09-11 1:29 ` Jesse Gibbons
2019-09-11 5:46 ` pelzflorian (Florian Pelz)
0 siblings, 2 replies; 5+ messages in thread
From: melon @ 2019-09-10 23:37 UTC (permalink / raw)
To: 37374
I was attempting to upgrade my Guix (binary, on Linux Mint) installation
today using the 'guix package pull && guix package -u' commands, and Guix outputted the following error:
ERROR: In procedure raise:
Wrong type (expecting exact integer): #<condition &message [message: "Guix is too old and cannot be upgraded"] 7528ac0>
guix pull: error: You found a bug: the program '/gnu/store/y1kqj5ikxx9niyz2zx1gbikspi2xfmi4-compute-guix-derivation'
failed to compute the derivation for Guix (version: "7e143375d3649f3c0bd4c13958b26c086f364647"; system: "x86_64-linux";
host version: "aa4818c33b6b2fd8d602ee93a2f53005d9472f41"; pull-version: 0).
Please report it by email to <bug-guix@gnu.org>.
I searched the Web and mailing list archives for this error but could
not find anything. Maybe I used the wrong keywords.
Is there any way I can perform a "manual upgrade" to a newer Guix
version?
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#37374: "Guix is too old and cannot be upgraded" (guix package -u)
2019-09-10 23:37 bug#37374: "Guix is too old and cannot be upgraded" (guix package -u) melon
@ 2019-09-11 1:29 ` Jesse Gibbons
2019-09-11 7:01 ` Ricardo Wurmus
2019-09-11 5:46 ` pelzflorian (Florian Pelz)
1 sibling, 1 reply; 5+ messages in thread
From: Jesse Gibbons @ 2019-09-11 1:29 UTC (permalink / raw)
To: melon, 37374
On Tue, 2019-09-10 at 17:37 -0600, melon wrote:
> I was attempting to upgrade my Guix (binary, on Linux Mint)
> installation
> today using the 'guix package pull && guix package -u' commands, and
> Guix outputted the following error:
>
> ERROR: In procedure raise:
> Wrong type (expecting exact integer): #<condition &message [message:
> "Guix is too old and cannot be upgraded"] 7528ac0>
> guix pull: error: You found a bug: the program
> '/gnu/store/y1kqj5ikxx9niyz2zx1gbikspi2xfmi4-compute-guix-derivation'
> failed to compute the derivation for Guix (version:
> "7e143375d3649f3c0bd4c13958b26c086f364647"; system: "x86_64-linux";
> host version: "aa4818c33b6b2fd8d602ee93a2f53005d9472f41"; pull-
> version: 0).
> Please report it by email to <bug-guix@gnu.org>.
>
> I searched the Web and mailing list archives for this error but could
> not find anything. Maybe I used the wrong keywords.
>
> Is there any way I can perform a "manual upgrade" to a newer Guix
> version?
>
Wow, now I want to keep guix up-to-date all the time. How long has it
been since you pulled/upgraded guix?
The first thing I thought of is manually remove the guix binary run
install script. But that might get complicated.
I think you can look at the git repo on savannah and pull a few commits
after your current commit (run "guix describe" to get the commit, then
"guix pull --commit=COMMIT" where COMMIT is about a hundred commits
after your current commit), repeating until "guix pull" brings guix
fully up-to-date.
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#37374: "Guix is too old and cannot be upgraded" (guix package -u)
2019-09-10 23:37 bug#37374: "Guix is too old and cannot be upgraded" (guix package -u) melon
2019-09-11 1:29 ` Jesse Gibbons
@ 2019-09-11 5:46 ` pelzflorian (Florian Pelz)
1 sibling, 0 replies; 5+ messages in thread
From: pelzflorian (Florian Pelz) @ 2019-09-11 5:46 UTC (permalink / raw)
To: melon; +Cc: 37374
On Tue, Sep 10, 2019 at 05:37:47PM -0600, melon wrote:
> I was attempting to upgrade my Guix (binary, on Linux Mint) installation
> today using the 'guix package pull && guix package -u' commands, and Guix outputted the following error:
>
> ERROR: In procedure raise:
> Wrong type (expecting exact integer): #<condition &message [message: "Guix is too old and cannot be upgraded"] 7528ac0>
> guix pull: error: You found a bug: the program '/gnu/store/y1kqj5ikxx9niyz2zx1gbikspi2xfmi4-compute-guix-derivation'
> failed to compute the derivation for Guix (version: "7e143375d3649f3c0bd4c13958b26c086f364647"; system: "x86_64-linux";
> host version: "aa4818c33b6b2fd8d602ee93a2f53005d9472f41"; pull-version: 0).
> Please report it by email to <bug-guix@gnu.org>.
>
> I searched the Web and mailing list archives for this error but could
> not find anything. Maybe I used the wrong keywords.
>
> Is there any way I can perform a "manual upgrade" to a newer Guix
> version?
>
>
>
A manual upgrade is possible using a Git checkout, but it may be
easiest to just remove Guix like
https://wiki.archlinux.org/index.php/Guix#Uninstalling_Guix
and then reinstall.
(Sorry for linking to the Arch wiki; are there uninstall/removal
instructions in the manual that I missed? They should be more
prominent.)
Regards,
Florian
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#37374: "Guix is too old and cannot be upgraded" (guix package -u)
2019-09-11 1:29 ` Jesse Gibbons
@ 2019-09-11 7:01 ` Ricardo Wurmus
2019-09-11 21:09 ` Ludovic Courtès
0 siblings, 1 reply; 5+ messages in thread
From: Ricardo Wurmus @ 2019-09-11 7:01 UTC (permalink / raw)
To: Jesse Gibbons; +Cc: melon, 37374
Hi Jesse,
> Wow, now I want to keep guix up-to-date all the time. How long has it
> been since you pulled/upgraded guix?
There’s no need to worry about that. The mechanism to upgrade Guix has
changed significantly over the past years and has since stabilized.
This error will usually only hit you if you’re using a *much* older
Guix that predates the changes how “guix pull” works.
(It’s still a good idea to keep Guix up-to-date, of course.)
--
Ricardo
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#37374: "Guix is too old and cannot be upgraded" (guix package -u)
2019-09-11 7:01 ` Ricardo Wurmus
@ 2019-09-11 21:09 ` Ludovic Courtès
0 siblings, 0 replies; 5+ messages in thread
From: Ludovic Courtès @ 2019-09-11 21:09 UTC (permalink / raw)
To: Ricardo Wurmus; +Cc: Jesse Gibbons, melon, 37374
Hello,
Ricardo Wurmus <rekado@elephly.net> skribis:
>> Wow, now I want to keep guix up-to-date all the time. How long has it
>> been since you pulled/upgraded guix?
>
> There’s no need to worry about that. The mechanism to upgrade Guix has
> changed significantly over the past years and has since stabilized.
> This error will usually only hit you if you’re using a *much* older
> Guix that predates the changes how “guix pull” works.
Specifically, the message “Guix is too old and cannot be upgraded”
appears when you’re running ‘guix pull’ from Guix before 0.15.0,
released in July 2018. (That seemed like prehistory to me but I realize
it’s only a bit more than one year old.)
But like Ricardo wrote, such problems are unlikely to show up again
because ‘guix pull’ since 0.15.0 is designed to handle all sorts of
bumps into future Guix revisions.
Anyway, the simplest option for now, melon, may be to remove your
current Guix installation and install 1.0 instead.
Ludo’.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2019-09-11 21:10 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-09-10 23:37 bug#37374: "Guix is too old and cannot be upgraded" (guix package -u) melon
2019-09-11 1:29 ` Jesse Gibbons
2019-09-11 7:01 ` Ricardo Wurmus
2019-09-11 21:09 ` Ludovic Courtès
2019-09-11 5:46 ` pelzflorian (Florian Pelz)
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).