From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Sturmfels Subject: bug#29255: "Profile contains conflicting entries" could be more helpful Date: Sat, 11 Nov 2017 11:14:05 +1100 Message-ID: <87bmk98yeq.fsf@sturm.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41687) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eDJRy-00027V-73 for bug-guix@gnu.org; Fri, 10 Nov 2017 19:15:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eDJRu-00006K-6X for bug-guix@gnu.org; Fri, 10 Nov 2017 19:15:06 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:54068) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eDJRu-00006B-2Y for bug-guix@gnu.org; Fri, 10 Nov 2017 19:15:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eDJRt-0002AB-RE for bug-guix@gnu.org; Fri, 10 Nov 2017 19:15:01 -0500 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41645) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eDJRP-000250-0r for bug-guix@gnu.org; Fri, 10 Nov 2017 19:14:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eDJRL-0008DD-05 for bug-guix@gnu.org; Fri, 10 Nov 2017 19:14:30 -0500 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:51491) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eDJRK-0008C5-G5 for bug-guix@gnu.org; Fri, 10 Nov 2017 19:14:26 -0500 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id D04C420B77 for ; Fri, 10 Nov 2017 19:14:23 -0500 (EST) Received: from Marseille (124-169-183-126.dyn.iinet.net.au [124.169.183.126]) by mail.messagingengine.com (Postfix) with ESMTPA id DBF2E244A1 for ; Fri, 10 Nov 2017 19:14:22 -0500 (EST) 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: 29255@debbugs.gnu.org Hi Folks, When trying to install "python-twine", installation failed with the following error: $ guix package --install python-twine The following package will be installed: python-twine 1.9.1 /gnu/store/fh72qswc2gpj1c1xb2gm23hfs1vx4lk2-python-twine-1.9.1 guix package: error: profile contains conflicting entries for python-requests:out guix package: error: first entry: python-requests@2.13.0:out /gnu/store/4paqanwmdw2d7ss9hdq7d34b43ycjgsv-python-requests-2.13.0 guix package: error: ... propagated from python-twine@1.9.1 guix package: error: second entry: python-requests@2.13.0:out /gnu/store/z4jqf8p2z73dscrjmbpwamdvyfdaqkgx-python-requests-2.13.0 This was quite baffling - it wasn’t clear to me why there was a conflict, whether it was related to something I'd done and what I could do to fix it. If I understand correctly, the cause is that I had manually installed "python-requests" at some stage and that only one version can be available in my profile, and that "python-twine" depended on a different version. I believe the action I need to take to resolve the conflict is: guix package --install python-twine --upgrade python-requests So I think the bug is that the user interface could be more helpful here. It should probably either tell you what happened and what you can do to fix it, or offer to resolve the conflict/perform the upgrade for you. Regards, Ben