我正在尝试在 Ubuntu Artful (17.10) 上安装 Codelite。我发现这个问题在网上很常见,但我还没有找到解决办法。基本上当我跑步时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.
现在我尝试手动安装依赖项的 Artful 版本(例如https://packages.ubuntu.com/artful/libclang1-3.9 https://packages.ubuntu.com/artful/libclang1-3.9)但错误仍然存在。我对这类事情有点菜鸟。无论如何,是否需要手动安装依赖项? (来自下载的文件?)或者有什么解决办法吗?
非常感谢!
通过运行命令sudo apt-get -f install
它解决了我的问题。-f意思是——修复损坏。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)