1 |
On Sat, Feb 16, 2013 at 12:12:30PM +0000, Kerin Millar wrote: |
2 |
> On 16/02/2013 11:47, Frank Schwidom wrote: |
3 |
> > On Sat, Feb 16, 2013 at 09:13:13AM +0000, Kerin Millar wrote: |
4 |
> >> On 16/02/2013 08:36, Frank Schwidom wrote: |
5 |
> >>> Hi, |
6 |
> >>> |
7 |
> >>> I have an conflict wth 2 Versions of Readline: |
8 |
> >>> |
9 |
> >>> (sys-libs/readline-5.2_p12-r1::gentoo, installed) pulled in by |
10 |
> >>> =sys-libs/readline-5* required by (dev-lang/ghc-6.8.2::gentoo, installed) |
11 |
> >>> |
12 |
> >>> (sys-libs/readline-6.2_p1::gentoo, ebuild scheduled for merge) pulled |
13 |
> >>> in by =sys-libs/readline-6.2_p1 |
14 |
> >>> |
15 |
> >>> Is ts possible to install both libraries in the same time? |
16 |
> >> |
17 |
> >> Yes. Portage can support different versions side-by-side if the ebuild |
18 |
> >> makes use of the SLOT variable. For instance, I have |
19 |
> >> sys-libs/readline-6.2_p1 installed and attempting to install readline-5* |
20 |
> >> yields: |
21 |
> >> |
22 |
> >> Calculating dependencies... done! |
23 |
> >> [ebuild NS ] sys-libs/readline-5.2_p14:5 [6.2_p1:0] 2,024 kB |
24 |
> >> |
25 |
> >> Note that this isn't a downgrade in so far as 6.2_p1 won't be removed. |
26 |
> >> It's a new, slotted instance of the package. No problem there. |
27 |
> > |
28 |
> > hangeLog: Stabilize old ABI SLOT version. |
29 |
> > readline-4.3_p5.ebuild:SLOT="${PV:0:1}" |
30 |
> > readline-5.2_p14.ebuild:SLOT="${PV:0:1}" |
31 |
> > readline-6.1.ebuild:SLOT="0" |
32 |
> > readline-6.1_p2.ebuild:SLOT="0" |
33 |
> > readline-6.2.ebuild:SLOT="0" |
34 |
> > readline-6.2_p1.ebuild:SLOT="0" |
35 |
> > readline-6.2_p1-r1.ebuild:SLOT="0" |
36 |
> > readline-6.2_p4.ebuild:SLOT="0" |
37 |
> > |
38 |
> > it seems to be that in my case readline-5.2_p12-r1 ist installed under SLOT 0. |
39 |
> > can i override the slot-variable ? |
40 |
> |
41 |
> I gather that you've synced so if you run emerge -a1 '=readline-5*', |
42 |
> that should install the latest 5.2_p14 ebuild which is appropriately |
43 |
> slotted. |
44 |
> |
45 |
> Note that the latest stable version of ghc (6.12.3-r2) doesn't depend on |
46 |
> the old version of readline anyway. The main issue was that your portage |
47 |
> tree was out of date. Now that has been dealt with, I think you just |
48 |
> need to upgrade as normal. You can uninstall the old instance of ghc |
49 |
> before allowing it to re-install, in case it still blocks. |
50 |
|
51 |
The current Version is '=readline-5*'. the only thing, i want to do |
52 |
next, is to update portage, but portage wants to get a new python and |
53 |
python a new readline(-6). My Problem is, to install a new readline (-6) |
54 |
parallel to the old (-5). |
55 |
|
56 |
Would it help, to change the SLOT Variable in the ebuild files, or |
57 |
is there any option or Variable to override the slot settings? |
58 |
|
59 |
|
60 |
Regards |