我目前正在使用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.
答案 0 :(得分:0)
您需要解决此依赖关系。
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
答案 1 :(得分:0)