From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id eAgLLiTW0F6SWwAA0tVLHw (envelope-from ) for ; Fri, 29 May 2020 09:30:12 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 8HrjKSTW0F4ReQAAB5/wlQ (envelope-from ) for ; Fri, 29 May 2020 09:30:12 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id DC55A940058 for ; Fri, 29 May 2020 09:30:11 +0000 (UTC) Received: from localhost ([::1]:50344 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jebL7-0007JW-Df for larch@yhetil.org; Fri, 29 May 2020 05:30:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45874) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jebL1-0007JB-9i for guix-patches@gnu.org; Fri, 29 May 2020 05:30:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42272) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jebL0-00034N-W3 for guix-patches@gnu.org; Fri, 29 May 2020 05:30:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jebL0-0003In-Nh for guix-patches@gnu.org; Fri, 29 May 2020 05:30:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#41538] [PATCH] guix scripts: Mention Guix checkouts + gcroots/auto when warning about disk space. Resent-From: Pierre Neidhardt Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 29 May 2020 09:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41538 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 41538@debbugs.gnu.org Received: via spool by 41538-submit@debbugs.gnu.org id=B41538.159074456412630 (code B ref 41538); Fri, 29 May 2020 09:30:02 +0000 Received: (at 41538) by debbugs.gnu.org; 29 May 2020 09:29:24 +0000 Received: from localhost ([127.0.0.1]:53818 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jebKO-0003Hd-5n for submit@debbugs.gnu.org; Fri, 29 May 2020 05:29:24 -0400 Received: from relay6-d.mail.gandi.net ([217.70.183.198]:50585) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jebK8-0003HB-9L for 41538@debbugs.gnu.org; Fri, 29 May 2020 05:29:22 -0400 X-Originating-IP: 78.248.96.161 Received: from mimimi (mqu44-1-78-248-96-161.fbx.proxad.net [78.248.96.161]) (Authenticated sender: mail@ambrevar.xyz) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id BAC29C0019; Fri, 29 May 2020 09:29:01 +0000 (UTC) From: Pierre Neidhardt In-Reply-To: <874krzagy6.fsf@gnu.org> References: <20200526132219.27748-1-mail@ambrevar.xyz> <874krzagy6.fsf@gnu.org> Date: Fri, 29 May 2020 11:29:01 +0200 Message-ID: <87wo4vf5sy.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 0.5 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -0.2 (/) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: -1.61 X-TUID: +4FV2Uc0YmQd --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s writes: > =E2=80=98guix gc --delete-generations=3D1m=E2=80=99 deletes generations o= f both > ~/.guix-profile and ~/.config/guix/current. (When running as root it > does that for all the users.) Today I learned something! :) > I would not recommend =E2=80=98guix system delete-generations=E2=80=99 he= re because it=E2=80=99s > only accessible to root. I still find it a useful tip because system generations may eat up a lot of space and are easily forgotten. What about adding "if you have root privileges"? >> +You might also want to delete old non-default profiles pointed to by >> +the symlinks in /var/guix/gcroots/auto (broken symlinks in this >> +directory will be automatically removed).") > > IMO hints should remain concise, and I=E2=80=99m afraid this might be too= much. > Also, /var/guix/gcroots/auto is an implementation detail; I=E2=80=99d rec= ommend > running =E2=80=98guix package --list-profiles=E2=80=99 instead. Good point. What about this then? =2D-8<---------------cut here---------------start------------->8--- You might also want to delete old non-default profiles returned by `guix package --list-profiles`. =2D-8<---------------cut here---------------end--------------->8--- Cheers! =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl7Q1d0ACgkQm9z0l6S7 zH+Dtgf+KqSCKWuxkCR9WZHwcDSkKgDCsvakKLivabmcjTiyF96LYKutr3GQGNbX /9dgAOk2stc80HWmJUAirRXRu8sB5jvBsujFzwDPgZHmPM44+5Hi0RZPJBK/vLaj 94jON0/JgyD4nlyICX2PIlFVjuO5kfCLcdVQdeuv7csOukg8Kdny4pP7CyYdQ70z r2WiYyua5zPx1XRFcjz7A6At6KSyttpp0oBkEDxDGHBU2T2R9J50GEEPiquS9thQ yNBjv4qHcDGjg153PJpVbQm9xYJszO9JCee+uDfzgVYSXHNdfZXw4fCxSCzga/UC CAgkIy9+zk24x3QNaMIB0oiJOFcyBQ== =/ZAI -----END PGP SIGNATURE----- --=-=-=--