From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jesse Gibbons Subject: bug#37374: "Guix is too old and cannot be upgraded" (guix package -u) Date: Tue, 10 Sep 2019 19:29:30 -0600 Message-ID: <24bccfebf40e114498af09d86a1032a2cd82075c.camel@gmail.com> References: <87mufb3epg.fsf@muto.ca> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:52228) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i7rSO-0006hD-GU for bug-guix@gnu.org; Tue, 10 Sep 2019 21:30:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i7rSN-0002ha-EN for bug-guix@gnu.org; Tue, 10 Sep 2019 21:30:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33057) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i7rSN-0002hU-BK for bug-guix@gnu.org; Tue, 10 Sep 2019 21:30:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1i7rSM-0002aH-Vt for bug-guix@gnu.org; Tue, 10 Sep 2019 21:30:03 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87mufb3epg.fsf@muto.ca> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: melon , 37374@debbugs.gnu.org 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): # "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 . > > 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.