codelite 依赖项的链接和安装

codelite 依赖项的链接和安装

我知道您可能想将此标记为“重复”,但事实并非如此。类似问题的所有答案要么过时,要么实际上没有包括依赖项安装。dist-upgrade也没有帮助。

sudo apt-get install codelite wxcrafter

出现以下错误:

    The following packages have unmet dependencies:
 codelite : Depends: libglib2.0-0 (>= 2.41.1) but 2.40.2-0ubuntu1 is to be installed
            Depends: libhunspell-1.3-0 (>= 1.3.3) but 1.3.2-6ubuntu2 is to be installed
            Depends: xterm
            Depends: libedit-dev but it is not going to be installed
 libjbig0 : Breaks: libjbig0:i386 (!= 2.0-2ubuntu4.1) but 2.0-2ubuntu1 is to be installed
 libjbig0:i386 : Breaks: libjbig0 (!= 2.0-2ubuntu1) but 2.0-2ubuntu4.1 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

我正在寻找依赖项的链接或任何其他解决方案。谢谢

编辑:

我尝试了一下sudo apt-get -f install,它报告了一些损坏的包(libjbig0libjbig0:i386),所以我强制删除了它们,现在

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: libglib2.0-0 (>= 2.41.1) but 2.40.2-0ubuntu1 is to be installed
            Depends: libhunspell-1.3-0 (>= 1.3.3) but 1.3.2-6ubuntu2 is to be installed
E: Unable to correct problems, you have held broken packages.

我尝试寻找那些“破损的包裹”,但没有成功。

sudo apt-get -f install

给我:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

“0 未升级”——看起来不错,对吧?

答案1

我需要添加trusty存储库而不是utopic一个。
要安装 codelite,请按照codelite 官方安装页面
除了:
sudo apt-add-repository 'deb http://repos.codelite.org/ubuntu/ trusty universe'

运行这个:
sudo apt-add-repository 'deb http://repos.codelite.org/ubuntu/ utopic universe'

相关内容