all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tobias Geerinckx-Rice <me@tobias.gr>
To: help-guix@gnu.org, Jone <yeger9@gmail.com>
Subject: Re: Unexpected results with Guix.
Date: Sat, 02 Nov 2019 15:00:40 +0100	[thread overview]
Message-ID: <87r22qv0mv.fsf@nckx> (raw)
In-Reply-To: <87sgn6v132.fsf@nckx>

[-- Attachment #1: Type: text/plain, Size: 1372 bytes --]

Jone,

Tobias Geerinckx-Rice 写道:
> Jone 写道:
>> I used to deal only with rpm package manager - there 
>> unnecessary
>> dependencies would be removed automatically.
>> How do I get the same result with Guix? I don't have much space 
>> on
>> the
>> partition =)
>
> Very quick answer: ‘guix gc’.

OK, slightly longer answer since we can't find the car keys.

In this case, ‘guix gc -d’ is probably what you want.  It will 
delete old profiles and all store entries not used by the 
remaining profile(s).

/gnu/store is like a cache/memoized store/whatever slightly 
inaccurante memory management metaphor you prefer: when you 
install a package, it is downloaded or built into the store, and a 
new profile created that refers to it.

When you uninstall a package with ‘guix package -r’, only that 
reference is removed[0], but the store entry is not.  It might 
come in handy later, or be reused.  To actually delete these 
entries forever, you need to collect garbage (that's what GC 
stands for).  When you happen to install the exact same version of 
icecat in future, you'll have to download or build it again.

Apologies for this rushed explanation; we've found the keys :-)

Kind regards,

T G-R

[0]: Actually, a new profile is created that doesn't refer to 
icecat anymore.  Copy-on-write here, too.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

  reply	other threads:[~2019-11-02 14:00 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-02 16:39 Unexpected results with Guix Jone
2019-11-02 13:50 ` Tobias Geerinckx-Rice
2019-11-02 14:00   ` Tobias Geerinckx-Rice [this message]
2019-11-02 18:11     ` Jone
2019-11-02 13:52 ` Pierre Neidhardt
2019-11-02 17:40   ` Jone
2019-11-02 15:02     ` Pierre Neidhardt
2019-11-02 18:49       ` Jone
2019-11-02 18:09         ` pelzflorian (Florian Pelz)
2019-11-03  3:26           ` Jone
2019-11-03  6:32             ` pelzflorian (Florian Pelz)
2019-11-07  3:18               ` Jone
2019-11-07  6:40                 ` pelzflorian (Florian Pelz)
2019-11-07 13:39                   ` Jone
2019-11-07 10:51                     ` pelzflorian (Florian Pelz)
2019-11-07 11:39                       ` pelzflorian (Florian Pelz)
2019-11-07 16:46                         ` Jone
2019-11-07 14:53                           ` pelzflorian (Florian Pelz)
2019-11-07 14:29                       ` Jone
2019-11-02 15:36 ` pelzflorian (Florian Pelz)

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=87r22qv0mv.fsf@nckx \
    --to=me@tobias.gr \
    --cc=help-guix@gnu.org \
    --cc=yeger9@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.