Re: mk-build-deps cannot install particular version of Build-Depends packages
On 2016-08-26 13:15, Andrey Rahmatullin wrote:
On Fri, Aug 26, 2016 at 11:06:25AM +0800, Paul Wise wrote:
I don't think that apt should step outside the configured priorities
without instruction from the user. Since apt doesn't currently
interact with the user (but aptitude does), it can only print an
error. That error could be improved with info about alternative
solutions to try that are outside the configured priorities, using the
-t suite and somepkg/suite syntax.
That said, in this case the solution is within the configured
priorities so apt could do better.
I still miss why a (= x.y) dep cannot by solved in these circumstances.
It would at the very least be a modification to the way apt's solver has
"always" worked, as per apt_preferences(5), so one would need to be
careful when trying to change it.
APT then applies the following rules, listed in order of
determine which version of a package to install.
· If two or more versions have the same priority, install the
recent one (that is, the one with the higher version number).