Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm trying to install lighttpd. When running sudo apt-get -f install , I'm getting this error :

~/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).

I'm using : Ubuntu 10.04.4 LTS
Is there any way to fix this ?

share|improve this question

1 Answer 1

up vote 3 down vote accepted

Do what it suggested you do: Try 'apt-get -f install' with no packages.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.