help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: guix pull fails because substitution fails


From: zimoun
Subject: Re: guix pull fails because substitution fails
Date: Tue, 15 Dec 2020 14:24:09 +0100

Hi,

On Mon, 14 Dec 2020 at 17:34, Thorsten Wilms <t_w_@freenet.de> wrote:
> On Mon, 14 Dec 2020 14:28:48 +0100
> zimoun <zimon.toutoune@gmail.com> wrote:
>
>> You were pulling b828057, but from which commit?
>
> ```
> $: guix describe
> Generation 161        Dec 02 2020 14:24:58    (current)
>   guix 9fe5bb7
>     repository URL: https://git.savannah.gnu.org/git/guix.git
>     branch: master
>     commit: 9fe5bb7c9217f247a0fbbc72467ba5de3a6ddf03
> ```

On my machine,

  guix time-machine --commit=9fe5bb7 \
       -- pull --commit=b828057 -p /tmp/new

works.  What does it say on your machine?

>> What is the output of “guix pull -l” and “guix package -l”?  What
>> does “guix time-machine –commit=b828057 – help” say?
>
> `guix pull -l` starts with:
> ```
> Generation 1  Nov 07 2018 21:45:53
>   guix b31e156
>     repository URL: https://git.savannah.gnu.org/git/guix.git
>     branch: master
>     commit: b31e1561611ebe4916890183b24e6e13cb83bf59
> ```
> Half an hour later (which makes me think you had something else in
> mind) it ends with:

Ouch!  what I was in mind is that you GC time to time and not keep all
these versions. :-) For example, “guix pull --delete-generations=6m” to
keep only the last 6 months generations.  Then the next “guix gc” will
remove all these old generations; well if you never roll-back to them.

> Generation 161        Dec 02 2020 14:24:58    (current)
>   guix 9fe5bb7

Anyway, what I had in mind is to roll-back to the previous and try to
pull from this (generation 160 or 159).

> $: guix package -l
>
> Generation 182        Nov 14 2020 10:38:14    (current)
>   glibc-utf8-locales  2.31    out     
> /gnu/store/z7a6sbvqzb5zapwpznmjkq2rsxil6i67-glibc-utf8-locales-2.31

[...]

>   wmctrl      1.07    out     
> /gnu/store/011adrqz27gj2yf8l5gnaswg4fwp0d2m-wmctrl-1.07

You should split your profile as explained here:

<https://guix.gnu.org/cookbook/en/html_node/Guix-Profiles-in-Practice.html#Guix-Profiles-in-Practice>


For your initial problem, I do not know, it seems a transient network
failure.  Maybe try to remove the folder “~/.cache/guix/substitute” and
try again.


All the best,
simon





reply via email to

[Prev in Thread] Current Thread [Next in Thread]