我正在尝试在Ubuntu Artful上安装Codelite(17.10(。我已经看到这个问题非常普遍,但我没有找到解决方案。基本上,当我运行sudo apt-get install codelite wxcrafter
时,我会得到这些未满足的依赖关系
Reading package lists... Done
Building dependency tree
Reading state information... Done
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:
codelite : Depends: libclang1-3.6 (>= 3.2) but it is not installable
Depends: libhunspell-1.3-0 (>= 1.3.3) but it is not installable
Depends: liblldb-3.6 but it is not installable
Recommends: lldb (>= 3.4) but it is not going to be installed
Recommends: nodejs but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
现在,我尝试手动安装依赖项的精巧版本(例如https://packages.ubuntu.com/artful/libclang1-3.9(,但错误仍然存在。我有点菜鸟。无论如何,是否可以手动安装依赖性?(来自下载的文件?(还是有什么样的修复程序?
非常感谢!
通过运行命令sudo apt-get -f install
,它可以解决我的问题。 -f 均值-fix-Broken。
尝试以下
sudo apt install aptitude
sudo aptitude install codelite wxcrafter