unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: zimoun <zimon.toutoune@gmail.com>
To: Thorsten Wilms <t_w_@freenet.de>
Cc: help-guix@gnu.org
Subject: Re: guix pull fails because substitution fails
Date: Tue, 15 Dec 2020 14:24:09 +0100	[thread overview]
Message-ID: <86tusnmccm.fsf@gmail.com> (raw)
In-Reply-To: <20201214173416.e182cab57b2d4068abb70477@freenet.de>

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	other threads:[~2020-12-15 13:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-12 18:48 guix pull fails because substitution fails Thorsten Wilms
2020-12-14 13:28 ` zimoun
2020-12-14 16:34   ` Thorsten Wilms
2020-12-15 13:24     ` zimoun [this message]
2020-12-15 18:14       ` Thorsten Wilms
2020-12-15 23:21         ` zimoun

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86tusnmccm.fsf@gmail.com \
    --to=zimon.toutoune@gmail.com \
    --cc=help-guix@gnu.org \
    --cc=t_w_@freenet.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).