From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Enge Subject: Re: Different versions of a package in the same profile? Date: Sat, 1 Nov 2014 11:46:10 +0100 Message-ID: <20141101104610.GC31318@debian> 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> 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]:32813) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XkWCV-000775-Sp for guix-devel@gnu.org; Sat, 01 Nov 2014 06:46:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XkWCO-0002zS-Cb for guix-devel@gnu.org; Sat, 01 Nov 2014 06:46:31 -0400 Content-Disposition: inline In-Reply-To: <87lhnxgnrx.fsf_-_@gnu.org> 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: Ludovic =?iso-8859-15?Q?Court=E8s?= Cc: guix-devel@gnu.org, Alex Kost On Fri, Oct 31, 2014 at 12:07:14AM +0100, Ludovic Courtès 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. > > For instance, ‘-u foo’ would upgrade all the installed versions of > ‘foo’, 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. How about guile? In any case, the outcome of installation should not depend on whether we do them in one or in several commands. 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? Andreas