From mboxrd@z Thu Jan 1 00:00:00 1970 From: Efraim Flashner Subject: Re: protect generations Date: Wed, 15 Jan 2020 10:38:39 +0200 Message-ID: <20200115083839.GK858@E5400> References: <20200105224236.2e4fb9c2@jasniac.instanton> <20200112155722.00f6010a@jasniac.instanton> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="HTLCc13+3hfAZ6SL" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:47269) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ireDK-00082q-IS for help-guix@gnu.org; Wed, 15 Jan 2020 03:39:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ireDG-0001fH-VB for help-guix@gnu.org; Wed, 15 Jan 2020 03:39:46 -0500 Received: from flashner.co.il ([178.62.234.194]:51840) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ireDG-0001Us-Og for help-guix@gnu.org; Wed, 15 Jan 2020 03:39:42 -0500 Content-Disposition: inline In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane-mx.org@gnu.org Sender: "Help-Guix" To: zimoun Cc: help-guix --HTLCc13+3hfAZ6SL Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable >=20 > For example, let consider this scenario: >=20 > guix package --install list of packages # (1) > guix package -i other ones -r some # (2) > guix package --upgrade # (3) > guix package -i again -r bye bye # (4) > guix package --roll-back # (5) > guix package -i kikoo # (6) > etc. >=20 > Now, the profile at the generation (6) is fine and you want to garbage > collect all the previous generations. But you know that the generation > (2) was ok. To my knowledge, it is not easy to GC the generations 1, > 3, 4, 5 without collecting the 2. >=20 In this scenario you can run 'guix gc --delete-generations=3D1,3,4,5' --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --HTLCc13+3hfAZ6SL Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAl4ez48ACgkQQarn3Mo9 g1FAVBAAsFrqzpstczUYOYvTCBdUwo4m/12WuGiDX/VOmOWFGUNcvYrfC8JjecW/ ozy8xmLHeVWLrAbIWY3KvnXZyp30RsyJHjcvxpD6EKOkYAPUs/KnvxZNg4nDF9lb uaCpLC97d24wQRZblaL+A8nufJiUiDiUBks3evc2HK1mPm+rB3m7jeDfbvEYfjnP nGUDWS3HgQT7HpiFk2FSXgQgCJy+C3rijH2KCdIHxBuJPFu90HzQjAZsgAQCAtLN PT95Af4l00G5hCpGHyXCN3EP5g1OSkv5BZg9T7rR06GsrQ1nOfBJh834yxG49/aI gAVEFH++oBGCwrX/cuue7MCBK3ZOgs+OUsAi95ZiUlw3kEc+M79j4nPjkJFKo7PF tUJ7lVztX93oBO4djHeK8BuLvkzsQjjAEK8gCGW6x5OS1fqEEDmWIIDRoN/YXrmZ Kdk6DU+2LFknH5n0mZ3H+zfQeIyfXLfgpCWg4zNFcl5wES+7Pvvf5+isfWkJkizq oSDqgY89l7DVI0Yf4HqfwHkZSihKUM3mpYRGGsxXbipvmmhNmAN03JVTDf221ehF AP0a7mLAkvqF4fqPl3PQz0eENtoCwOUGvA4EaPucz1oTcb+r4vZmZ0Y0iOho0f67 6Ffg2cUpmaiJ7ySTAUVQKjuNlaqi2OUxz7WdhA8uyLiueSqJ+0M= =MIEa -----END PGP SIGNATURE----- --HTLCc13+3hfAZ6SL--