Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to install lighttpd on my (virtual) Debian 6.0.4 64 bit system but after trying to use this command :

sudo apt-get install lighttpd

I get this error :

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:
 lighttpd : Depends: libterm-readline-perl-perl but it is not installable
            Recommends: spawn-fcgi but it is not installable
E: Broken packages

Anyone encountered the this problem already ? Any solutions ?

share|improve this question
Are you using only the offical repositories? Have you ran apt-get update recently? – Zoredache Feb 10 '12 at 23:29
@Zoredache I have ran apt-get update but nothing is updated. Should I add something to sources.list manually ? After installation I have only this in my sources.list – Patryk Feb 10 '12 at 23:34
up vote 0 down vote accepted

OK I have figured this out.

I had to manually add repositories to sources.list

For instnace : deb squeeze main

and manually install libterm-readline-perl-perl with the use of wget and dpkg

This is the link where you can download libterm-readline-perl-perl

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .