Reputation: 389
So it looks like that I have some problems installing the recent passenger with official nginx packages. According to Passenger's official document here:
http://www.modrails.com/documentation/Users%20guide%20Nginx.html#install_add_apt_repo
I have done everything it tells from 2.3.1. My system is Ubuntu 13.10 and is currently installed the passenger Nginx via gem. Now I wish to change the service to using the official packages since I believe it does have better integration support, also along with better support with logrotate. So when I have executed the main command of installation:
sudo apt-get install nginx-extras passenger
It spits error showing this:
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.
nginx-extras : Depends: perl (>= 5.14.2-21+deb7u1) but 5.14.2-21build1 is to be installed
Depends: libgd2-noxpm (>= 2.0.36~rc1~dfsg) but it is not installable or
libgd2-xpm (>= 2.0.36~rc1~dfsg) but it is not installable
Recommends: passenger (< 4.0.34) but 1:4.0.33-1~wheezy1 is to be installed
E: Unable to correct problems, you have held broken packages.
I wonder why and how the dependency check is so strict to this degree. As it says I need packages for Debian but I am on Ubuntu so it is natural that the package names are slightly different. Can anyone make any solutions for this? Thanks very much.
Also, there is a side question: if this is successful, does Nginx automatically support IPv6?
Upvotes: 1
Views: 2598
Reputation: 18944
In 2.3.1 step 3, did you add the Ubuntu 13.10 APT repo, and not the Debian 6/7 APT repo? How does your /etc/apt/sources.list.d/passenger.list look like?
Upvotes: 4