[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: mk-build-deps cannot install particular version of Build-Depends packages



On 2016-08-25 10:44, Исаев Виталий wrote:
Build-Depends: debhelper (>= 9), cmake,
    flatbuffers (= 1.2.0-1),

This has nothing to do with mk-build-deps. Given this:

 ➜ apt-cache policy flatbuffers
flatbuffers:
Installed: (none)
Candidate: 1.4.0-17
Version table:
1.4.0-17 500
500 http://repo12.mailbuild-2.embarce.ro xenial/local amd64 Packages
1.2.0-1 500
500 http://repo12.mailbuild-2.embarce.ro xenial/local amd64 Packages

apt will prefer to install the latest available version, as listed in the candidate field, as demonstrated in:

Starting 2 pkgProblemResolver with broken count: 1
Investigating (0) libhole-cpp-build-deps [ amd64 ] < 1.0.1ubuntu1 > (
devel )
Broken libhole-cpp-build-deps:amd64 Depends on flatbuffers [ amd64 ] <
none -> 1.4.0-17 > ( devel ) (= 1.2.0-1)
  Considering flatbuffers:amd64 0 as a solution to
libhole-cpp-build-deps:amd64 -2
  Removing libhole-cpp-build-deps:amd64 rather than change
flatbuffers:amd64

Regards,

Adam


Reply to: