1 |
On Friday 13 August 2010 16:04:53 Frank Schwidom wrote: |
2 |
> Hi |
3 |
> |
4 |
> i get the error: |
5 |
> |
6 |
> { |
7 |
> !!! Multiple package instances within a single package slot have been |
8 |
> pulled |
9 |
> !!! into the dependency graph, resulting in a slot conflict: |
10 |
> |
11 |
> media-libs/libpng:0 |
12 |
> |
13 |
> ('ebuild', '/', 'media-libs/libpng-1.4.3', 'merge') pulled in by |
14 |
> |
15 |
> >=media-libs/libpng-1.2.43-r2:0 required by ('ebuild', '/', |
16 |
> >'x11-libs/cairo-1.8.10', 'merge') |
17 |
> >=media-libs/libpng-1.4 required by ('ebuild', '/', |
18 |
> >'x11-libs/gtk+-2.20.1-r1', 'merge') |
19 |
> |
20 |
> (and 27 more) |
21 |
> } |
22 |
> |
23 |
> And i wonder that it seems not to be possible to install both libs |
24 |
> (libpng-1.2.43-r2:0, libpng-1.4) in the same time. Linux is actually |
25 |
> able to manage this by the lib-version and links. |
26 |
|
27 |
You have misread the portage output. It does not say it wants those versions. |
28 |
It says this: |
29 |
|
30 |
>=media-libs/libpng-1.2.43-r2:0 |
31 |
>=media-libs/libpng-1.4 |
32 |
|
33 |
Note the greater than or equal to. |
34 |
|
35 |
The limiting factor to multiple versions is not Linux, it is portage. Portage |
36 |
will not co-install two versions in the same SLOT. |
37 |
|
38 |
> Did i have overseen any gentoo switch that makes is possible? Or is |
39 |
> there any other option? |
40 |
|
41 |
This whole libpng mess was a right royal fuck up several months ago. I forget |
42 |
the specifics but IIRC a decent solution was |
43 |
|
44 |
emerge -C libpng |
45 |
emerge libpng |
46 |
revdep-rebuild |
47 |
|
48 |
The last step takes some time to complete, there is a lot of fall-out to deal |
49 |
with. |
50 |
|
51 |
As you are only hitting this now, I assume you have a stable system and are |
52 |
not using the masked versions of portage. @preserved-rebuild would save you |
53 |
lots of pain, but that feature is not available in stable versions of portage. |
54 |
|
55 |
For more info, check the archives. There is more mail there about this than |
56 |
you could ever possibly want to read. |
57 |
|
58 |
-- |
59 |
alan dot mckinnon at gmail dot com |