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: Wed, 16 Dec 2020 00:21:56 +0100	[thread overview]
Message-ID: <86im92mz8r.fsf@gmail.com> (raw)
In-Reply-To: <20201215191445.0f3201aa6b911997b46910fc@freenet.de>

Hi,

On Tue, 15 Dec 2020 at 19:14, Thorsten Wilms <t_w_@freenet.de> wrote:

> Didn’t try that: After several days of always the same failure, `guix
> pull` is suddenly working again. So if this comes down to a networking
> issue, I wonder what went wrong for several days that did not affect
> any other service.

Thanks for the report and the feedback.


>> 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.
>
> This is a bit embarrasing: I have been using `guix package
> --delete-generations; guix gc --collect-garbage` frequently and up to
> this day did not realize that there’s another “level”, which can be
> dealt with via `guix gc --delete-generations`.

The control is finer. :-) You can type “guix package --list-profiles”
and you should see, at least:

        $HOME/.config/guix/current
        $HOME/.guix-profile

where $HOME is expanded to yours.

Doing “guix package --delete-generations” only acts on the default
profile which is “~/.guix-profile”.  Therefore, you also need to clean
the profile “~/.config/guix/current” where the current Guix commands
live.  It is a regular profile so you can try:

  guix package -p ~/.config/guix/current --list-installed

or --list-generations (could be big in your case).  But because this
profile is the default one and is the one where Guix is pulled in, then
“guix pull” is the subcommand to manipulate it.

All the best,
simon


      reply	other threads:[~2020-12-15 23:31 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
2020-12-15 18:14       ` Thorsten Wilms
2020-12-15 23:21         ` zimoun [this message]

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=86im92mz8r.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).