我正在尝试安装 lighttpd。运行时 sudo apt-get -f install
,出现此错误:
~/dev/downlaod$ sudo apt-get -f install lighttpd
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
codeblocks-contrib: Depends: libwxsmithlib0 (= 10.05-1) but 10.05svn8059-0ubuntu1~lucid is to be installed
Depends: codeblocks-contrib-common (= 10.05-1) but 10.05svn8059-0ubuntu1~lucid is to be installed
Depends: codeblocks (= 10.05-1) but 10.05svn8059-0ubuntu1~lucid is to be installed
codeblocks-contrib-common: Breaks: codeblocks-contrib (< 10.05svn8059-0ubuntu1~lucid) but 10.05-1 is to be installed
lighttpd: Depends: libterm-readline-perl-perl but it is not going to be installed
Recommends: spawn-fcgi but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
我正在使用:Ubuntu 10.04.4 LTS
有什么办法可以解决这个问题吗?
答案1
按照它的建议去做:Try 'apt-get -f install' with no packages
。