On 17/12/2016 14:51, Mick wrote:
> On Saturday 17 Dec 2016 12:27:18 Kai Krakow wrote:
>> Am Wed, 14 Dec 2016 00:06:00 -0500
>>
>> schrieb Philip Webb <purs...@ca.inter.net>:
>>> I just updated Qt5 to 5.6.2 & ran into a familiar Portage problem.
>>>
>>> The emerge command responds with a list of "conflicts",
>>> all involving 5.6.1 vs 5.6.2 versions of the  c 15  pkgs.
>>> The only way to get around this is to unmerge the existing pkgs via
>>> '-C', then install the new versions.  That works, but it's brute
>>> force.
>>>
>>> Portage sb able to resolve this kind of conflict for itself.
>>> If not, then at least it should advise users intelligently
>>> to do what I've just described.  It can happen with other sets of
>>> pkgs.
>>>
>>> Yes, I did do 'backtrack==30'.
>>>
>>> Before I send in a bug, does anyone else have useful comments ?
>>
>> I constantly see the same conflict and haven't nailed it down exactly
>> right now. It seems to happen when one package requires a binary
>> compatibility to an older version of a depend but can also be built
>> against the newer version. Usually, emerge should trigger a rebuild
>> then. But this doesn't seem to work when both packages (the depend and
>> the depender) are updated at the same time. Portage then pulls in the
>> old and the new version of the same package at the same time, resulting
>> in a conflict.
>>
>> Upgrading the depends with "-1a" first sometimes helps but usually I'll
>> also resolv it by unmerging the conflicting package first.
> 
> Or, I usually end up unmerging the older version and emerge then picks up the 
> latest stable version of the dependency.  I'm not saying this is the correct 
> way to do it but either of these two methods get me out of the woods 
> eventually.  
> 


It is the "correct" way, but not because it has some stamp of approval :-)

It's correct because it's the easiest way out of a tricky problem that
is really hard to solve any other way.

It's a lot like doors - removing them is not exactly what they were
built for but if you need to get a 92cm couch through a 90cm door the
only way to get that extra 2cm is to take the door off it's hinges :-)

-- 
Alan McKinnon
alan.mckin...@gmail.com


Reply via email to