From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: multiple versions Date: Sat, 16 Jul 2016 22:49:19 +0200 Message-ID: <87mvlh71gw.fsf@gnu.org> References: 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]:47893) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bOWWd-0004B3-9d for help-guix@gnu.org; Sat, 16 Jul 2016 16:49:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bOWWZ-0002Cg-4w for help-guix@gnu.org; Sat, 16 Jul 2016 16:49:26 -0400 In-Reply-To: (Vincent Legoll's message of "Sat, 16 Jul 2016 15:57:38 +0200") List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Vincent Legoll Cc: help-guix@gnu.org Hi, Vincent Legoll skribis: > I m trying to get python3 & python2 installed for the same user > > guix package -i python@2 -i python@3 > > but that does not look like it will do what I want: > > vince@guixsd ~/guix-packages$ guix package -i python@2 python@3 > The following package will be downgraded: > python 3.4.3 =E2=86=92 2.7.10 > /gnu/store/7fm1qk703x47qzb9p6xg08cxgb009akz-python-2.7.10 > > The following package will be upgraded: > python 3.4.3 =E2=86=92 3.4.3 > /gnu/store/dsp685maxqc1i6qcib77449g2b6b7qah-python-3.4.3 This is impossible. A profile can contain at most one package of a given name. However, what you can do is create separate profiles: guix package -p pytwo -i python@2 guix package -p pythree -i python@3 =E2=80=A6 or use =E2=80=98guix environment=E2=80=99: guix environment --ad-hoc python@2 HTH! Ludo=E2=80=99.