无法为Apache安装Passenger

要设置Passenger,必须安装一些软件包,例如libcurl4-openssl-dev:

user@ubuntu:~$ sudo apt-get install libcurl4-openssl-dev 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: libcurl4-openssl-dev : Depends: libcurl3 (= 7.21.3-1ubuntu1) but 7.21.3-1ubuntu1.5 is to be installed Depends: libkrb5-dev but it is not going to be installed or hurd but it is not installable E: Broken packages 

该怎么办? 如果我尝试手动安装它们,则会显示自己未满足的依赖关系等。

 sudo apt-get update 

没有帮助。

通过添加添加特立独行的安全库

 deb http://security.ubuntu.com/ubuntu maverick-security main universe restricted multiverse 

在Synaptic Package Manager中,然后sudo apt-get update也没有帮助。

我不得不安装最新版本的Ubuntu。