Ubuntu:apt-get -f install lighttpd 未安裝

Ubuntu:apt-get -f install lighttpd 未安裝

我正在嘗試安裝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

相關內容