From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Different versions of a package in the same profile? Date: Sun, 02 Nov 2014 18:22:28 +0100 Message-ID: <871tplo6uj.fsf@gnu.org> References: <87fve9po7v.fsf@yeeloong.lan> <87y4s1zdjl.fsf@gnu.org> <871tptzclb.fsf@gmail.com> <87mw8glixr.fsf@gnu.org> <20141029222212.GD29707@debian> <87bnouf24g.fsf@gmail.com> <20141030074926.GA27584@debian> <877fzhg2ng.fsf@gmail.com> <20141030123832.GA6721@debian.eduroam.u-bordeaux.fr> <87lhnxgnrx.fsf_-_@gnu.org> <20141101104610.GC31318@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]:38046) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xkyqz-0001MT-Kj for guix-devel@gnu.org; Sun, 02 Nov 2014 12:22:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xkyqt-0000rX-Mr for guix-devel@gnu.org; Sun, 02 Nov 2014 12:22:13 -0500 Received: from hera.aquilenet.fr ([2a01:474::1]:43998) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xkyqt-0000rT-Aa for guix-devel@gnu.org; Sun, 02 Nov 2014 12:22:07 -0500 In-Reply-To: <20141101104610.GC31318@debian> (Andreas Enge's message of "Sat, 1 Nov 2014 11:46:10 +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, Alex Kost Andreas Enge skribis: > On Fri, Oct 31, 2014 at 12:07:14AM +0100, Ludovic Court=C3=A8s wrote: >> Technically it would be easy to allow the installation of different >> versions of a package in the same profile, but I wonder about the >> implications. >>=20 >> For instance, =E2=80=98-u foo=E2=80=99 would upgrade all the installed v= ersions of >> =E2=80=98foo=E2=80=99, so you would end up with exactly the same version= twice. > > Good catch (or rather "bad feature"?). > > So should we indeed rename version 2 of the python package to python2, to > allow easy installation together with python version 3? > > We could do the same for Qt, but if anyway versions 4 and 5 are not > installable together, there does not seem to be a need. I don=E2=80=99t think so. In this thread, I rather wanted to discuss the implications of allowing same-named packages to be installed in the same profile, should we decide to go that route. > In any case, the outcome of installation should not depend on whether we > do them in one or in several commands. Agreed. > Another idea: How about letting "guix package -u foo" upgrade only the > package with name foo and the latest version if there are several with the > same name? That=E2=80=99s a possibility, yes. But I wonder if there are other issues beyond -u. Ludo=E2=80=99.