GNU bug report logs - #37374
"Guix is too old and cannot be upgraded" (guix package -u)

Previous Next

Package: guix;

Reported by: melon <shack <at> muto.ca>

Date: Wed, 11 Sep 2019 00:33:01 UTC

Severity: normal

Tags: wontfix

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 37374 in the body.
You can then email your comments to 37374 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#37374; Package guix. (Wed, 11 Sep 2019 00:33:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to melon <shack <at> muto.ca>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Wed, 11 Sep 2019 00:33:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: melon <shack <at> muto.ca>
To: bug-guix <at> gnu.org
Subject: "Guix is too old and cannot be upgraded" (guix package -u)
Date: Tue, 10 Sep 2019 17:37:47 -0600
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 <at> 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?




Information forwarded to bug-guix <at> gnu.org:
bug#37374; Package guix. (Wed, 11 Sep 2019 01:30:02 GMT) Full text and rfc822 format available.

Message #8 received at 37374 <at> debbugs.gnu.org (full text, mbox):

From: Jesse Gibbons <jgibbons2357 <at> gmail.com>
To: melon <shack <at> muto.ca>, 37374 <at> debbugs.gnu.org
Subject: Re: bug#37374: "Guix is too old and cannot be upgraded" (guix
 package -u)
Date: Tue, 10 Sep 2019 19:29:30 -0600
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 <at> 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.




Information forwarded to bug-guix <at> gnu.org:
bug#37374; Package guix. (Wed, 11 Sep 2019 05:47:01 GMT) Full text and rfc822 format available.

Message #11 received at 37374 <at> debbugs.gnu.org (full text, mbox):

From: "pelzflorian (Florian Pelz)" <pelzflorian <at> pelzflorian.de>
To: melon <shack <at> muto.ca>
Cc: 37374 <at> debbugs.gnu.org
Subject: Re: bug#37374: "Guix is too old and cannot be upgraded" (guix
 package -u)
Date: Wed, 11 Sep 2019 07:46:04 +0200
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 <at> 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




Information forwarded to bug-guix <at> gnu.org:
bug#37374; Package guix. (Wed, 11 Sep 2019 07:03:02 GMT) Full text and rfc822 format available.

Message #14 received at 37374 <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: Jesse Gibbons <jgibbons2357 <at> gmail.com>
Cc: melon <shack <at> muto.ca>, 37374 <at> debbugs.gnu.org
Subject: Re: bug#37374: "Guix is too old and cannot be upgraded" (guix package
 -u)
Date: Wed, 11 Sep 2019 09:01:22 +0200
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





Information forwarded to bug-guix <at> gnu.org:
bug#37374; Package guix. (Wed, 11 Sep 2019 21:10:02 GMT) Full text and rfc822 format available.

Message #17 received at 37374 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Ricardo Wurmus <rekado <at> elephly.net>
Cc: melon <shack <at> muto.ca>, Jesse Gibbons <jgibbons2357 <at> gmail.com>,
 37374 <at> debbugs.gnu.org
Subject: Re: bug#37374: "Guix is too old and cannot be upgraded" (guix package
 -u)
Date: Wed, 11 Sep 2019 23:09:13 +0200
Hello,

Ricardo Wurmus <rekado <at> 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’.




Added tag(s) wontfix. Request was from Ludovic Courtès <ludo <at> gnu.org> to control <at> debbugs.gnu.org. (Fri, 20 Sep 2019 21:16:01 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 37374 <at> debbugs.gnu.org and melon <shack <at> muto.ca> Request was from Ludovic Courtès <ludo <at> gnu.org> to control <at> debbugs.gnu.org. (Fri, 20 Sep 2019 21:16:01 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 19 Oct 2019 11:24:10 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 183 days ago.

Previous Next


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