From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tobias Geerinckx-Rice Subject: Re: Unexpected results with Guix. Date: Sat, 02 Nov 2019 15:00:40 +0100 Message-ID: <87r22qv0mv.fsf@nckx> References: <87sgn6v132.fsf@nckx> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:44026) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iQtxR-0006kr-F8 for help-guix@gnu.org; Sat, 02 Nov 2019 10:00:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iQtxP-0002jw-Ug for help-guix@gnu.org; Sat, 02 Nov 2019 10:00:49 -0400 Received: from tobias.gr ([2001:470:7405::1]:51056) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iQtxP-0002iL-F3 for help-guix@gnu.org; Sat, 02 Nov 2019 10:00:47 -0400 In-reply-to: <87sgn6v132.fsf@nckx> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: help-guix@gnu.org, Jone --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Jone, Tobias Geerinckx-Rice =E5=86=99=E9=81=93=EF=BC=9A > Jone =E5=86=99=E9=81=93=EF=BC=9A >> I used to deal only with rpm package manager - there=20 >> unnecessary >> dependencies would be removed automatically. >> How do I get the same result with Guix? I don't have much space=20 >> on >> the >> partition =3D) > > Very quick answer: =E2=80=98guix gc=E2=80=99. OK, slightly longer answer since we can't find the car keys. In this case, =E2=80=98guix gc -d=E2=80=99 is probably what you want. It w= ill=20 delete old profiles and all store entries not used by the=20 remaining profile(s). /gnu/store is like a cache/memoized store/whatever slightly=20 inaccurante memory management metaphor you prefer: when you=20 install a package, it is downloaded or built into the store, and a=20 new profile created that refers to it. When you uninstall a package with =E2=80=98guix package -r=E2=80=99, only t= hat=20 reference is removed[0], but the store entry is not. It might=20 come in handy later, or be reused. To actually delete these=20 entries forever, you need to collect garbage (that's what GC=20 stands for). When you happen to install the exact same version of=20 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=20 icecat anymore. Copy-on-write here, too. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEfo+u0AlEeO9y5k0W2Imw8BjFSTwFAl29jAgACgkQ2Imw8BjF STxOyQ/+MGsIcn34KlYq9DJVwGmWDsEqf1VeKP/F6muvdwSd/qM+LHjwKHv3XGtt 8HA+ZdAOXCsTeCMnP1HH854XAT0VO8aezPP5ML1TxLKNUv67vFunTpaRhJdzVNGm EiUQ93V0PXgeyjCMtlmSOj23/GXxi5JS+ZnV57BjYykrk36ElgWQfk6XpHVvvp9N 1E2CS4iqceMp1ObHDdgwsYSFSCSY5Uj7Gnk/FqgH7iRy/WZ5PYH43+JI7jprXkDh UZaTRv69O0GC52qdDbKnuPT5sicdwr/4ZEFX1wIapL9uJPsydIYBj3x5QnrX5goK ukj91NP2Qw5oBkGBmJ6KlNAanVSjTp5KcoxVeYLJ8q9cwgr+5aoxwdxTPQ7EciET s+bX0Fqgx8eJFhd4xtYGqPti9R9r7CKNZPju8ofp+s77xaVDjY9IVq8crhIlTdya VUMH/x4tYmNR1JGWmkbmLwlx85LgjqA/4QarfDkAawF2S0JKZGkvW7yKhhTwDRwo e0qbNVnR7Pewg9PUt4zC3UA+6jGR/LeWeDZ7JOMYwdSXKOUcklW3zb9P9li4wcap 0RRS0mAh9rSwPR3ZEjbI1zMsF8DM0FCTJiEAUSbp2CvNrQynlbUrZHcRy906KcYY quPuHDFvylsauC4U37+TYCt6+DHK2Da+HFeOMbnhalg6FSQUyRU= =Mp5M -----END PGP SIGNATURE----- --=-=-=--