【发布时间】:2015-03-10 07:55:48
【问题描述】:
有人知道为什么我在“sudo apt-get install libboost-all-dev”之后得到以下信息:
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libboost-all-dev : Depends: libboost-context-dev but it is not going to be installed
Depends: libboost-coroutine-dev but it is not going to be installed
Depends: libboost-exception-dev but it is not going to be installed
Depends: libboost-graph-dev but it is not going to be installed
Depends: libboost-graph-parallel-dev but it is not going to be installed
Depends: libboost-locale-dev but it is not going to be installed
Depends: libboost-log-dev but it is not going to be installed
Depends: libboost-math-dev but it is not going to be installed
Depends: libboost-mpi-dev but it is not going to be installed
Depends: libboost-mpi-python-dev but it is not going to be installed
Depends: libboost-random-dev but it is not going to be installed
Depends: libboost-signals-dev but it is not going to be installed
Depends: libboost-timer-dev but it is not going to be installed
Depends: libboost-wave-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
我能做些什么来改变它?
【问题讨论】:
-
在这种情况下,首先尝试安装依赖项。这将显示一个更详细的问题。
-
尝试使用 sudo apt-get install -f
-
尝试安装依赖后的响应:以下包有未满足的依赖: libboost-context1.54-dev : Depends: libboost1.54-dev (= 1.54.0-4ubuntu3) but 1.54. 0-4ubuntu3.1要安装
-
sudo apt-get install -f -> 不工作
标签: linux boost embedded-linux ubuntu-14.04