簡體   English   中英

無法為 Apache 2.4 安裝 libapache2-mod-passenger?

[英]Can't install libapache2-mod-passenger for Apache 2.4?

我目前正在使用https://www.phusionpassenger.com/library/walkthroughs/deploy/ruby/ownserver/apache/oss/trusty/install_passenger.html在運行 Apache 2.4.16 的 Ubuntu 12.04 上安裝 Passenger。

# sudo apt-get install -y libapache2-mod-passenger
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:
 libapache2-mod-passenger : Depends: apache2-mpm-worker (>= 2.2.9-9) but it is not going to be installed or
                                     apache2-mpm-prefork (>= 2.2.9-9) but it is not going to be installed or
                                     apache2-mpm-itk (>= 2.2.9-9) but it is not going to be installed or
                                     apache2-mpm-event (>= 2.2.9-9) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

您需要解決此依賴關系。

libapache2-mod-passenger : Depends on: apache2-mpm-worker (>= 2.2.9-9) but it is not going to be installed or
                                           apache2-mpm-prefork (>= 2.2.9-9) but it is not going to be installed or
                                           apache2-mpm-itk (>= 2.2.9-9) sbut it is not going to be installed or
                                           apache2-mpm-event (>= 2.2.9-9) but it is not going to be installed or

試試這個。 它可能會起作用。 同樣在解決這些依賴項之后,再次開始安裝過程。

sudo apt-get install apache2-mpm-worker libapache2-mod-fcgid php5-cgi

我通過使用不同的存儲庫讓它工作:

http://packages.ubuntu.com/trusty/web/libapache2-mod-passenger

這個兼容 Apache 2.4.16

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM