Gentoo Archives: gentoo-user

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

Replies

Subject Author
Re: [gentoo-user] emerge conflict "J. Roeleveld" <joost@××××××××.org>
Re: [gentoo-user] emerge conflict Alan McKinnon <alan.mckinnon@×××××.com>