all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Konrad Hinsen <konrad.hinsen@fastmail.net>
To: Simon Tournier <zimon.toutoune@gmail.com>,
	Guix Devel <guix-devel@gnu.org>
Subject: Re: Time travel accident
Date: Thu, 13 Apr 2023 10:14:48 +0200	[thread overview]
Message-ID: <m18rewfbbb.fsf@fastmail.net> (raw)
In-Reply-To: <87ttxlgpku.fsf@gmail.com>

Simon Tournier <zimon.toutoune@gmail.com> writes:

> I have,
>
> --8<---------------cut here---------------start------------->8---
> $ guix gc --list-dead | grep 9gfmn1yra7rzavxb9wppqi4lpdvqid8c
> finding garbage collector roots...
> determining live/dead paths...
> /gnu/store/9gfmn1yra7rzavxb9wppqi4lpdvqid8c-inferior-script.scm

For me it is (well, was, see below) under "–list-live". But it has no
referrers. And...

> $ guix gc -D /gnu/store/9gfmn1yra7rzavxb9wppqi4lpdvqid8c-inferior-script.scm

fails for me (as it should for a live item).

Yesterday, I did "rm -rf ~/.cache/guix/inferiors" followed by "guix gc".
Right now, after the above tests, I did another "guix gc". And now...
the two items we are testing here are "dead" and I could remove them.

So it seems that two garbage collections are better than one, even
though nothing much happened in between (just a few "guix shell"
executions that added a few items to the store).

Cheers,
  Konrad


  reply	other threads:[~2023-04-13  8:38 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-07  7:47 Time travel accident Konrad Hinsen
2023-04-07  8:30 ` Josselin Poiret
2023-04-07 10:07   ` Julien Lepiller
2023-04-07 16:10   ` Konrad Hinsen
2023-04-07 17:39     ` Julien Lepiller
2023-04-11 15:20       ` Konrad Hinsen
2023-04-12 10:17         ` Konrad Hinsen
2023-04-12 14:09           ` Simon Tournier
2023-04-13  8:14             ` Konrad Hinsen [this message]
2023-04-12 11:03         ` Simon Tournier
2023-04-12 12:53           ` Konrad Hinsen
2023-04-07 17:26 ` Simon Tournier
2023-04-17 13:32 ` Ludovic Courtès
2023-04-17 17:50   ` Simon Tournier
2023-04-17 22:16     ` Vagrant Cascadian
2023-04-18  9:39       ` Simon Tournier

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

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

  git send-email \
    --in-reply-to=m18rewfbbb.fsf@fastmail.net \
    --to=konrad.hinsen@fastmail.net \
    --cc=guix-devel@gnu.org \
    --cc=zimon.toutoune@gmail.com \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.