在i386 / debian Docker映像上安装libboost-all-dev时未满足的依赖关系

时间:2018-08-20 03:13:44

标签: docker ubuntu debian apt

我想为Linux i386目标构建一个构建环境。我需要安装库依赖项,例如boost。但是我遇到了这个错误:

Dockerfile

FROM i386/debian:sid
RUN apt-get update
RUN apt-get -y install libboost1.67-all-dev

但是,即使这个简单的脚本也失败了:

The following packages have unmet dependencies:
 libboost1.67-all-dev : Depends: libboost-mpi1.67-dev but it is not going to be installed
                        Depends: libboost-mpi-python1.67-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

1 个答案:

答案 0 :(得分:0)

我更改为libboost1.67-dev并成功了。我不确定有什么区别。如果有人知道,请向我解释。