Gentoo Archives: gentoo-user

From: Michael Orlitzky <mjo@g.o>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] And so the emerge spake: Let there be conflicts...and see, everything was chaos and sin...
Date: Sun, 26 Apr 2015 20:23:49
Message-Id: 553D494B.3060201@gentoo.org
In Reply to: Re: [gentoo-user] And so the emerge spake: Let there be conflicts...and see, everything was chaos and sin... by Philip Webb
1 On 04/26/2015 03:17 PM, Philip Webb wrote:
2 > 150426 Neil Bothwick wrote:
3 >> On Sun, 26 Apr 2015 15:49:19 +0200, Alan McKinnon wrote:
4 >>> Emerge really needs to have it's output redesigned from scratch.
5 >> I t needs a full overhaul of the way it communicates what is happening.
6 >
7 > +1 : Portage needs to tell users (1) more clearly what's gone wrong,
8 > (2) what their choices are, (3) how to resolve the problem.
9 >
10
11 The process goes something like this:
12
13 1. Become frustrated with the obtuse portage output.
14
15 2. Get familiar with the portage source code.
16
17 3. Develop an understanding of the dependency resolution process and
18 all of the possible conflicts that can arise.
19
20 4. Come up with some better ways to explain the error messages that are
21 shown.
22
23 5. Never get around to writing the patch, because now you understand
24 what portage is telling you.
25
26
27 More seriously, once you start working on (3), you'll realize that just
28 because the error messages suck doesn't mean you can make them better.
29 Maybe the best solution to a conflict is to buy a new video card for $5
30 so that a newer version of nvidia-drivers will work so that the new
31 version of xorg-server will work so that the new version of opengl will
32 work so that you can upgrade tuxracer. Portage can't figure out stuff
33 like that.
34
35 If you're willing to wait an hour, it might be able to come up with a
36 list of ways you could resolve a conflict, but basically all of them
37 will be wrong (e.g. suggestion #1, uninstall everything). All portage
38 errors are essentially, "you want something and you can't have it." The
39 solution is then to adjust slightly what it is that you asked for, but
40 portage doesn't know what you really want or what you're willing to
41 settle for, so the best it can do is give you the information you need
42 to ask it a different question.

Replies