From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Subject: bug#33285: Installing, then removing, a package yields a different profile Date: Wed, 06 Feb 2019 14:19:26 +0100 Message-ID: <878sytawbl.fsf@gnu.org> References: <8736seyb6d.fsf@gmail.com> <87r2fyz3ik.fsf@gnu.org> <87woppl5zy.fsf@gmail.com> <87sgx4wjlv.fsf@elephly.net> <877eefsa8n.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:54134) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1grN7U-0003Ja-AG for bug-guix@gnu.org; Wed, 06 Feb 2019 08:20:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1grN7S-0006Ru-JY for bug-guix@gnu.org; Wed, 06 Feb 2019 08:20:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:34870) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1grN7S-0006Rq-GN for bug-guix@gnu.org; Wed, 06 Feb 2019 08:20:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1grN7S-0002ol-7L for bug-guix@gnu.org; Wed, 06 Feb 2019 08:20:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <877eefsa8n.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Mon, 04 Feb 2019 19:02:16 +0100") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Ricardo Wurmus Cc: 33285@debbugs.gnu.org Ludovic Court=C3=A8s skribis: > Actually, to do things correctly, we should really store the .drv in the > =E2=80=98manifest=E2=80=99 file. That way, manifest entries would always= contains a > valid =E2=80=9Clowerable=E2=80=9D object (a package or a derivation recor= d), as opposed > to a store reference that happens to be valid. On second thought that=E2=80=99s probably not a great idea: we=E2=80=99d re= tain references to the .drv themselves, which can end up taking a bit of space, especially if --gc-keep-outputs is in use. So=E2=80=A6 the more I think about it the more I=E2=80=99m tempted to punt = on this one. The discrepancy we see here does not happen when using --manifest, which is probably what matters most. Thoughts? Ludo=E2=80=99.