[Bug 1476656] Re: package nginx-core 1.6.2-5ubuntu3.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Thomas Ward
teward at trekweb.org
Tue Jul 21 14:04:17 UTC 2015
Hello, and thanks for filing this! However, this is not really a bug,
and more a conflict of port binding.
Judging from your DpkgHistoryLog, you installed Apache some time before
installing nginx. You cannot run Apache in a default configuration and
Nginx in a default configuration simultaneously, and if you intend to
change that going forward, just run `sudo service apache2 stop` and
disable the Apache web server. Then run `sudo apt-get install -f` to
finish the installation process for nginx, as it will then be able to
start on Port 80, and you can stop nginx and configure it to listen
differently from there.
This is ultimately a conflict in the 'default, just-works' configuration
of both Apache and Nginx, and isn't fixable in a standard setup due to
trying to make both packages 'just work' on their own upon their
installation.
** Changed in: nginx (Ubuntu)
Status: New => Invalid
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nginx in Ubuntu.
https://bugs.launchpad.net/bugs/1476656
Title:
package nginx-core 1.6.2-5ubuntu3.1 failed to install/upgrade:
subprocess installed post-installation script returned error exit
status 1
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nginx/+bug/1476656/+subscriptions
More information about the Ubuntu-server-bugs
mailing list