From unknown Thu Sep 11 12:41:57 2025 X-Loop: help-debbugs@gnu.org Subject: bug#33285: Installing, then removing, a package yields a different profile Resent-From: Chris Marusich Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 06 Nov 2018 06:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 33285 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 33285@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15414855638087 (code B ref -1); Tue, 06 Nov 2018 06:27:02 +0000 Received: (at submit) by debbugs.gnu.org; 6 Nov 2018 06:26:03 +0000 Received: from localhost ([127.0.0.1]:35928 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gJuoM-00026M-UB for submit@debbugs.gnu.org; Tue, 06 Nov 2018 01:26:03 -0500 Received: from eggs.gnu.org ([208.118.235.92]:49100) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gJuoL-00025t-Gw for submit@debbugs.gnu.org; Tue, 06 Nov 2018 01:26:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gJuoF-0005zq-NF for submit@debbugs.gnu.org; Tue, 06 Nov 2018 01:25:56 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:55356) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gJuoF-0005zg-Kp for submit@debbugs.gnu.org; Tue, 06 Nov 2018 01:25:55 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58704) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gJuoE-0003jy-RT for bug-guix@gnu.org; Tue, 06 Nov 2018 01:25:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gJuoB-0005sZ-NY for bug-guix@gnu.org; Tue, 06 Nov 2018 01:25:54 -0500 Received: from mail-pf1-x435.google.com ([2607:f8b0:4864:20::435]:45653) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gJuoB-0005oF-H9 for bug-guix@gnu.org; Tue, 06 Nov 2018 01:25:51 -0500 Received: by mail-pf1-x435.google.com with SMTP id p17-v6so5233902pfj.12 for ; Mon, 05 Nov 2018 22:25:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:user-agent:mime-version; bh=2qfeLwGbtL0begmjopjJneWVGmSAIKQS6d603nu8EHA=; b=bVsTbqh7JMK0EPlsFrZz+ORxTDngaJ7xeFXrNbYoi3rjqKTGOz0NSaavlmDuNj1ydQ knA8ttiwZ0O91FZ+7DMhR9ebxmMx0Zdf+Q4xYqBkK71KC0xiLVGjK/DZfNjHsriPLk/D ogaI1O6N/L7SuLyfpp3QrHcheqtjxCZ0r1+Sg2HXuik8+ZohpnR/MUdyJ6mIShPqLPJ1 p3VTig8IalEDuJyNeHmMEtVUNR4ia/YkL0gRSDBo+fTc5uSerGkO2Bc10aM95Z3/WWC9 YddcHVEpyfeyaKH+u7qe2bcgTbEdpjqMBE8nAYpAGMFQ4A6Piv578dIvJJVSDDeBUmDu Xv0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:user-agent :mime-version; bh=2qfeLwGbtL0begmjopjJneWVGmSAIKQS6d603nu8EHA=; b=srX3pmgzx7UIORs/WuhT10U32hZwMs/59Yf3KxEImBpBM3R1riAadeWdL3jZ+3ORz7 prxNgHtlWLz9aea9ITOn36YiMfxuMoVfIr4zyjGryvBFZlBENcH/saXf2HoE/6uqkdOg pilB4UAC3sKjNNmSiKbf98SOaFW4xs1egZtSeX4dSjaGRGcVpaHZx2H7+ZvkkONvMmA+ pdDy7rFcPI8fzOdaDTlbTp+D6tKimr8NeLFnInrKatJc/HWh0hm3kske/goXdEfVnaYC wZba3ovASuIRAtEe/tEEoOfNcc908dyiTQW+2OKyrWTX3t6t4W7wU0T0lc9n5/mM7TEo Me0Q== X-Gm-Message-State: AGRZ1gIhODhGLmlyGSaFnGheHEnFd3pq4l5Uskxq5X4qUFBnV5x8l9hr i7iYqeKuUtJNB9Qlxj7O+qU+eiTq X-Google-Smtp-Source: AJdET5d7nFW64WtVRaVSSo39KcHv82xFvPl7pgiPC1eez+7jxNAkfUW1vavJbnEIka9BJF6HcKe1cQ== X-Received: by 2002:a65:50c3:: with SMTP id s3-v6mr22224978pgp.355.1541485548976; Mon, 05 Nov 2018 22:25:48 -0800 (PST) Received: from garuda.local (c-73-53-106-26.hsd1.wa.comcast.net. [73.53.106.26]) by smtp.gmail.com with ESMTPSA id 18sm10282583pgl.50.2018.11.05.22.25.47 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 05 Nov 2018 22:25:47 -0800 (PST) From: Chris Marusich Date: Mon, 05 Nov 2018 22:25:46 -0800 Message-ID: <8736seyb6d.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi, I've noticed that if I do the following... guix package -p .guix-profile -i hello guix package -p .guix-profile -i coreutils guix package -p .guix-profile -r coreutils ...I get profile generations like the following: .guix-profile-1-link -> /gnu/store/mbvwb1pv8ps0l39gil41g4zj3khx3r8p-profi= le .guix-profile-2-link -> /gnu/store/m6cwnnxcccnd8bga52jxn74vm67n7ry1-profi= le .guix-profile-3-link -> /gnu/store/qfpmx9rz7kxa8w8r2pz4vj8ilbi70dcp-profi= le However, the 1st and 3rd generations are practically the same: =2D-8<---------------cut here---------------start------------->8--- $ diff -r /gnu/store/mbvwb1pv8ps0l39gil41g4zj3khx3r8p-profile /gnu/store/qf= pmx9rz7kxa8w8r2pz4vj8ilbi70dcp-profile diff -r /gnu/store/mbvwb1pv8ps0l39gil41g4zj3khx3r8p-profile/etc/profile /gn= u/store/qfpmx9rz7kxa8w8r2pz4vj8ilbi70dcp-profile/etc/profile 11c11 < export PATH=3D"${GUIX_PROFILE:-/gnu/store/mbvwb1pv8ps0l39gil41g4zj3khx3r8= p-profile}/bin${PATH:+:}$PATH" =2D-- > export PATH=3D"${GUIX_PROFILE:-/gnu/store/qfpmx9rz7kxa8w8r2pz4vj8ilbi70dc= p-profile}/bin${PATH:+:}$PATH" [1] marusich@garuda.local:/tmp/tmp.ZOTdkBr4rD $=20 =2D-8<---------------cut here---------------end--------------->8--- Now, this isn't really a problem, since it isn't wasting space, and it doesn't take long to build. It's more of a curiosity. Why is it that profile generations 1 and 3 don't both point to the same profile in the store? Is this expected behavior? I wasn't sure what would happen when I tried this. I had guessed (incorrectly) that generation 3 would point to the same profile that had been built for generation 1, so I was a little surprised by this. =2D-=20 Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEy/WXVcvn5+/vGD+x3UCaFdgiRp0FAlvhM+oACgkQ3UCaFdgi Rp2UMw/9EPDUt1Re1u36mbZ8VR07jSHzeO6jS0UzV7sEWYNOdNPVU0Nhwh+lGutc Vf7B0Gd8kmwUI53zvB5guL84rafm2pCclGHJRkV0XTUU23dKNay2zfU3qa2FnPgV P2jDg8A8DRT0txMNmCodr5gnq5fibNZeAxZxpYedT/xeUMJsKP2tXgbegfjRJjSZ 7aJFZHJaRvw9PnWICPAWKCd2owtvA9VwU48Be/3EkQl1Jfw4Hz2DUyr2+nEERV8A K7dA3+JNIAjTUHpEBhXfgdDx0R5AIuWHsLFeBugLTROtvi329c1WnpcSMwipyr/r j6QY81Yz9DMf00NrrheCOcno5ZfGlkb0QBSRqyiRdJXPb9pFBRfW3TdNwyTp6bRM XcH9wz+8ggEQKRqwhzJXsSADNyh1MWLZrBzN531Z/e7DRREz+hSzOj0J4s0bmp7O Ml0RjX8eLTg67/uVeKaxVLR+thgoS/nCPPlZbvHSHRWppoVmOzrIv+3Gk/CdCJuo DAsQItLNPQMgrv6CipFxh21b+YTYVzEeyNQWFZnT/WGELd4nCJ8LEPchX73Qlqr8 jGXGbOrehGG0Rdet6a1awVjeNnunDgnqIX5NU7QgOdkaXWfRTXhl829tOnAfD97Z mjuKx0sF8x0UeCAj09EDOE3aBvduhpg+gQf8KE1MJlaVIbt0S2Q= =LwAt -----END PGP SIGNATURE----- --=-=-=-- From unknown Thu Sep 11 12:41:57 2025 X-Loop: help-debbugs@gnu.org Subject: bug#33285: Installing, then removing, a package yields a different profile Resent-From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 06 Nov 2018 14:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33285 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Chris Marusich Cc: 33285@debbugs.gnu.org Received: via spool by 33285-submit@debbugs.gnu.org id=B33285.15415143644911 (code B ref 33285); Tue, 06 Nov 2018 14:27:01 +0000 Received: (at 33285) by debbugs.gnu.org; 6 Nov 2018 14:26:04 +0000 Received: from localhost ([127.0.0.1]:36196 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gK2It-0001H8-Tt for submit@debbugs.gnu.org; Tue, 06 Nov 2018 09:26:04 -0500 Received: from eggs.gnu.org ([208.118.235.92]:41739) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gK2Is-0001Gp-Bl for 33285@debbugs.gnu.org; Tue, 06 Nov 2018 09:26:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gK2Im-0007qu-KH for 33285@debbugs.gnu.org; Tue, 06 Nov 2018 09:25:57 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:54104) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gK2Im-0007qm-HM; Tue, 06 Nov 2018 09:25:56 -0500 Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=33240 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gK2Im-0008Ca-9W; Tue, 06 Nov 2018 09:25:56 -0500 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <8736seyb6d.fsf@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 16 Brumaire an 227 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Tue, 06 Nov 2018 15:25:55 +0100 In-Reply-To: <8736seyb6d.fsf@gmail.com> (Chris Marusich's message of "Mon, 05 Nov 2018 22:25:46 -0800") Message-ID: <87r2fyz3ik.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) Hi, Chris Marusich skribis: > I've noticed that if I do the following... > > guix package -p .guix-profile -i hello > guix package -p .guix-profile -i coreutils > guix package -p .guix-profile -r coreutils > > ...I get profile generations like the following: > > .guix-profile-1-link -> /gnu/store/mbvwb1pv8ps0l39gil41g4zj3khx3r8p-pro= file > .guix-profile-2-link -> /gnu/store/m6cwnnxcccnd8bga52jxn74vm67n7ry1-pro= file > .guix-profile-3-link -> /gnu/store/qfpmx9rz7kxa8w8r2pz4vj8ilbi70dcp-pro= file > > However, the 1st and 3rd generations are practically the same: > > $ diff -r /gnu/store/mbvwb1pv8ps0l39gil41g4zj3khx3r8p-profile /gnu/store/= qfpmx9rz7kxa8w8r2pz4vj8ilbi70dcp-profile > diff -r /gnu/store/mbvwb1pv8ps0l39gil41g4zj3khx3r8p-profile/etc/profile /= gnu/store/qfpmx9rz7kxa8w8r2pz4vj8ilbi70dcp-profile/etc/profile > 11c11 > < export PATH=3D"${GUIX_PROFILE:-/gnu/store/mbvwb1pv8ps0l39gil41g4zj3khx3= r8p-profile}/bin${PATH:+:}$PATH" > --- >> export PATH=3D"${GUIX_PROFILE:-/gnu/store/qfpmx9rz7kxa8w8r2pz4vj8ilbi70d= cp-profile}/bin${PATH:+:}$PATH" > [1] marusich@garuda.local:/tmp/tmp.ZOTdkBr4rD > $=20 > > Now, this isn't really a problem, since it isn't wasting space, and it > doesn't take long to build. It's more of a curiosity. Why is it that > profile generations 1 and 3 don't both point to the same profile in the > store? Is this expected behavior? It=E2=80=99s not! Could you look at the derivers of these two profiles (use =E2=80=98guix gc --derivers=E2=80=99) and see what differs? Thanks, Ludo=E2=80=99. From unknown Thu Sep 11 12:41:57 2025 X-Loop: help-debbugs@gnu.org Subject: bug#33285: Installing, then removing, a package yields a different profile Resent-From: Chris Marusich Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 07 Nov 2018 07:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33285 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Cc: 33285@debbugs.gnu.org Received: via spool by 33285-submit@debbugs.gnu.org id=B33285.15415745131190 (code B ref 33285); Wed, 07 Nov 2018 07:09:02 +0000 Received: (at 33285) by debbugs.gnu.org; 7 Nov 2018 07:08:33 +0000 Received: from localhost ([127.0.0.1]:38055 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gKHx3-0000J7-4a for submit@debbugs.gnu.org; Wed, 07 Nov 2018 02:08:33 -0500 Received: from mail-pg1-f182.google.com ([209.85.215.182]:33652) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gKHx0-0000It-It for 33285@debbugs.gnu.org; Wed, 07 Nov 2018 02:08:31 -0500 Received: by mail-pg1-f182.google.com with SMTP id q5-v6so6967319pgv.0 for <33285@debbugs.gnu.org>; Tue, 06 Nov 2018 23:08:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=HvclzzwbUI1hAn0c7dxOVoh+Qlh0lbVCF/3AaCUeK4A=; b=AKIU1wPo5TbmfjQQQKw2NZ/TfZHDnjemKHEU740Jjd9hvXWn5q2oqhRDeQHu2L9IrX SPwK7DrGMsbJs4tNhiqF5zBHx/FJrVyQJS7FBRbgKHfjfYvBMOwFvJ86XHqtR8aWniS3 8JbPkKKx77A7ww4R1PH+kvB0ieyPvl5CV0DlHnMS1pKB7Rl0jCof16BlbzzRtuYTMSe/ RHsr9La/kHWrDtLXqEIk06pjTN3xL/9XgbaPTsy4nKO5/0yUPw2Ra3ruBlB7Tw5PciB+ 99P0jqXIXcS9G6deeTMlhtpvDM20MGDu0sKuu5Khka8k9x4gQfmWSmVWTaDByFqLRNnO bDcw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=HvclzzwbUI1hAn0c7dxOVoh+Qlh0lbVCF/3AaCUeK4A=; b=E93WrbiAaF71eJSNVj4fvJp3pld5w6rnIcLZUe6l6b8zybzCNUYt1ytmaQzqmCQD4b 9pl41svirGdDiMAr79zSunMjaJ9VZLLXHLbiylTUFBDdCJnc94Y078eK7h+wTfvE8TxL ivvbMO9r6J9rT5rT5lOxVOlO6tIJIRKaMnCiOH6nhD2Flczhc4Akb8xA+kFy1cqiG1lH 3YY/F/AICWsU9k86A68M31Dcn2JnEnrYa3hMDeJJeJHQ7KYciwcPwDpaxR1fIGk/Z8Ws SGadwaJEwP8/g59wNe9wFqeo9QGm9vEFGAho3B123fASM/iNqP6jdSGbBe5VpmnFySmN Lq4Q== X-Gm-Message-State: AGRZ1gLr+yvRaeGZgGTw7hKNGxsA6PRYHb6ELFKWLXVk3rLTqIT4FNDu Ed7inyq6o+bOmG5Bscfmh6airEzM X-Google-Smtp-Source: AJdET5esH5q+0tmj3rdGCUwsQtIoJSfYSYLrM5q9hDDGMoMnBUsfuMqmGusqxNiOcCOuqQmU2HUOeg== X-Received: by 2002:a62:5e83:: with SMTP id s125-v6mr769895pfb.232.1541574504020; Tue, 06 Nov 2018 23:08:24 -0800 (PST) Received: from garuda.local (c-73-53-106-26.hsd1.wa.comcast.net. [73.53.106.26]) by smtp.gmail.com with ESMTPSA id u19-v6sm79332704pfj.115.2018.11.06.23.08.22 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 06 Nov 2018 23:08:22 -0800 (PST) From: Chris Marusich References: <8736seyb6d.fsf@gmail.com> <87r2fyz3ik.fsf@gnu.org> Date: Tue, 06 Nov 2018 23:08:17 -0800 In-Reply-To: <87r2fyz3ik.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Tue, 06 Nov 2018 15:25:55 +0100") Message-ID: <87woppl5zy.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable ludo@gnu.org (Ludovic Court=C3=A8s) writes: > Hi, > > Chris Marusich skribis: > >> [...] >> >> Why is it that profile generations 1 and 3 don't both point to the >> same profile in the store? Is this expected behavior? > > It=E2=80=99s not! Could you look at the derivers of these two profiles (= use > =E2=80=98guix gc --derivers=E2=80=99) and see what differs? Due to preparations for SeaGL and other matters, I'm afraid I won't have much extra time until the end of this month. However, I've peeked at the derivers, and I may have a hint for now. The derivers' builders differ as follows: =2D-8<---------------cut here---------------start------------->8--- $ diff -u <(cat /gnu/store/nxjngfdrnbid45vibaa3rwyahs8mxdy8-profile-builde= r | tr ' ' '\n') <(cat /gnu/store/ibgc1gmwmqpvq3shls19b6w7x96r773m-profile-= builder | tr ' ' '\n') =2D-- /dev/fd/63 2018-11-06 22:57:06.113873035 -0800 +++ /dev/fd/62 2018-11-06 22:57:06.113873035 -0800 @@ -38,10 +38,10 @@ getenv) "out") (quote =2D("/gnu/store/cb6cxb0k18a648qclh7zd7pvpsh1imny-info-dir" =2D"/gnu/store/s616mj87kgz41g89b46fgr12y85gldrv-manual-database" =2D"/gnu/store/1mj3mlqc28p68q0lnplv217vv4v9fslc-fonts-dir" =2D"/gnu/store/g2q9r93pylmfqx4sw3k5gxixg8q2ksb1-ca-certificate-bundle" +("/gnu/store/vh0ngq20a6x7zshjpv4qnd39p6sfh892-info-dir" +"/gnu/store/ha6an8rfxadrk3slg9rxwdirv3a64kbz-manual-database" +"/gnu/store/6cn1mrlyp1xlvln6msx25h822zjk62c3-fonts-dir" +"/gnu/store/r5vlx8c33xs9g041hi7fyjc0fy2yndrn-ca-certificate-bundle" "/gnu/store/bihfrh609gkxb9dp7n96wlpigiv3krfy-hello-2.10")) #:symlink symlink =2D-8<---------------cut here---------------end--------------->8--- Notably, they DO both seem to use the same store path for hello. The only differing paths look like they were produced by profile hooks. Perhaps this issue has something to do with profile hooks? =2D-=20 Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEy/WXVcvn5+/vGD+x3UCaFdgiRp0FAlvij2IACgkQ3UCaFdgi Rp2mpw//d0neqWHgBoR+PiIwVi02lDNdYDCqfB9Fur2NlMKJT2vUg1S0MZHiTe5T wyiaJ5Y2koVD6ZjCfvu9dEKmJwYjdMhjspwSfwkif0hbvJDu5YNtuzk/r0S+IErX 0LH3Cn/2Q0eIUY5yw2V493pWt05K77+/EA7qd0M1M0IIbkBQxmyOETcQ09QY8BFr P4eBrIaOpsVIMeJ5lmEOC0UPdHVSXX+71cPhnir9tr98LwJyEHy/i9kbMBNqfolX 6oj8SGbXEL65r9BlpYD62/85wnKlZc5MKk6My6iY4g2CSnjgZFijYv0PtClwYjAl xEyCaZcYgYIdy7+KRE10Y6eJE/OQCVroB8B79tcsnJms5VbWib3O5OQ4zymKLldy mPb+WysY46lyYP26FAZOrCkLw/EoUyhq8LGq89YSay47xPFIT29yIoiil39jC0EU fEJgzd4m3WxXTCYq4Hnd9PlTQyOGkDHzW9hUEL6FILpNafQUVFae+DAneN7EjvWu YUycdzQmFoa279d5aZ3mB1nIAVWeaqFonBqVrRCfLIwqkAQAK3RGtPa+b+9MLyj9 C7QgKRG+39eqMQZwG52sYwl1aTI6Ic6Yh1LoH+7IxUAITFWl033CWPTBBzmFDATN CTf+Agl9KF1O/jz6/a1F9NQhja1BTrhwyLay7UK9aEeLzkNHRQU= =OLEY -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 07 16:37:37 2018 Received: (at control) by debbugs.gnu.org; 7 Nov 2018 21:37:37 +0000 Received: from localhost ([127.0.0.1]:39997 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gKVW4-00050h-O8 for submit@debbugs.gnu.org; Wed, 07 Nov 2018 16:37:36 -0500 Received: from eggs.gnu.org ([208.118.235.92]:40511) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gKVW3-00050V-4V for control@debbugs.gnu.org; Wed, 07 Nov 2018 16:37:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gKVVs-0007sX-P9 for control@debbugs.gnu.org; Wed, 07 Nov 2018 16:37:28 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:36841) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gKVVl-0007ok-7R for control@debbugs.gnu.org; Wed, 07 Nov 2018 16:37:20 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=50458 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gKVVi-0003tP-Ub for control@debbugs.gnu.org; Wed, 07 Nov 2018 16:37:16 -0500 Date: Wed, 07 Nov 2018 22:37:13 +0100 Message-Id: <87lg64sh6e.fsf@gnu.org> To: control@debbugs.gnu.org From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: control message for bug #33285 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) severity 33285 important From unknown Thu Sep 11 12:41:57 2025 X-Loop: help-debbugs@gnu.org Subject: bug#33285: Installing, then removing, a package yields a different profile Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 03 Feb 2019 23:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33285 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Chris Marusich Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , 33285@debbugs.gnu.org Received: via spool by 33285-submit@debbugs.gnu.org id=B33285.15492365757086 (code B ref 33285); Sun, 03 Feb 2019 23:30:02 +0000 Received: (at 33285) by debbugs.gnu.org; 3 Feb 2019 23:29:35 +0000 Received: from localhost ([127.0.0.1]:57905 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gqRCh-0001qC-Ez for submit@debbugs.gnu.org; Sun, 03 Feb 2019 18:29:35 -0500 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21014) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gqRCc-0001pz-Nb for 33285@debbugs.gnu.org; Sun, 03 Feb 2019 18:29:31 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1549235650; cv=none; d=zoho.com; s=zohoarc; b=h/pEeBuVh1yMWAVo7p134zAcSKvvsxnucDejZzugsBaLnGRz4f4YdWlcDY36eSmv0V7oEKlohoxZsuusk/vBJVRxXMuF9SijbzKKwDXgXXaqOCJmYzTWhnG7SqGy1Wxw3wZn/+AY+ZgUYFFo/+tJHexz7PqcPQNeRZX9Xsd2yco= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1549235650; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To:ARC-Authentication-Results; bh=MkYy0hv/l5pplRtLh1Sicirwq/Ssv7PA5bd+1ufrprs=; b=Zf5R9lr0xBmjYDqmSgFkWOtgpYBUKv+VVIBBVJ05INj8V6d3+cgbrRIn2jldTRNaX+xJ/o4rdr55CDkfvArzhcNnLEkL6jMRY/zF1NTULaqyy/bw/HS2SVmGVaVC61SqqgmCydIg1vcO0Ccw8Ohy/dxWklHvHTUCdgbGIhb5jKw= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1549235650; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; l=4965; bh=MkYy0hv/l5pplRtLh1Sicirwq/Ssv7PA5bd+1ufrprs=; b=UlMK0yWQxejijUSAB9F6BvJY+9kZS7Y2Hf483gloSllT+jRfWHnQVhP8VI+nFmMv VFM6TcJLohGqI4LtUVadMdggds02lXK/Q3elhpjQFbNtLXPjzQWHL6frYdz/ZwmBBjc 8ELH1oSnDwkNZlTsw0eSPiXs6Im5aL+grZmKmbTI= Received: from localhost (252.139-78-194.adsl-static.isp.belgacom.be [194.78.139.252]) by mx.zohomail.com with SMTPS id 1549235648691296.34126247655126; Sun, 3 Feb 2019 15:14:08 -0800 (PST) References: <8736seyb6d.fsf@gmail.com> <87r2fyz3ik.fsf@gnu.org> <87woppl5zy.fsf@gmail.com> User-agent: mu4e 1.0; emacs 26.1 From: Ricardo Wurmus In-reply-to: <87woppl5zy.fsf@gmail.com> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Mon, 04 Feb 2019 00:14:04 +0100 Message-ID: <87sgx4wjlv.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi, Chris Marusich writes: > The only differing paths look like they were produced by profile > hooks. Perhaps this issue has something to do with profile hooks? This seems to be the case. Here are the derivations for the info-dir hook for the first and then the third profile: --8<---------------cut here---------------start------------->8--- Derive ([("out","/gnu/store/vq1frsx6jkvk957mi2sx0rl629r31vi0-info-dir","","")] ,[("/gnu/store/32dcpfx9chyf1z3jhv41r7hx2a6vklw2-glibc-utf8-locales-2.28.dr= v",["out"]) ,("/gnu/store/h0905d946s3xarcfakan8jnblcdqxs3a-hello-2.10.drv",["out"]) ,("/gnu/store/jbnidakwvhr84rp8p8icdg1lnczjvi6w-gzip-1.9.drv",["out"]) ,("/gnu/store/n9zlvq692s12aarbrfppz7ayzggxfkqx-guile-2.2.4.drv",["out"]) ,("/gnu/store/p6ml6z1d3y387y06mbcvpnf19ik2qywh-module-import-compiled.dr= v",["out"]) ,("/gnu/store/x62102cgam20b3g8vfdvw06snvznx12k-texinfo-6.5.drv",["out"])] ,["/gnu/store/n6gp00cayxm4lc5c17lrwhwx93fzg8hr-info-dir-builder","/gnu/sto= re/p5q59xqmhwg60y2437fnny76nw7l6gbz-module-import"] ,"x86_64-linux","/gnu/store/r658y3cgpnf99nxjxqgjiaizx20ac4k0-guile-2.2.4/b= in/guile",["--no-auto-compile","-L","/gnu/store/p5q59xqmhwg60y2437fnny76nw7= l6gbz-module-import","-C","/gnu/store/qkqypgkam1fncl32l5qklplqh3a6k3fz-modu= le-import-compiled","/gnu/store/n6gp00cayxm4lc5c17lrwhwx93fzg8hr-info-dir-b= uilder"] ,[("allowSubstitutes","0") ,("guix properties","((type . profile-hook) (hook . info-dir))") ,("out","/gnu/store/vq1frsx6jkvk957mi2sx0rl629r31vi0-info-dir") ,("preferLocalBuild","1")]) --8<---------------cut here---------------end--------------->8--- --8<---------------cut here---------------start------------->8--- Derive ([("out","/gnu/store/2ivmnbir288p7w7xyj1bb338h30q00ma-info-dir","","")] ,[("/gnu/store/32dcpfx9chyf1z3jhv41r7hx2a6vklw2-glibc-utf8-locales-2.28.dr= v",["out"]) ,("/gnu/store/jbnidakwvhr84rp8p8icdg1lnczjvi6w-gzip-1.9.drv",["out"]) ,("/gnu/store/n9zlvq692s12aarbrfppz7ayzggxfkqx-guile-2.2.4.drv",["out"]) ,("/gnu/store/p6ml6z1d3y387y06mbcvpnf19ik2qywh-module-import-compiled.dr= v",["out"]) ,("/gnu/store/x62102cgam20b3g8vfdvw06snvznx12k-texinfo-6.5.drv",["out"])] ,["/gnu/store/md2plii4g5sk66wg9cgwc964l3xwhrm9-hello-2.10","/gnu/store/n6g= p00cayxm4lc5c17lrwhwx93fzg8hr-info-dir-builder","/gnu/store/p5q59xqmhwg60y2= 437fnny76nw7l6gbz-module-import"] ,"x86_64-linux","/gnu/store/r658y3cgpnf99nxjxqgjiaizx20ac4k0-guile-2.2.4/b= in/guile",["--no-auto-compile","-L","/gnu/store/p5q59xqmhwg60y2437fnny76nw7= l6gbz-module-import","-C","/gnu/store/qkqypgkam1fncl32l5qklplqh3a6k3fz-modu= le-import-compiled","/gnu/store/n6gp00cayxm4lc5c17lrwhwx93fzg8hr-info-dir-b= uilder"] ,[("allowSubstitutes","0") ,("guix properties","((type . profile-hook) (hook . info-dir))") ,("out","/gnu/store/2ivmnbir288p7w7xyj1bb338h30q00ma-info-dir") ,("preferLocalBuild","1")]) --8<---------------cut here---------------end--------------->8--- Note that they differ in the inclusion of /gnu/store/h0905d946s3xarcfakan8j= nblcdqxs3a-hello-2.10.drv as a derivation input. I guess that the problem might be in =E2=80=9Cprofile-derivation=E2=80=9D, = which defines =E2=80=9Cinputs=E2=80=9D like this: (define inputs (append (filter-map (lambda (drv) (and (derivation? drv) (gexp-input drv))) extras) (manifest-inputs manifest))) I pk=E2=80=99d at the value returned by manifest-inputs and found this: --8<---------------cut here---------------start------------->8--- $ guix package -p .guix-profile -i hello The following package will be installed: hello 2.10 /gnu/store/md2plii4g5sk66wg9cgwc964l3xwhrm9-hello-2.10 ;;; ((#:o= ut>)) 1 package in profile The following environment variable definitions may be needed: export PATH=3D".guix-profile/bin${PATH:+:}$PATH" $ guix package -p .guix-profile -i coreutils The following package will be installed: coreutils 8.30 /gnu/store/xzgfh8kdxilyymi1a8i97b1nci1iybhi-coreutils-8.30 ;;; ((#:out> #)) 2 packages in profile The following environment variable definitions may be needed: export PATH=3D".guix-profile/bin${PATH:+:}$PATH" $ guix package -p .guix-profile -r coreutils The following package will be removed: coreutils 8.30 /gnu/store/xzgfh8kdxilyymi1a8i97b1nci1iybhi-coreutils-8.30 ;;; ((#)) 1 package in profile The following environment variable definitions may be needed: export PATH=3D".guix-profile/bin${PATH:+:}$PATH" --8<---------------cut here---------------end--------------->8--- Should manifest-inputs distinguish between a package entry and a file entry and paper over the differences? -- Ricardo From unknown Thu Sep 11 12:41:57 2025 X-Loop: help-debbugs@gnu.org Subject: bug#33285: Installing, then removing, a package yields a different profile Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 04 Feb 2019 18:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33285 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ricardo Wurmus Cc: Chris Marusich , 33285@debbugs.gnu.org Received: via spool by 33285-submit@debbugs.gnu.org id=B33285.154930334114731 (code B ref 33285); Mon, 04 Feb 2019 18:03:02 +0000 Received: (at 33285) by debbugs.gnu.org; 4 Feb 2019 18:02:21 +0000 Received: from localhost ([127.0.0.1]:59699 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gqiZZ-0003pX-Gd for submit@debbugs.gnu.org; Mon, 04 Feb 2019 13:02:21 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:37294) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gqiZY-0003pP-8y for 33285@debbugs.gnu.org; Mon, 04 Feb 2019 13:02:20 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 8CCCEB94F; Mon, 4 Feb 2019 19:02:18 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id v9Roid-QgHwO; Mon, 4 Feb 2019 19:02:17 +0100 (CET) Received: from ribbon (unknown [IPv6:2a01:e0a:1d:7270:af76:b9b:ca24:c465]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 62DBDB94E; Mon, 4 Feb 2019 19:02:17 +0100 (CET) From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <8736seyb6d.fsf@gmail.com> <87r2fyz3ik.fsf@gnu.org> <87woppl5zy.fsf@gmail.com> <87sgx4wjlv.fsf@elephly.net> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 16 =?UTF-8?Q?Pluvi=C3=B4se?= an 227 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Mon, 04 Feb 2019 19:02:16 +0100 In-Reply-To: <87sgx4wjlv.fsf@elephly.net> (Ricardo Wurmus's message of "Mon, 04 Feb 2019 00:14:04 +0100") Message-ID: <877eefsa8n.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Hello! Ricardo Wurmus skribis: > Note that they differ in the inclusion of /gnu/store/h0905d946s3xarcfakan= 8jnblcdqxs3a-hello-2.10.drv as > a derivation input. > > I guess that the problem might be in =E2=80=9Cprofile-derivation=E2=80=9D= , which defines > =E2=80=9Cinputs=E2=80=9D like this: > > (define inputs > (append (filter-map (lambda (drv) > (and (derivation? drv) > (gexp-input drv))) > extras) > (manifest-inputs manifest))) > > I pk=E2=80=99d at the value returned by manifest-inputs and found this: > > $ guix package -p .guix-profile -i hello > The following package will be installed: > hello 2.10 /gnu/store/md2plii4g5sk66wg9cgwc964l3xwhrm9-hello-2.10 > > > ;;; ((#= :out>)) > 1 package in profile > The following environment variable definitions may be needed: > export PATH=3D".guix-profile/bin${PATH:+:}$PATH" > > $ guix package -p .guix-profile -i coreutils > The following package will be installed: > coreutils 8.30 /gnu/store/xzgfh8kdxilyymi1a8i97b1nci1iybhi-coreutils-8= .30 > > > ;;; ((#:out> #)) Good catch! > Should manifest-inputs distinguish between a package entry and a file > entry and paper over the differences? 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 c= ontains a valid =E2=80=9Clowerable=E2=80=9D object (a package or a derivation record)= , as opposed to a store reference that happens to be valid. I=E2=80=99ll see if I can come up with a patch for this. Thanks, Ludo=E2=80=99. From unknown Thu Sep 11 12:41:57 2025 X-Loop: help-debbugs@gnu.org Subject: bug#33285: Installing, then removing, a package yields a different profile Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 06 Feb 2019 13:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33285 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ricardo Wurmus Cc: Chris Marusich , 33285@debbugs.gnu.org Received: via spool by 33285-submit@debbugs.gnu.org id=B33285.154945917210771 (code B ref 33285); Wed, 06 Feb 2019 13:20:02 +0000 Received: (at 33285) by debbugs.gnu.org; 6 Feb 2019 13:19:32 +0000 Received: from localhost ([127.0.0.1]:34148 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1grN6y-0002nf-Cc for submit@debbugs.gnu.org; Wed, 06 Feb 2019 08:19:32 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:47130) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1grN6v-0002nU-Jh for 33285@debbugs.gnu.org; Wed, 06 Feb 2019 08:19:30 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 05B11C57B; Wed, 6 Feb 2019 14:19:28 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id A1Vgj10YE7zO; Wed, 6 Feb 2019 14:19:27 +0100 (CET) Received: from ribbon (unknown [IPv6:2a01:e0a:1d:7270:af76:b9b:ca24:c465]) by hera.aquilenet.fr (Postfix) with ESMTPSA id EAC65C562; Wed, 6 Feb 2019 14:19:26 +0100 (CET) From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <8736seyb6d.fsf@gmail.com> <87r2fyz3ik.fsf@gnu.org> <87woppl5zy.fsf@gmail.com> <87sgx4wjlv.fsf@elephly.net> <877eefsa8n.fsf@gnu.org> Date: Wed, 06 Feb 2019 14:19:26 +0100 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") Message-ID: <878sytawbl.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) 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. From unknown Thu Sep 11 12:41:57 2025 X-Loop: help-debbugs@gnu.org Subject: bug#33285: Installing, then removing, a package yields a different profile Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 06 Feb 2019 14:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33285 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: Chris Marusich , 33285@debbugs.gnu.org Received: via spool by 33285-submit@debbugs.gnu.org id=B33285.154946345225497 (code B ref 33285); Wed, 06 Feb 2019 14:31:02 +0000 Received: (at 33285) by debbugs.gnu.org; 6 Feb 2019 14:30:52 +0000 Received: from localhost ([127.0.0.1]:34191 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1grOE0-0006dB-G0 for submit@debbugs.gnu.org; Wed, 06 Feb 2019 09:30:52 -0500 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21094) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1grODy-0006d1-84 for 33285@debbugs.gnu.org; Wed, 06 Feb 2019 09:30:50 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1549463360; cv=none; d=zoho.com; s=zohoarc; b=hbJZz19AatNVw/+5AVJeNb9o59PKIq5jY1e6zlHdtGnpa6AP0fZS00y5aEuFPe1HTnFoNOwSqufpFjmyhsZeJWvhL7GI5OYR74jgMyZ0xQcg52Ix3lJAxWDiNHVEO8n8mxrnd0Su9ERsK8hppdTtSiH86IWg7Piax2vtPp1FlfU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1549463360; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To:ARC-Authentication-Results; bh=GWhMtSfbDoQsQmwaVvW/zkMz7+Mbtk5lWVwJfZyw7A8=; b=aSJ3Pww+GlgfuEiFSEVoNFKnOhLE8b3kLOBmlLH5IboadNI7nA5CVJ/mqbvnquua12wlAp+PssdvbkR37/A9qcaMQlm2ZdJKkkO1ElLe5Epic+ipImb4gypS7YE2XAaVzD4dP52BvS//2yfSjOzwNTnvbWnguwasjeXnhnzr4s4= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1549463360; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; l=1421; bh=GWhMtSfbDoQsQmwaVvW/zkMz7+Mbtk5lWVwJfZyw7A8=; b=cmw9ZAm25/2N7lrACMTzjOqCYLrZOtbck/73C1Oa8z6n6b19jDotnThaiGKyJNzQ tyAH7nS/U7epnIk++koRUdKqlK09fnrRYIRqDLjmt8GiEZPlzgBixOHzH9BssY3inLc BRpZjypbl0GwVFRkTd3VvSwKnLK7bCbhjUNBMgHc= Received: from localhost (141.80.247.165 [141.80.247.165]) by mx.zohomail.com with SMTPS id 15494633597201018.2859480289219; Wed, 6 Feb 2019 06:29:19 -0800 (PST) References: <8736seyb6d.fsf@gmail.com> <87r2fyz3ik.fsf@gnu.org> <87woppl5zy.fsf@gmail.com> <87sgx4wjlv.fsf@elephly.net> <877eefsa8n.fsf@gnu.org> <878sytawbl.fsf@gnu.org> User-agent: mu4e 1.0; emacs 26.1 From: Ricardo Wurmus In-reply-to: <878sytawbl.fsf@gnu.org> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Wed, 06 Feb 2019 15:29:16 +0100 Message-ID: <871s4lgfcz.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Ludovic Court=C3=A8s writes: > 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 alway= s contains a >> valid =E2=80=9Clowerable=E2=80=9D object (a package or a derivation reco= rd), 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 = retain > 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 pun= t on this one. > > The discrepancy we see here does not happen when using --manifest, which > is probably what matters most. I think it=E2=80=99s fine to leave it as it is, then. =E2=80=9C--install= =E2=80=9D and =E2=80=9C--remove=E2=80=9D are stateful and should be expected to have quir= ks like this. (E.g. upgrading Guix in between two =E2=80=9C--install=E2=80=9Ds can lead to a mosaic of a profile that could not be produced any other way.) =E2=80=9C--manifest=E2=80=9D is the recommended way to get reproducible pro= file generations, so if that=E2=80=99s working fine I=E2=80=99m okay with closin= g this as wontfix. Chris, what do you think? Thanks for investigating! -- Ricardo From unknown Thu Sep 11 12:41:57 2025 X-Loop: help-debbugs@gnu.org Subject: bug#33285: Installing, then removing, a package yields a different profile Resent-From: Jelle Licht Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 07 Feb 2019 11:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33285 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ricardo Wurmus Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , 33285@debbugs.gnu.org Received: via spool by 33285-submit@debbugs.gnu.org id=B33285.15495379086948 (code B ref 33285); Thu, 07 Feb 2019 11:12:02 +0000 Received: (at 33285) by debbugs.gnu.org; 7 Feb 2019 11:11:48 +0000 Received: from localhost ([127.0.0.1]:36599 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1grhau-0001o0-38 for submit@debbugs.gnu.org; Thu, 07 Feb 2019 06:11:48 -0500 Received: from mail1.fsfe.org ([217.69.89.151]:46136) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1grhap-0001nm-GT for 33285@debbugs.gnu.org; Thu, 07 Feb 2019 06:11:47 -0500 References: <8736seyb6d.fsf@gmail.com> <87r2fyz3ik.fsf@gnu.org> <87woppl5zy.fsf@gmail.com> <87sgx4wjlv.fsf@elephly.net> <877eefsa8n.fsf@gnu.org> <878sytawbl.fsf@gnu.org> <871s4lgfcz.fsf@elephly.net> User-agent: mu4e 1.0; emacs 26.1 From: Jelle Licht In-reply-to: <871s4lgfcz.fsf@elephly.net> Date: Thu, 07 Feb 2019 12:11:41 +0100 Message-ID: <87mun7onte.fsf@fsfe.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) Ricardo Wurmus writes: > [snip] > > I think it=E2=80=99s fine to leave it as it is, then. =E2=80=9C--install= =E2=80=9D and > =E2=80=9C--remove=E2=80=9D are stateful and should be expected to have qu= irks like this. > (E.g. upgrading Guix in between two =E2=80=9C--install=E2=80=9Ds can lead= to > a mosaic of a profile that could not be produced any other way.) This seems like a very reasonable perspective on this issue, so I concur. Should we state this explicitly somewhere in the manual? From unknown Thu Sep 11 12:41:57 2025 X-Loop: help-debbugs@gnu.org Subject: bug#33285: Installing, then removing, a package yields a different profile Resent-From: Chris Marusich Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 09 Feb 2019 03:45:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33285 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Jelle Licht Cc: Ricardo Wurmus , 33285@debbugs.gnu.org Received: via spool by 33285-submit@debbugs.gnu.org id=B33285.15496838886394 (code B ref 33285); Sat, 09 Feb 2019 03:45:01 +0000 Received: (at 33285) by debbugs.gnu.org; 9 Feb 2019 03:44:48 +0000 Received: from localhost ([127.0.0.1]:40345 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gsJZQ-0001f4-Aw for submit@debbugs.gnu.org; Fri, 08 Feb 2019 22:44:48 -0500 Received: from mail-pg1-f176.google.com ([209.85.215.176]:45811) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gsJZO-0001ep-CL for 33285@debbugs.gnu.org; Fri, 08 Feb 2019 22:44:47 -0500 Received: by mail-pg1-f176.google.com with SMTP id y4so2411396pgc.12 for <33285@debbugs.gnu.org>; Fri, 08 Feb 2019 19:44:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=VpLUqmXNGH1DxV7XnPN7TIwz/lbP7kfVYkSP7PZH+kc=; b=SUlGdhMFr1gmVGMVTduxAoS+rk4mpnrs/f4ZFmVfpeQgjjJJdfjZG3shlPStlq9M96 z7VBR0I03KKX7ihOaKeaJXaDHaIzQlSNYP7syx82YA7hqZkZJq7nrZg1bzBLnytMcDd5 JuYj0zCIpRGuVtQBGw2gxVRXyq+of5cGY2lfhQVA5ClewOKxk8QcNsCYjaz55j6UZCz7 pwDKOqBbC/XEPi2hAjMk7n2MCuCqkUs8RNnpGVfIt0Ag+BVR9c3tntQWCdFyocSL/Z0h io9wT9AwFs2aKVjt4lm6XjIzutuqIALlTZG2F7FP9AyWUdfyf5/QZKqM41O7FY6kQOrZ ldiA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=VpLUqmXNGH1DxV7XnPN7TIwz/lbP7kfVYkSP7PZH+kc=; b=RCQPhpcGymDJ3J9Zn23ev8+24raAPC+LDe6eDJJbofMZ6wTq1B2+E45aIVjneGTKjd hpIFg1GJqoTWFQ3VRRK2Hpbj/0P8B+ivxkxE7AZZ8xh6bCJbKSaCFJS1GJYKXfc2SbIm 53PS8N7nN5QwZRcFhYRQMtwMtozxPByzzDlZgKIuuEn8w/XRt9qo5k2U36RoDydnSrOa U6KKlH2JoRtrMFhZK7f5COqTn1m7FMvk7Xhiy188fGJZuSZVBxavbEv2FaGtv2gflBvW fJftD4112EnXMGUI1UEo47QNeHaLH5v5VxRVp60xY7VCShwJ2tWTgWAAupuRyLu6hYCD 036g== X-Gm-Message-State: AHQUAuZaTXfob+NXRlNBj8IoGf18ynf9SEFmb9EjNGY/nKiXgJUkiLeQ /HRYl0fML0qtzXJQDvGMR8vXJDxI X-Google-Smtp-Source: AHgI3IbA4TuIyAIf7in0hiksYIzG0Qw2NEdGTnD5Q7gCyqQ+eRqC4YgeuQ2v5srPVggS7h5p7TeBNA== X-Received: by 2002:a63:ce08:: with SMTP id y8mr18832062pgf.388.1549683879927; Fri, 08 Feb 2019 19:44:39 -0800 (PST) Received: from garuda.local (c-73-53-106-26.hsd1.wa.comcast.net. [73.53.106.26]) by smtp.gmail.com with ESMTPSA id d25sm6743080pfe.40.2019.02.08.19.44.38 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 08 Feb 2019 19:44:38 -0800 (PST) From: Chris Marusich References: <8736seyb6d.fsf@gmail.com> <87r2fyz3ik.fsf@gnu.org> <87woppl5zy.fsf@gmail.com> <87sgx4wjlv.fsf@elephly.net> <877eefsa8n.fsf@gnu.org> <878sytawbl.fsf@gnu.org> <871s4lgfcz.fsf@elephly.net> <87mun7onte.fsf@fsfe.org> Date: Fri, 08 Feb 2019 19:44:33 -0800 In-Reply-To: <87mun7onte.fsf@fsfe.org> (Jelle Licht's message of "Thu, 07 Feb 2019 12:11:41 +0100") Message-ID: <87a7j5sk0u.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Jelle Licht writes: > Ricardo Wurmus writes: > >> [snip] >> >> I think it=E2=80=99s fine to leave it as it is, then. =E2=80=9C--instal= l=E2=80=9D and >> =E2=80=9C--remove=E2=80=9D are stateful and should be expected to have q= uirks like this. >> (E.g. upgrading Guix in between two =E2=80=9C--install=E2=80=9Ds can lea= d to >> a mosaic of a profile that could not be produced any other way.) > > This seems like a very reasonable perspective on this issue, so I > concur. Should we state this explicitly somewhere in the manual? Thinking about it that way, I agree it makes sense as is. I think it's valid to say this isn't a bug, then. I've confirmed that "adding" and then "removing" a package by using a stateless method (e.g., the "guix package -m" method) results in the expected behavior: the first and third profile generations refer to exactly the same profile: =2D-8<---------------cut here---------------start------------->8--- $ ls -al /tmp/test-profile* lrwxrwxrwx 1 marusich users 19 Feb 8 19:39 /tmp/test-profile -> test-profi= le-3-link lrwxrwxrwx 1 marusich users 51 Feb 8 19:39 /tmp/test-profile-1-link -> /gn= u/store/7j6gy2xvyz7zzpccwsssbxxzykv6q0zg-profile lrwxrwxrwx 1 marusich users 51 Feb 8 19:39 /tmp/test-profile-2-link -> /gn= u/store/yz9qskdl926mdy1i63yzsqwhcciswv90-profile lrwxrwxrwx 1 marusich users 51 Feb 8 19:39 /tmp/test-profile-3-link -> /gn= u/store/7j6gy2xvyz7zzpccwsssbxxzykv6q0zg-profile =2D-8<---------------cut here---------------end--------------->8--- I'm satisfied. I'm honestly not sure it's worth mentioning in the manual. I feel like explaining it would add little value and just clutter up the documentation. This was mainly a curiosity for me. =2D-=20 Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEy/WXVcvn5+/vGD+x3UCaFdgiRp0FAlxeTKEACgkQ3UCaFdgi Rp3xSBAAjzWiCe0GKPUxFH22Cj0JlXuVaf3K9DsnylgK+ahGLIDhNTo/m4YAizeE PdUl/XLchcpxl/K146gFWVfD9YW4UJwpiF15xhK9p8L1EbK7fQ/zjHYajRKDzyEv JsRF7MwK2GGVIlVFXTTkPK+kJN/urdiuGu2QYEzNa9aX45z9wNUzXODw62db+ODX yaJWHN53KvQEAUZOcJnebNU3ucDcr+QsT2AcBtt++YOs5B7YiDfLCtH+AhQw+UGh ViH9mjBN+PRwG3YCL65IU7WRj6cT4mWOkU6ZTCPrINWeZMQm+cS4phjYz0X7tiR6 AGQTtqqbmQVJYUt0cqA2vfq+B0X9nkHW1Z+x4EObxPJLa742A4D67GVDqA5E5KSi RkNFk8+EvJ8LixpWN4bui5KwNDR3WZFns1QFFcdTj3yyhdGOBPG1w7fKjITBJ9zo Uxme9yMRQoNHuOsG06YWev+Jgv89mYmMfX8ohi181GQocx87vr2VtO/A+C+IXTyw eTm+XlGFZJMghLzWOKTAveE8/TJNe2MAUX7mj+ByuvJj3FS6SC67DM1ewZWuh+8S xhT8VF2xPbaRXOkTj08vCpHnYLE2nmI7AcQs7BYaZKrLrkl5lOxwbAN+MM5Cgv9J cJZKExx7IJNbdisVqfbYpgOy/BWvGqUihr3wF9iBpyxAdoGxxU0= =wZ5f -----END PGP SIGNATURE----- --=-=-=-- From unknown Thu Sep 11 12:41:57 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Chris Marusich Subject: bug#33285: closed (Re: bug#33285: Installing, then removing, a package yields a different profile) Message-ID: References: <87a7i0tibg.fsf@elephly.net> <8736seyb6d.fsf@gmail.com> X-Gnu-PR-Message: they-closed 33285 X-Gnu-PR-Package: guix Reply-To: 33285@debbugs.gnu.org Date: Tue, 12 Mar 2019 12:15:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1552392902-16683-1" This is a multi-part message in MIME format... ------------=_1552392902-16683-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #33285: Installing, then removing, a package yields a different profile which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 33285@debbugs.gnu.org. --=20 33285: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D33285 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1552392902-16683-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 33285-done) by debbugs.gnu.org; 12 Mar 2019 12:14:31 +0000 Received: from localhost ([127.0.0.1]:39816 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h3gIh-0004KD-DO for submit@debbugs.gnu.org; Tue, 12 Mar 2019 08:14:31 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21051) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h3gIf-0004K5-K1 for 33285-done@debbugs.gnu.org; Tue, 12 Mar 2019 08:14:30 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1552391945; cv=none; d=zoho.com; s=zohoarc; b=DYd10U4wKwnsr3rq/JwFPPWuztq2yC7+63imprKB0OSCz8A0swpkKF4M7Vc8gfQ2w0PWPwp8fUyCat4zOu9WRW9TxtO7EXrDv9MaTMSxoK06henkkkJF9szGNcrmDZrHBDhasue+elYkCBxYIbI6W4ewSxNoHZBKfNTSbKdobes= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1552391945; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To:ARC-Authentication-Results; bh=UgxDlgdiIDWlrg1uOCI0kqQvQFDophAKQzn4fXDVf6s=; b=FwNs+Fry1RFxuLOjgKG9+Z1HSgF6JmBxqjGadF25jU7Ptw7SUXlS0hQp0AIfgWqMJad2l47xHOWqqY2gauGgwsCrUB7N+5J2rrrG33YE9s8pOsdb7Cda3ST0HtbMlRDgfpf/Bjm0jpmqoaCNsadDcLpe/1j7V0kpymM2Q1E2+wI= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1552391945; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; l=252; bh=UgxDlgdiIDWlrg1uOCI0kqQvQFDophAKQzn4fXDVf6s=; b=MAzGPy/Sr2UigCjBFyzTECFaOKamGIgTMvFzUJNaAU1wB1RTKYjHxuOZfiN/VsjP m/BsHVA/tqZ2PajJfdGssA14QPG3shmSxNepk/IcO1r89IjwBltVrz625r2Xxjo3mSb cXv3cjcketKI2YBsiR0TH4vQm5K0Be+jvQFEtDvI= Received: from localhost (141.80.247.157 [141.80.247.157]) by mx.zohomail.com with SMTPS id 1552391943897499.9362318234495; Tue, 12 Mar 2019 04:59:03 -0700 (PDT) References: <8736seyb6d.fsf@gmail.com> <87r2fyz3ik.fsf@gnu.org> <87woppl5zy.fsf@gmail.com> <87sgx4wjlv.fsf@elephly.net> <877eefsa8n.fsf@gnu.org> <878sytawbl.fsf@gnu.org> <871s4lgfcz.fsf@elephly.net> <87mun7onte.fsf@fsfe.org> <87a7j5sk0u.fsf@gmail.com> User-agent: mu4e 1.0; emacs 26.1 From: Ricardo Wurmus To: Chris Marusich Subject: Re: bug#33285: Installing, then removing, a package yields a different profile In-reply-to: <87a7j5sk0u.fsf@gmail.com> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Tue, 12 Mar 2019 12:58:59 +0100 Message-ID: <87a7i0tibg.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 33285-done Cc: 33285-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Chris Marusich writes: > Thinking about it that way, I agree it makes sense as is. I think it's > valid to say this isn't a bug, then. Okay, I=E2=80=99m closing this bug. Thanks for bringing this up! --=20 Ricardo ------------=_1552392902-16683-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 6 Nov 2018 06:26:03 +0000 Received: from localhost ([127.0.0.1]:35928 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gJuoM-00026M-UB for submit@debbugs.gnu.org; Tue, 06 Nov 2018 01:26:03 -0500 Received: from eggs.gnu.org ([208.118.235.92]:49100) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gJuoL-00025t-Gw for submit@debbugs.gnu.org; Tue, 06 Nov 2018 01:26:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gJuoF-0005zq-NF for submit@debbugs.gnu.org; Tue, 06 Nov 2018 01:25:56 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:55356) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gJuoF-0005zg-Kp for submit@debbugs.gnu.org; Tue, 06 Nov 2018 01:25:55 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58704) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gJuoE-0003jy-RT for bug-guix@gnu.org; Tue, 06 Nov 2018 01:25:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gJuoB-0005sZ-NY for bug-guix@gnu.org; Tue, 06 Nov 2018 01:25:54 -0500 Received: from mail-pf1-x435.google.com ([2607:f8b0:4864:20::435]:45653) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gJuoB-0005oF-H9 for bug-guix@gnu.org; Tue, 06 Nov 2018 01:25:51 -0500 Received: by mail-pf1-x435.google.com with SMTP id p17-v6so5233902pfj.12 for ; Mon, 05 Nov 2018 22:25:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:user-agent:mime-version; bh=2qfeLwGbtL0begmjopjJneWVGmSAIKQS6d603nu8EHA=; b=bVsTbqh7JMK0EPlsFrZz+ORxTDngaJ7xeFXrNbYoi3rjqKTGOz0NSaavlmDuNj1ydQ knA8ttiwZ0O91FZ+7DMhR9ebxmMx0Zdf+Q4xYqBkK71KC0xiLVGjK/DZfNjHsriPLk/D ogaI1O6N/L7SuLyfpp3QrHcheqtjxCZ0r1+Sg2HXuik8+ZohpnR/MUdyJ6mIShPqLPJ1 p3VTig8IalEDuJyNeHmMEtVUNR4ia/YkL0gRSDBo+fTc5uSerGkO2Bc10aM95Z3/WWC9 YddcHVEpyfeyaKH+u7qe2bcgTbEdpjqMBE8nAYpAGMFQ4A6Piv578dIvJJVSDDeBUmDu Xv0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:user-agent :mime-version; bh=2qfeLwGbtL0begmjopjJneWVGmSAIKQS6d603nu8EHA=; b=srX3pmgzx7UIORs/WuhT10U32hZwMs/59Yf3KxEImBpBM3R1riAadeWdL3jZ+3ORz7 prxNgHtlWLz9aea9ITOn36YiMfxuMoVfIr4zyjGryvBFZlBENcH/saXf2HoE/6uqkdOg pilB4UAC3sKjNNmSiKbf98SOaFW4xs1egZtSeX4dSjaGRGcVpaHZx2H7+ZvkkONvMmA+ pdDy7rFcPI8fzOdaDTlbTp+D6tKimr8NeLFnInrKatJc/HWh0hm3kske/goXdEfVnaYC wZba3ovASuIRAtEe/tEEoOfNcc908dyiTQW+2OKyrWTX3t6t4W7wU0T0lc9n5/mM7TEo Me0Q== X-Gm-Message-State: AGRZ1gIhODhGLmlyGSaFnGheHEnFd3pq4l5Uskxq5X4qUFBnV5x8l9hr i7iYqeKuUtJNB9Qlxj7O+qU+eiTq X-Google-Smtp-Source: AJdET5d7nFW64WtVRaVSSo39KcHv82xFvPl7pgiPC1eez+7jxNAkfUW1vavJbnEIka9BJF6HcKe1cQ== X-Received: by 2002:a65:50c3:: with SMTP id s3-v6mr22224978pgp.355.1541485548976; Mon, 05 Nov 2018 22:25:48 -0800 (PST) Received: from garuda.local (c-73-53-106-26.hsd1.wa.comcast.net. [73.53.106.26]) by smtp.gmail.com with ESMTPSA id 18sm10282583pgl.50.2018.11.05.22.25.47 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 05 Nov 2018 22:25:47 -0800 (PST) From: Chris Marusich To: bug-guix@gnu.org Subject: Installing, then removing, a package yields a different profile Date: Mon, 05 Nov 2018 22:25:46 -0800 Message-ID: <8736seyb6d.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi, I've noticed that if I do the following... guix package -p .guix-profile -i hello guix package -p .guix-profile -i coreutils guix package -p .guix-profile -r coreutils ...I get profile generations like the following: .guix-profile-1-link -> /gnu/store/mbvwb1pv8ps0l39gil41g4zj3khx3r8p-profi= le .guix-profile-2-link -> /gnu/store/m6cwnnxcccnd8bga52jxn74vm67n7ry1-profi= le .guix-profile-3-link -> /gnu/store/qfpmx9rz7kxa8w8r2pz4vj8ilbi70dcp-profi= le However, the 1st and 3rd generations are practically the same: =2D-8<---------------cut here---------------start------------->8--- $ diff -r /gnu/store/mbvwb1pv8ps0l39gil41g4zj3khx3r8p-profile /gnu/store/qf= pmx9rz7kxa8w8r2pz4vj8ilbi70dcp-profile diff -r /gnu/store/mbvwb1pv8ps0l39gil41g4zj3khx3r8p-profile/etc/profile /gn= u/store/qfpmx9rz7kxa8w8r2pz4vj8ilbi70dcp-profile/etc/profile 11c11 < export PATH=3D"${GUIX_PROFILE:-/gnu/store/mbvwb1pv8ps0l39gil41g4zj3khx3r8= p-profile}/bin${PATH:+:}$PATH" =2D-- > export PATH=3D"${GUIX_PROFILE:-/gnu/store/qfpmx9rz7kxa8w8r2pz4vj8ilbi70dc= p-profile}/bin${PATH:+:}$PATH" [1] marusich@garuda.local:/tmp/tmp.ZOTdkBr4rD $=20 =2D-8<---------------cut here---------------end--------------->8--- Now, this isn't really a problem, since it isn't wasting space, and it doesn't take long to build. It's more of a curiosity. Why is it that profile generations 1 and 3 don't both point to the same profile in the store? Is this expected behavior? I wasn't sure what would happen when I tried this. I had guessed (incorrectly) that generation 3 would point to the same profile that had been built for generation 1, so I was a little surprised by this. =2D-=20 Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEy/WXVcvn5+/vGD+x3UCaFdgiRp0FAlvhM+oACgkQ3UCaFdgi Rp2UMw/9EPDUt1Re1u36mbZ8VR07jSHzeO6jS0UzV7sEWYNOdNPVU0Nhwh+lGutc Vf7B0Gd8kmwUI53zvB5guL84rafm2pCclGHJRkV0XTUU23dKNay2zfU3qa2FnPgV P2jDg8A8DRT0txMNmCodr5gnq5fibNZeAxZxpYedT/xeUMJsKP2tXgbegfjRJjSZ 7aJFZHJaRvw9PnWICPAWKCd2owtvA9VwU48Be/3EkQl1Jfw4Hz2DUyr2+nEERV8A K7dA3+JNIAjTUHpEBhXfgdDx0R5AIuWHsLFeBugLTROtvi329c1WnpcSMwipyr/r j6QY81Yz9DMf00NrrheCOcno5ZfGlkb0QBSRqyiRdJXPb9pFBRfW3TdNwyTp6bRM XcH9wz+8ggEQKRqwhzJXsSADNyh1MWLZrBzN531Z/e7DRREz+hSzOj0J4s0bmp7O Ml0RjX8eLTg67/uVeKaxVLR+thgoS/nCPPlZbvHSHRWppoVmOzrIv+3Gk/CdCJuo DAsQItLNPQMgrv6CipFxh21b+YTYVzEeyNQWFZnT/WGELd4nCJ8LEPchX73Qlqr8 jGXGbOrehGG0Rdet6a1awVjeNnunDgnqIX5NU7QgOdkaXWfRTXhl829tOnAfD97Z mjuKx0sF8x0UeCAj09EDOE3aBvduhpg+gQf8KE1MJlaVIbt0S2Q= =LwAt -----END PGP SIGNATURE----- --=-=-=-- ------------=_1552392902-16683-1--