From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#27572: simultaneous installation of python2 and python3 fails Date: Fri, 07 Jul 2017 13:27:01 +0200 Message-ID: <87tw2obi7u.fsf@gnu.org> References: <877ezoivqd.fsf@GlaDOS.home> 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]:51145) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dTRQb-0000Ny-C3 for bug-guix@gnu.org; Fri, 07 Jul 2017 07:28:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dTRQY-0007TO-6e for bug-guix@gnu.org; Fri, 07 Jul 2017 07:28:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:53098) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dTRQY-0007Su-2w for bug-guix@gnu.org; Fri, 07 Jul 2017 07:28:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dTRQX-0003sm-Py for bug-guix@gnu.org; Fri, 07 Jul 2017 07:28:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <877ezoivqd.fsf@GlaDOS.home> (Diego Nicola Barbato's message of "Tue, 04 Jul 2017 08:04:10 +0200") 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: Diego Nicola Barbato Cc: 27572@debbugs.gnu.org Hello Diego, Diego Nicola Barbato skribis: > When running the command "guix pull && guix package -i python@2 python" > instead of installing the latest version of python2 and python3, as it > used to do until about four weeks ago, guix gives following error > message (hash values replaced with ...): > > guix package: error: profile contains conflicting entries for python:out > guix package: error: first entry: python@2.7.13:out /gnu/store/...-py= thon-2.7.13 > guix package: error: second entry: python@3.5.3:out /gnu/store/...-py= thon-3.5.3 Indeed, Guix now refuses to install two different versions or variants of the same package since in general they would conflict. In this particular case, they do not actually conflict, I think, since python@3 provides executables prefixed by =E2=80=9C3=E2=80=9D whereas pytho= n@2 does not. Perhaps we should rename =E2=80=9Cpython=E2=80=9D to =E2=80=9Cpython2=E2=80= =9D or something like that? In the meantime, I recommend using separate profiles for your Python 2 and Python 3 development environments. Is that a viable option for you? Thanks, Ludo=E2=80=99.