From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Kost Subject: Re: Problems with downloading from https Date: Thu, 30 Oct 2014 10:27:59 +0300 Message-ID: <87bnouf24g.fsf@gmail.com> References: <87fveboseq.fsf@gnu.org> <87k33m4ob9.fsf@gmail.com> <87vbn6h7f4.fsf@gnu.org> <87oasxj2z1.fsf@netris.org> <87ioj566pv.fsf@gnu.org> <8761f5zlph.fsf@gmail.com> <87fve9po7v.fsf@yeeloong.lan> <87y4s1zdjl.fsf@gnu.org> <871tptzclb.fsf@gmail.com> <87mw8glixr.fsf@gnu.org> <20141029222212.GD29707@debian> 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]:37359) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xjk9U-0003aO-Tz for guix-devel@gnu.org; Thu, 30 Oct 2014 03:28:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xjk9L-0001sx-SL for guix-devel@gnu.org; Thu, 30 Oct 2014 03:28:12 -0400 In-Reply-To: <20141029222212.GD29707@debian> (Andreas Enge's message of "Wed, 29 Oct 2014 23:22:12 +0100") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Andreas Enge Cc: guix-devel@gnu.org Andreas Enge (2014-10-30 01:22 +0300) wrote: > On Tue, Oct 28, 2014 at 09:03:44AM +0100, Ludovic Court=C3=A8s wrote: >> Alex Kost skribis: >> > But currently it's not possible to install 2 (or more) packages with t= he >> > same name. So a user can't have guile 2.0 and guile 1.8 in the same >> > profile. The same thing with python: there is no =E2=80=98python2=E2= =80=99 package. >> > Both python packages have =E2=80=9Cpython=E2=80=9D name and can't be i= nstalled in the >> > same profile, as far as I understand. >>=20 >> Good point! (Somehow I thought there was =E2=80=98python2=E2=80=99.) > > Is it really not possible to install two packages with the same name? > I thought you could do > guix package -i python python-2.7.6 > where the first one will chose the latest package? It just requires that > there are no overlapping paths. I think such an "evil" case is just not handled currently. If you have python-3=E2=80=A6 installed and you install python-2=E2=80=A6 in the same p= rofile, then python-3=E2=80=A6 would be replaced, but if you install both packages in the same command, then both would be installed. It's OK for pythons, because there are no name collisions in these packages, but if you try to install both "guile-2.0.11" and "guile-1.8.8" is such a way, then you will have several collisions. So I think installing packages with the same name in one transaction should also be prohibited. As both python packages can co-exist in one profile, either python-2=E2=80= =A6 may be renamed into =E2=80=9Cpython2=E2=80=9D or python-3=E2=80=A6 into =E2= =80=9Cpython3=E2=80=9D. As python3 is the future, I think it would be better to have =E2=80=9Cpython2=E2=80=9D= and =E2=80=9Cpython=E2=80=9D (which is python3) packages. Or maybe they shouldn't be renamed and we can introduce a little collision instead by adding "=E2=80=A6/bin/python" symlink to python-3=E2=80=A6 package.