Im trying to follow this guide
https://www.digitalocean.com/community/tutorials/how-to-deploy-a-rails-app-with-passenger-and-nginx-on-ubuntu-14-04
When I want to continue with the tutorial after running this command:
sudo apt-get install nginx-extras passenger
I get this error:
Reading package lists... Done Building dependency tree Reading state information... Done passenger is already the newest version. 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: nginx-extras : Depends: perlapi-5.18.2 but it is not installable Depends: libperl5.18 (>= 5.18.2) but it is not installable Recommends: passenger (< 4.0.60) but 1:4.0.59-1~trusty1 is to be installed E: Unable to correct problems, you have held broken packages.
I think that I can't install nginx-extras, Somebody can help me please?
I had the same problem on Ubuntu 14.10
sudo nano /etc/apt/sources.list.d/passenger.list
comment outdeb https://oss-binaries.phusionpassenger.com/apt/passenger trusty main
ctrl+x
Y
enter
sudo apt-get update sudo apt-get install nginx nginx-extras
then if ok
sudo nano /etc/apt/sources.list.d/passenger.list
insertdeb https://oss-binaries.phusionpassenger.com/apt/passenger wheezy main
ctrl+x
Y
enter
sudo apt-get update sudo apt-get install passenger
Voila !
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With