Ubuntu 16.04:无法安装 libclang 6

Ubuntu 16.04:无法安装 libclang 6

我目前正在尝试安装 doxygen,它有一个未满足的依赖项 libclang.so.6。我跟着这些说明用于安装此包,但它有自己的依赖项。

The following packages have unmet dependencies:
clang-6.0 : Depends: libjsoncpp1 (>= 1.7.4) but 1.7.2-1 is to be installed
         Depends: libstdc++-7-dev but it is not installable
         Depends: libgcc-7-dev but it is not installable
         Depends: libobjc-7-dev but it is not installable
         Depends: libclang-common-6.0-dev (= 1:6.0.1~svn331815-1~exp1~20180509123840.80) but 1:6.0.1~svn331722-1~exp1~20180508135726.78 is to be installed
         Depends: libclang1-6.0 (= 1:6.0.1~svn331815-1~exp1~20180509123840.80) but 1:6.0.1~svn331722-1~exp1~20180508135726.78 is to be installed
E: Unable to correct problems, you have held broken packages.

我尝试使用 apt-get 和 synaptic 安装这些依赖项,但它们要么不可用,要么没有正确的版本。我如何找到并安装每个依赖项的正确版本?

答案1

我刚刚升级到 18.04 并且它可以正常工作。

相关内容