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: Tue, 06 Nov 2018 23:08:17 -0800 Message-ID: <87woppl5zy.fsf@gmail.com> References: <8736seyb6d.fsf@gmail.com> <87r2fyz3ik.fsf@gnu.org> 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]:36313) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gKHxw-0006TF-GO for bug-guix@gnu.org; Wed, 07 Nov 2018 02:09:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gKHxe-00031v-Em for bug-guix@gnu.org; Wed, 07 Nov 2018 02:09:14 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:33797) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gKHxW-0002uX-HT for bug-guix@gnu.org; Wed, 07 Nov 2018 02:09:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gKHxW-0000Jw-AH for bug-guix@gnu.org; Wed, 07 Nov 2018 02:09:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: 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") 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: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 33285@debbugs.gnu.org --=-=-= 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----- --=-=-=--