On 8 July 2014 00:45, James Potts wrote: > > In this case, it would be nice if Portage would see if one package of > the set could be resolved without blocks or required config changes > (i.e. if one package can be installed *now* choose it over > earlier-listed not-installable packages). The problem with this is > that it would take longer to resolve || () deps if the first one isn't > installable. Not only that, but the workaround is easy: Either > install the package you want first (upower-pm-utils, for example), or > at the same time as your "target" package, so I also don't see this as > high-priority. I also don't see this as something needing changed in > PMS, as other PMs have different ways of handling the issue. > > --James > > I sometimes wonder if it would be easier in some way if we just employed more useflags to make the alternation less magical. And then perhaps fall back to the existing system of automagicking it only if no relevant useflags were used. Just there, I don't recall there being an easy way to say "do X only if !Y !Z !A" REQUIRED_USE="x? ( !y !z ) y? ( !z )" DEPEND=" x? ( a ) y? ( b ) z? ( c ) !x? ( !y? ( !z? ( || ( a b c ) ))) " As it stands its useful, ... until portage takes the wrong path, and then you have to fix the problem manually by convincing it which path to take by lining up the dependencies yourself, instead of just declaring "look, the path you should be doing is this one, forget that other stuff" and let portage handle the rest. Though this is Probably crazy talk. -- Kent *KENTNL* - https://metacpan.org/author/KENTNL