From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id E9B59138A85 for ; Sat, 16 Feb 2013 15:27:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0AB18E0655; Sat, 16 Feb 2013 15:27:26 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) by pigeon.gentoo.org (Postfix) with ESMTP id 78CF8E060D for ; Sat, 16 Feb 2013 15:27:24 +0000 (UTC) Received: from mailout-de.gmx.net ([10.1.76.31]) by mrigmx.server.lan (mrigmx002) with ESMTP (Nemesis) id 0M3xZE-1Uwuqn3dsg-00rc8l for ; Sat, 16 Feb 2013 16:27:23 +0100 Received: (qmail invoked by alias); 16 Feb 2013 15:27:22 -0000 Received: from unknown (EHLO gmx.de) [46.115.25.162] by mail.gmx.net (mp031) with SMTP; 16 Feb 2013 16:27:22 +0100 X-Authenticated: #11923159 X-Provags-ID: V01U2FsdGVkX1/EDHlHgSjE/Mu7MLxJnEfiM8hU7Zfn1gHVTAQRUh XyxE4NSlfjf5BL Received: by BigBox (Postfix, from userid 1000) id E28BA9813B9; Sat, 16 Feb 2013 15:09:52 +0000 (GMT) Date: Sat, 16 Feb 2013 16:09:52 +0100 From: Frank Schwidom To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Installing 2 version-different libs in the same time Message-ID: <20130216150952.GB17807@BiggerBoxer> References: <20130216083607.GA11121@BiggerBoxer> <511F4DA9.3020104@fastmail.co.uk> <20130216114715.GA17807@BiggerBoxer> <511F77AE.10000@fastmail.co.uk> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <511F77AE.10000@fastmail.co.uk> User-Agent: Mutt/1.5.20 (2009-06-14) X-Y-GMX-Trusted: 0 X-Archives-Salt: 31cd3aa1-8de9-466c-9a3c-c06836d2a747 X-Archives-Hash: 6906222890a0a7548ec639ff2a2b0354 On Sat, Feb 16, 2013 at 12:12:30PM +0000, Kerin Millar wrote: > On 16/02/2013 11:47, Frank Schwidom wrote: > > On Sat, Feb 16, 2013 at 09:13:13AM +0000, Kerin Millar wrote: > >> On 16/02/2013 08:36, Frank Schwidom wrote: > >>> Hi, > >>> > >>> I have an conflict wth 2 Versions of Readline: > >>> > >>> (sys-libs/readline-5.2_p12-r1::gentoo, installed) pulled in by > >>> =sys-libs/readline-5* required by (dev-lang/ghc-6.8.2::gentoo, installed) > >>> > >>> (sys-libs/readline-6.2_p1::gentoo, ebuild scheduled for merge) pulled > >>> in by =sys-libs/readline-6.2_p1 > >>> > >>> Is ts possible to install both libraries in the same time? > >> > >> Yes. Portage can support different versions side-by-side if the ebuild > >> makes use of the SLOT variable. For instance, I have > >> sys-libs/readline-6.2_p1 installed and attempting to install readline-5* > >> yields: > >> > >> Calculating dependencies... done! > >> [ebuild NS ] sys-libs/readline-5.2_p14:5 [6.2_p1:0] 2,024 kB > >> > >> Note that this isn't a downgrade in so far as 6.2_p1 won't be removed. > >> It's a new, slotted instance of the package. No problem there. > > > > hangeLog: Stabilize old ABI SLOT version. > > readline-4.3_p5.ebuild:SLOT="${PV:0:1}" > > readline-5.2_p14.ebuild:SLOT="${PV:0:1}" > > readline-6.1.ebuild:SLOT="0" > > readline-6.1_p2.ebuild:SLOT="0" > > readline-6.2.ebuild:SLOT="0" > > readline-6.2_p1.ebuild:SLOT="0" > > readline-6.2_p1-r1.ebuild:SLOT="0" > > readline-6.2_p4.ebuild:SLOT="0" > > > > it seems to be that in my case readline-5.2_p12-r1 ist installed under SLOT 0. > > can i override the slot-variable ? > > I gather that you've synced so if you run emerge -a1 '=readline-5*', > that should install the latest 5.2_p14 ebuild which is appropriately > slotted. > > Note that the latest stable version of ghc (6.12.3-r2) doesn't depend on > the old version of readline anyway. The main issue was that your portage > tree was out of date. Now that has been dealt with, I think you just > need to upgrade as normal. You can uninstall the old instance of ghc > before allowing it to re-install, in case it still blocks. The current Version is '=readline-5*'. the only thing, i want to do next, is to update portage, but portage wants to get a new python and python a new readline(-6). My Problem is, to install a new readline (-6) parallel to the old (-5). Would it help, to change the SLOT Variable in the ebuild files, or is there any option or Variable to override the slot settings? Regards