【问题标题】:How to install "not installable" dependancies?如何安装“不可安装”的依赖项?
【发布时间】:2018-09-11 21:00:23
【问题描述】:

我正在尝试在 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),但错误仍然存​​在。我对这类事情有点菜鸟。反正有喜欢手动安装依赖吗? (来自下载的文件?)或者有什么解决方法吗?

非常感谢!

【问题讨论】:

  • 这可能更有可能在Ask Ubuntu得到一个好的答案

标签: ubuntu package apt codelite ubuntu-17.10


【解决方案1】:

试试下面的

sudo apt install aptitude    
sudo aptitude install codelite wxcrafter

【讨论】:

    【解决方案2】:

    通过运行命令sudo apt-get -f install 它解决了我的问题。 -f 意思是 --fix-broken。

    【讨论】:

      猜你喜欢
      • 2015-04-01
      • 2016-03-14
      • 2016-07-29
      • 2020-05-28
      • 2020-07-04
      • 2021-10-15
      • 2019-01-24
      • 2018-09-27
      • 1970-01-01
      相关资源
      最近更新 更多