From: Alan McKinnon <alan.mckinnon@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] And so the emerge spake: Let there be conflicts...and see, everything was chaos and sin...
Date: Mon, 27 Apr 2015 07:40:34 +0200 [thread overview]
Message-ID: <553DCBD2.20404@gmail.com> (raw)
In-Reply-To: <20150426212847.GF1067@ca.inter.net>
On 26/04/2015 23:28, Philip Webb wrote:
> 150426 Michael Orlitzky wrote:
>> On 04/26/2015 03:17 PM, Philip Webb wrote:
>>> Portage needs to tell users (1) more clearly what's gone wrong,
>>> (2) what their choices are, (3) how to resolve the problem.
>> The process goes something like this:
>> 1. Become frustrated with the obtuse portage output.
>> 2. Get familiar with the portage source code.
>> 3. Develop an understanding of the dependency resolution process
>> and all of the possible conflicts that can arise.
>> 4. Come up with better ways to explain the error messages that are shown.
>> 5. Never get around to writing the patch,
>> because now you understand what Portage is telling you.
>
> That's far too much to expect of users : we're not dev's.
>
>> More seriously, once you start working on (3), you'll realize
>> that just because the error msgs suck doesn't mean you can make them better.
>
> If they "suck", they're not worth issuing, are they ?
> I'm not willing to become a dev, so I'll never know if I cd improve them,
> but it doesn't follow that no-one else could.
>
>> Maybe the best solution to a conflict is to buy a new video card for $5,
>> so that a newer version of nvidia-drivers will work,
>> so that the new version of xorg-server will work,
>> so that the new version of opengl will work,
>> so that you can upgrade tuxracer.
>> Portage can't figure out stuff like that.
>
> I'm not asking it to : citing extreme cases is a popular excuse for inaction.
>
>> If you're willing to wait an hour, it might be able to come up
>> with a list of ways you could resolve a conflict, but basically
>> all of them will be wrong, eg suggestion #1, uninstall everything.
>
> Really, this is a flippant response to a serious issue,
> which is being raised more often on the Gentoo User list.
>
>> All portage errors are essentially :
>> "you want something and you can't have it".
>
> Well, you said above that Portage doesn't know what the user wants (smile).
>
>> The solution is then to adjust slightly what it is that you asked for,
>> but Portage doesn't know what you really want
>> or what you're willing to settle for,
>> so the best it can do is give you the information you need
>> so that you can ask it a different question.
>
> Users need advice from Portage re the range + type of questions to ask.
> Portage needs to list possibilities + alternatives, ok a short list.
> At present, it spews out opaque lists of things it can't do
> & offers no assistance to users re what it mb able to do.
>
I'm with you on this Philip. By way of example, here's the output I get
every time I run emerge on my notebook:
==========
# emerge -avuND world
These are the packages that would be merged, in order:
Calculating dependencies... done!
Total: 0 packages, Size of downloads: 0 KiB
WARNING: One or more updates/rebuilds have been skipped due to a
dependency conflict:
dev-lang/swig:0
(dev-lang/swig-3.0.5:0/0::gentoo, ebuild scheduled for merge)
conflicts with
<dev-lang/swig-3.0.5 required by
(dev-python/m2crypto-0.22.3-r3:0/0::gentoo, installed)
^ ^^^^^
dev-java/slf4j-api:0
(dev-java/slf4j-api-1.7.7:0/0::gentoo, ebuild scheduled for merge)
conflicts with
<dev-java/slf4j-api-1.7.7:0 required by
(dev-java/jboss-logging-3.1.4:0/0::gentoo, installed)
^ ^^^^^
Nothing to merge; quitting.
===========
I know what this means, swig and slf4j-api are pinned (in the style of
Debian) because other packages that use them require
less-than-most-recent versions. Fair enough, that's a normal everyday
occurrence. Now try infer the truth from the stated output.
Note that I have no local masks that get involved, this output is from
the state of the tree itself.
This is the kind of query we are getting more and more often here on
-user; old nvidia versions is also somewhat common but we Gentooers have
always accepted that as part of the deal if we want to use ancient
hardware. My example above was never part of the deal as I read it.
--
Alan McKinnon
alan.mckinnon@gmail.com
next prev parent reply other threads:[~2015-04-29 0:12 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-25 16:07 [gentoo-user] And so the emerge spake: Let there be conflicts...and see, everything was chaos and sin Meino.Cramer
2015-04-25 20:15 ` Daniel Frey
2015-04-26 2:06 ` Meino.Cramer
2015-04-26 7:38 ` Alan McKinnon
2015-04-26 14:16 ` Daniel Frey
2015-04-26 6:49 ` [gentoo-user] " Martin Vaeth
2015-04-26 7:32 ` Meino.Cramer
2015-04-26 13:13 ` Martin Vaeth
2015-04-26 13:30 ` Meino.Cramer
2015-04-26 8:19 ` Neil Bothwick
2015-04-26 13:08 ` Martin Vaeth
2015-04-26 7:35 ` [gentoo-user] " Alan McKinnon
2015-04-26 7:57 ` Meino.Cramer
2015-04-26 11:30 ` Alan McKinnon
2015-04-26 11:45 ` Meino.Cramer
2015-04-26 8:17 ` Neil Bothwick
2015-04-26 13:49 ` Alan McKinnon
2015-04-26 15:14 ` Peter Humphrey
2015-04-26 16:07 ` [gentoo-user] " walt
2015-04-26 17:17 ` [gentoo-user] " Neil Bothwick
2015-04-26 19:17 ` Philip Webb
2015-04-26 20:23 ` Michael Orlitzky
2015-04-26 21:28 ` Philip Webb
2015-04-26 22:06 ` Neil Bothwick
2015-04-26 22:23 ` Michael Orlitzky
2015-04-27 5:47 ` Alan McKinnon
2015-04-28 14:11 ` Dale
2015-04-28 16:34 ` Philip Webb
2015-04-27 5:40 ` Alan McKinnon [this message]
2015-04-27 7:30 ` [gentoo-user] " Martin Vaeth
2015-04-26 20:48 ` james
2015-04-27 20:11 ` Michael Orlitzky
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=553DCBD2.20404@gmail.com \
--to=alan.mckinnon@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox