我正在尝试在 Xubuntu 13.10 上安装 Codelite(我认为),我不是 Linux 的“天才”,所以我在需要更新的依赖项方面遇到了麻烦。
我已经使用“设置”中的“软件更新程序”更新了系统。 我尝试了在互联网上找到的命令: sudo apt-get -f 安装 sudo apt-get -f sudo apt-get 更新 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:~$
建议?
最佳答案
有同样的问题。您需要更新到 14.10。它解决了依赖关系。我建议使用这个答案作为演练。 https://askubuntu.com/questions/541326/upgrade-xubuntu-from-14-04-to-14-10
关于linux - 更新Xubuntu依赖,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27666058/