[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Stuck upgrading from Guix v0.12
From: |
Ludovic Courtès |
Subject: |
Re: Stuck upgrading from Guix v0.12 |
Date: |
Wed, 19 Dec 2018 14:57:31 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
Heya,
Ricardo Wurmus <address@hidden> skribis:
> I’m in the same situation upgrading a machine that didn’t have an
> Internet connection for months.
>
> Here’s what I do:
>
> - use a git checkout to jump to commit
> b0cb92b2d43a2c4d5fa9b3f8c04c5732c60061e7, which adds guile-gcrypt
>
> - ./bootstrap && ./configure --localstatedir=/var && make clean && make
>
> - ./pre-inst-env guix package -i guile guile-sqlite3 guile-json
> guile-ssh guile-gcrypt
>
> - update to the latest version
Just a reminder so people don’t run away ;-): the upgrade story got much
better shortly before 0.15.0, when ‘guix pull’ got the ability to “build
Guix from Guix” in a way that does not rely* on the currently installed
Guix. For example, you can run 0.15’s ‘guix pull’ and upgrade to
today’s Guix without problems.
Ludo’.
* More specifically, ‘guix pull’ relies on a small subset of Guix
functionality that hasn’t changed in a couple of years, which is a lot
given Guix’s history.