1 |
On Friday 13 August 2010 14:15:59 Alan McKinnon wrote: |
2 |
> On Friday 13 August 2010 16:04:53 Frank Schwidom wrote: |
3 |
> > Hi |
4 |
> > |
5 |
> > i get the error: |
6 |
> > |
7 |
> > { |
8 |
> > !!! Multiple package instances within a single package slot have been |
9 |
> > pulled |
10 |
> > !!! into the dependency graph, resulting in a slot conflict: |
11 |
> > |
12 |
> > media-libs/libpng:0 |
13 |
> > |
14 |
> > ('ebuild', '/', 'media-libs/libpng-1.4.3', 'merge') pulled in by |
15 |
> > |
16 |
> > >=media-libs/libpng-1.2.43-r2:0 required by ('ebuild', '/', |
17 |
> > >'x11-libs/cairo-1.8.10', 'merge') |
18 |
> > >=media-libs/libpng-1.4 required by ('ebuild', '/', |
19 |
> > >'x11-libs/gtk+-2.20.1-r1', 'merge') |
20 |
> > |
21 |
> > (and 27 more) |
22 |
> > |
23 |
> > } |
24 |
> > |
25 |
> > And i wonder that it seems not to be possible to install both libs |
26 |
> > (libpng-1.2.43-r2:0, libpng-1.4) in the same time. Linux is actually |
27 |
> > able to manage this by the lib-version and links. |
28 |
> |
29 |
> You have misread the portage output. It does not say it wants those |
30 |
> versions. |
31 |
> |
32 |
> It says this: |
33 |
> >=media-libs/libpng-1.2.43-r2:0 |
34 |
> >=media-libs/libpng-1.4 |
35 |
> |
36 |
> Note the greater than or equal to. |
37 |
> |
38 |
> The limiting factor to multiple versions is not Linux, it is portage. |
39 |
> Portage will not co-install two versions in the same SLOT. |
40 |
> |
41 |
> > Did i have overseen any gentoo switch that makes is possible? Or is |
42 |
> > there any other option? |
43 |
> |
44 |
> This whole libpng mess was a right royal fuck up several months ago. I |
45 |
> forget the specifics but IIRC a decent solution was |
46 |
> |
47 |
> emerge -C libpng |
48 |
> emerge libpng |
49 |
> revdep-rebuild |
50 |
> |
51 |
> The last step takes some time to complete, there is a lot of fall-out to |
52 |
> deal with. |
53 |
> |
54 |
> As you are only hitting this now, I assume you have a stable system and are |
55 |
> not using the masked versions of portage. @preserved-rebuild would save you |
56 |
> lots of pain, but that feature is not available in stable versions of |
57 |
> portage. |
58 |
> |
59 |
> For more info, check the archives. There is more mail there about this than |
60 |
> you could ever possibly want to read. |
61 |
|
62 |
I actually hit this myself yesterday. |
63 |
When emerging "libpng", it mentions a script that needs to be run. I would |
64 |
suggest running that script. |
65 |
|
66 |
I think the following commands were the ones that led to a properly upgraded |
67 |
system. It is now working for me, but it did take quite a while. |
68 |
** |
69 |
emerge -vauD --newuse world |
70 |
lafilefixer --justfixit |
71 |
/usr/sbin/libpng-1.4.x-update.sh |
72 |
emerge -vauD --newuse world |
73 |
revdep-rebuild -- -va |
74 |
emerge -vauD --newuse world |
75 |
** |
76 |
|
77 |
Alternatively, you could always try to one that should always work: |
78 |
|
79 |
emerge -vae world |
80 |
(NOTE: This will rebuild _everything_) |
81 |
|
82 |
Btw, if you are using KDE, you might, like me, also hit issues with akonadi |
83 |
not starting (I couldn't not use it anymore) |
84 |
Post on the list if you hit it, I still have these fresh in my mind :) |
85 |
|
86 |
-- |
87 |
Joost |