Ruby

無法為 Apache 安裝Passenger

  • June 7, 2012

要設置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

沒有幫助。

通過添加添加 maverick-security 儲存庫

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

在 Synaptic 包管理器中,然後 sudo apt-get update 也沒有幫助。

我必須安裝最新版本的 Ubuntu。

引用自:https://serverfault.com/questions/371943