更新依赖关系Xubuntu

时间:2014-12-27 09:41:35

标签: linux ubuntu dependencies

我试图在Xubuntu 13.10(我认为)上安装Codelite,我不是"天才" Linux的问题,所以我对那些需要更新的依赖项感到麻烦。

我已经使用"软件更新程序更新系统"在设置中。 我尝试了在互联网上找到的那些命令: sudo apt-get -f install sudo apt-get -f sudo apt-get update sudo sh -c" apt-get update; apt-get dist-upgrade; apt-get autoremove; apt-get autoclean" sudo dpkg --configure -a sudo apt-get install libgcc1

但是当我尝试安装它时总是一样:

user@xubuntu:~$ sudo apt-get install codelite
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
            Depends: libstdc++6 (>= 4.9) but 4.8.2-19ubuntu1 is to be installed
E: Unable to correct problems, you have held broken packages.
user@xubuntu:~$ 

建议?

1 个答案:

答案 0 :(得分:0)

有同样的问题。您需要更新到14.10。它解决了依赖关系。我建议使用这个答案作为一个步骤。 https://askubuntu.com/questions/541326/upgrade-xubuntu-from-14-04-to-14-10