From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pierre Neidhardt Subject: About /var/guix/profiles and guix pull generations Date: Sat, 08 Dec 2018 11:53:37 +0100 Message-ID: <878t10xpam.fsf@ambrevar.xyz> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55899) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gVaFG-0008II-21 for help-guix@gnu.org; Sat, 08 Dec 2018 05:54:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gVaFA-00056m-O4 for help-guix@gnu.org; Sat, 08 Dec 2018 05:54:01 -0500 Received: from relay6-d.mail.gandi.net ([217.70.183.198]:54089) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gVaF8-0004zf-7f for help-guix@gnu.org; Sat, 08 Dec 2018 05:53:54 -0500 Received: from mimimi (lfbn-1-799-59.w86-246.abo.wanadoo.fr [86.246.35.59]) (Authenticated sender: mail@ambrevar.xyz) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id 4B687C0008 for ; Sat, 8 Dec 2018 10:53:46 +0000 (UTC) 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 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi! I had a look at /var/guix/profiles and noticed that there were some forgott= en links there. For instance, of some custom profiles I didn't use and all. After removing those links (sudo rm ...), guix gc could free a lot of space! I also noticed that "guix pull" generations were accumulating, and that might eat up some disk space as well. So I ran a =2D-8<---------------cut here---------------start------------->8--- $ guix package -p ~/.config/guix/current -d1m =2D-8<---------------cut here---------------end--------------->8--- to free all guix checkouts older than a month. I wonder if we should not document this more. Maybe have "guix" display extensive information about the profiles in /var/guix/profiles? When the guix store runs low on disk space, Guix currently suggests to run "guix gc" and all. I think we should suggest the above command and to check for other GC rotos in /var/guix/profiles. Thoughts? Finally, do I need /var/guix/profiles/per-user/root at all? Is it safe to remove? =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAlwLorEACgkQm9z0l6S7 zH+CXwf+MM5tDDSeEsH8L/5plaAsXyfVfBrTLLBO5X8mVuUPW1QMyfopfo/B1fz6 9M3qqj/a9/KVlF2WtUWzA7cBj43/9SmKcA66w0WDme0e8ZipmANG5CgLmeRTpewQ 66i1NoUL3BHxrsYgbTJ+uqH7kMpvZuroc9gpPde9uDO3fvUi57fRDBXyX0EhtMoY xaEtrer4MBksRccsYfjOsqnB1mThB225IlRnA/ROwxfTO1P1i7lwlbQbkw0A3n6+ 3K5LwS3d+ZhYkY/t2RA05LGmEK+/1rExB/ebZYuau382ldRzgg1Dz2kXEVVlo1CC W4YYiyUmQOQEp4QDPy38sYkfnLr2eA== =bdjm -----END PGP SIGNATURE----- --=-=-=--