From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Marusich Subject: bug#33285: Installing, then removing, a package yields a different profile Date: Fri, 08 Feb 2019 19:44:33 -0800 Message-ID: <87a7j5sk0u.fsf@gmail.com> 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> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:43625) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gsJZf-00039g-1E for bug-guix@gnu.org; Fri, 08 Feb 2019 22:45:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gsJZe-0002hV-8F for bug-guix@gnu.org; Fri, 08 Feb 2019 22:45:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:41064) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gsJZe-0002hJ-4h for bug-guix@gnu.org; Fri, 08 Feb 2019 22:45:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gsJZd-0001fm-SE for bug-guix@gnu.org; Fri, 08 Feb 2019 22:45:01 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87mun7onte.fsf@fsfe.org> (Jelle Licht's message of "Thu, 07 Feb 2019 12:11:41 +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: Jelle Licht Cc: 33285@debbugs.gnu.org --=-=-= 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----- --=-=-=--