卸载 Ubuntu 13.10 codeblocks 时遇到问题

卸载 Ubuntu 13.10 codeblocks 时遇到问题

我尝试安装 codeblocks IDE,但实际上由于出现一些问题而中途终止,之后我无法安装任何其他软件(如 flash player),系统也无法卸载它,请参考下面的消息正在读取状态信息...完成

libwxgtk2.8-0 is already the newest version.
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 codeblocks-contrib : Depends: libgamin0 but it is not going to be installed
                      Depends: libhunspell-1.2-0 (>= 1.2.11) but it is not installable
                      Depends: libwxsmithlib0 (= 12.11-1) but 12.11-3 is to be installed
                      Depends: codeblocks (= 12.11-1) but 12.11-3 is to be installed
                      Recommends: valgrind but it is not going to be installed
                      Recommends: cppcheck but it is not going to be installed
                      Recommends: cscope but it is not going to be installed
                      Recommends: cccc but it is not going to be installed
 libwxsmithlib0 : Depends: libcodeblocks0 (= 12.11-3) but 12.11-1 is to be installed
                  Recommends: codeblocks-contrib (= 12.11-3) but 12.11-1 is to be installed
 libwxsmithlib0-dev : Depends: libwxsmithlib-dev (= 12.11-3) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

答案1

根据错误提示,在终端上尝试以下命令,

sudo apt-get -f install

之后您可以安装任何软件。

相关内容