[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Stuck upgrading from Guix v0.12
From: |
Ricardo Wurmus |
Subject: |
Re: Stuck upgrading from Guix v0.12 |
Date: |
Wed, 19 Dec 2018 15:26:13 +0100 |
User-agent: |
mu4e 1.0; emacs 26.1 |
Ludovic Courtès <address@hidden> writes:
> 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.
Yes, this is correct.
The above recipe works when Guix is used exclusively from a git
checkout. Using “guix pull” via version 0.15.0 is easier.
--
Ricardo