当我尝试在 debian squeeze 上安装 lighttpd 时,出现这样的信息:“无法安装某些软件包。”

当我尝试在 debian squeeze 上安装 lighttpd 时,出现这样的信息:“无法安装某些软件包。”

我正在尝试在我的(虚拟)Debian 6.0.4 64 位系统上安装 lighttpd,但在尝试使用此命令后:

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

有人遇到过这个问题吗?有解决办法吗?

答案1

好的,我已经明白了。

我必须手动添加存储库到sources.list

例如: deb http://ftp.de.debian.org/debian squeeze main

libterm-readline-perl-perl并使用wget和手动安装dpkg

这是链接你可以在哪里下载libterm-readline-perl-perl

相关内容