【发布时间】:2015-04-11 20:18:20
【问题描述】:
正在阅读包裹清单...完成
构建依赖树
读取状态信息...完成
某些软件包无法安装。这可能意味着您有
请求不可能的情况,或者如果您使用的是不稳定的
一些必需的包尚未创建的分发
或被移出 Incoming。
以下信息可能有助于解决这种情况:
The following packages have unmet dependencies:
libopencv-dev : Depends: libopencv-objdetect-dev (= 2.4.8+dfsg1-2ubuntu1) but it is not going to be installed
Depends: libopencv-highgui-dev (= 2.4.8+dfsg1-2ubuntu1) but it is not going to be installed
Depends: libopencv-legacy-dev (= 2.4.8+dfsg1-2ubuntu1) but it is not going to be installed
Depends: libopencv-contrib-dev (= 2.4.8+dfsg1-2ubuntu1) but it is not going to be installed
Depends: libopencv-videostab-dev (= 2.4.8+dfsg1-2ubuntu1) but it is not going to be installed
Depends: libopencv-superres-dev (= 2.4.8+dfsg1-2ubuntu1) but it is not going to be installed
Depends: libopencv-ocl-dev (= 2.4.8+dfsg1-2ubuntu1) but it is not going to be installed
Depends: libcv-dev (= 2.4.8+dfsg1-2ubuntu1) but it is not going to be installed
Depends: libhighgui-dev (= 2.4.8+dfsg1-2ubuntu1) but it is not going to be installed
Depends: libcvaux-dev (= 2.4.8+dfsg1-2ubuntu1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
另外,我使用了“aptitude install libopencv-dev”,但它不起作用。所以我不知道如何完成这个问题。
【问题讨论】:
-
那些库看起来也很过时(cv,cvaux 是 opencv1.0 的东西,而不是 2.4.x)。最好从 github (2.4.11) 获取 src 并编译它。