I’ve been trying to follow the tutorial to install nginx but am having trouble getting it to work. (Link to tutorial here: https://rtcamp.com/tutorials/linux/ubuntu-php-mysql-nginx-postfix/#installing-nginx )
It doesn’t seem to be installing. When I run apt-get install nginx-custom this is the output:
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-custom : Depends: nginx-common (= 1.4.1-0ppa~precise) but 1.4.7-1+precise0 is to be installed E: Unable to correct problems, you have held broken packages.
I had a different version of nginx installed previously, but wanted to use the version that was recommended in the tutorial so I could follow along easier. I fear I may have broken something when I tried to install the different distribution.
When I enter nginx -v to try and see what version (if any) I have installed, this is the output:
The program 'nginx' can be found in the following packages: * nginx-extras * nginx-full * nginx-light * nginx-naxsi Try: sudo apt-get install
Any help you can provide would be appreciated.