1 |
On 06/22/2016 03:57 PM, Dan Douglas wrote: |
2 |
> On 06/22/2016 12:31 PM, Neil Bothwick wrote: |
3 |
>> On Wed, 22 Jun 2016 08:39:59 -0500, Dan Douglas wrote: |
4 |
>>> --keep-going is in EMERGE_DEFAULT_OPTS so the problem is only when |
5 |
>>> that fails for whatever reason, --resume (with or without |
6 |
>>> --skip-first) always fails too. |
7 |
>> On 06/22/2016 12:31 PM, Neil Bothwick wrote: |
8 |
>> That makes sense, --keep-going has already made sure that all updates |
9 |
>> that are not dependant on the failing one have emerged, so there's |
10 |
>> nothing left to emerge until you fix the broken package. |
11 |
> |
12 |
> |
13 |
> That's what it should do but it clearly doesn't quite work that way. |
14 |
> It's easy to prove it's broken by finding any package on the resume list |
15 |
> that can merge on its own without pulling in a previously failed package. |
16 |
> |
17 |
> I've had completely up-to-date systems where no possible failure could |
18 |
> result in an unsatisfied dependency and portage refuses to resume an |
19 |
> `emerge -e @world` with hundreds of possible packages on the resume list |
20 |
> that would work in isolation. That's the problem. |
21 |
> |
22 |
> |
23 |
|
24 |
Often, the issue in these cases is that there is some broken dependency |
25 |
already present on the system (for some value of "broken"). This may be |
26 |
a package that is not required by anything (so --depclean would remove |
27 |
it) is now broken because it requires something that isn't installed. |
28 |
It may also be a package that is only required as a build dependency of |
29 |
something, if you do not have '--with-bdeps=y' in your |
30 |
EMERGE_DEFAULT_OPTS. Unfortunately, it is difficult to get portage to |
31 |
explain what it thinks is broken in these cases. If trying to do a |
32 |
`emerge -pvte @world` shows packages that would be updated, newly |
33 |
installed, or rebuilt, when your normal @world update would show |
34 |
nothing, this may be part of the problem. |
35 |
|
36 |
-- |
37 |
Jonathan Callen |