2

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

非常感谢!

4

2 回答 2

2

尝试以下

sudo apt install aptitude    
sudo aptitude install codelite wxcrafter
于 2018-05-28T22:15:42.027 回答
1

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

于 2020-12-06T10:13:19.430 回答