apt-get install lighttpd not working
Added by ayw almost 13 years ago
I'm a newbie.
I'm on a VPS running Ubuntu LTS 12.04 - the provider automatically installs Apache, PHP, MySql etc, but I tried with them removed as well as still there but still had the issue below.
I've tried a conundrum of things, all mainly shots in the dark.
Any help would be very much appreciated.
This is what I get:
sudo apt-get install lighttpd 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 going to be installed E: Unable to correct problems, you have held broken packages.
Replies (5)
RE: apt-get install lighttpd not working - Added by spaam almost 13 years ago
did you do a apt-get update first ?
RE: apt-get install lighttpd not working - Added by ayw almost 13 years ago
Yes I tried that without any joy. Thanks.
RE: apt-get install lighttpd not working - Added by ayw almost 13 years ago
ayw wrote:
Yes I tried that - no joy. Thanks.
RE: apt-get install lighttpd not working - Added by nitrox almost 13 years ago
aptitude update
aptitude -f install
aptitude install lighttpd (try again)
If it still fails, try "aptitude show ~ahold" to see what packages might be on hold and maybe prevent updates/installs of other packages. You can also use "perl -MCPAN -e shell" to install it, though you first should find out whats broken.
RE: apt-get install lighttpd not working - Added by ayw almost 13 years ago
Thanks nitrox, that did the trick. I owe you a drink. :)
Best wishes.