From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#30569: Packages count as installed twice Date: Tue, 27 Feb 2018 22:55:05 +0100 Message-ID: <87zi3uumh2.fsf@gnu.org> References: <20180221190553.GA5485@jurong> <87d10yqfwj.fsf@elephly.net> <20180221213453.GA5024@jurong> <87bmgiq9c2.fsf@elephly.net> <20180221222236.GA5529@jurong> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39400) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eqnED-0006Fs-Oq for bug-guix@gnu.org; Tue, 27 Feb 2018 16:56:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eqnEA-00049o-Mf for bug-guix@gnu.org; Tue, 27 Feb 2018 16:56:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:56399) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eqnEA-00049h-IX for bug-guix@gnu.org; Tue, 27 Feb 2018 16:56:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eqnEA-0001cq-6O for bug-guix@gnu.org; Tue, 27 Feb 2018 16:56:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <20180221222236.GA5529@jurong> (Andreas Enge's message of "Wed, 21 Feb 2018 23:22:36 +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: Andreas Enge Cc: 30569@debbugs.gnu.org Andreas Enge skribis: > On Wed, Feb 21, 2018 at 11:14:21PM +0100, Ricardo Wurmus wrote: >> Even so, you=E2=80=99ll have a file called =E2=80=9Cmanifest=E2=80=9D in= the profile directory. >> This is unrelated to whether you used a manifest to create the profile >> or not. > > I see! Yes, it appeared twice. Looking more closely, it=E2=80=99s actually possible even now to create a profile with the exact same entry twice: --8<---------------cut here---------------start------------->8--- $ guix package -p foo -i gnutls gnutls La jenaj pakoj estos instalataj: gnutls 3.5.13 /gnu/store/g09is0bw144d8zrd059fiarqmjq7vr8a-gnutls-3.5.13 gnutls 3.5.13 /gnu/store/g09is0bw144d8zrd059fiarqmjq7vr8a-gnutls-3.5.13 substitute: updating list of substitutes from 'https://berlin.guixsd.org'..= . 100.0% substitute: updating list of substitutes from 'https://mirror.hydra.gnu.org= '... 100.0% La jenaj derivoj estos konstruataj: /gnu/store/viykf0jcxc9c51yl0p1023b75khad7jn-profile.drv /gnu/store/yi996sf93p8n15ijf27hcck1b6prywrl-info-dir.drv /gnu/store/ki7jrd29isi0l1zk93vrqd1p4by08nw7-fonts-dir.drv /gnu/store/0xkp49578vpjc7q96kyg052v4jhx439m-ca-certificate-bundle.drv /gnu/store/yxbrnjbxjcdx6nvs8l0wm8236mvx14l7-manual-database.drv Creating manual page database... 144 entries processed in 0.1 s pakoj 2 en profilo La jenaj medi-variablaj difinoj povos esti necesaj: export PATH=3D"foo/bin${PATH:+:}$PATH" --8<---------------cut here---------------end--------------->8--- Weird, but no big deal since they are really the same entry. (What=E2=80=99s *not* permitted is installing several =E2=80=9Cgnutls=E2=80= =9D packages having a different store file name. See =E2=80=98check-for-collisions=E2=80=99 in (= guix profiles).) What should we do? Status quo? Throwing a =E2=80=98delete-duplicates=E2= =80=99 call? Let=E2=80=99s have a poll! ;-) Ludo=E2=80=99.