Having this error trying to install Nginx on Debian Linux 8?
dpkg: error processing package nginx (–configure):
dependency problems – leaving unconfigured
Errors were encountered while processing:
nginx-full
nginx
E: Sub-process /usr/bin/dpkg returned an error code (1)
This is a known behaviour if you have Apache or another Web server installed and running. The problem is caused by another daemon or service listening on port tcp-80.
Either uninstall the other service or stop it to allow Nginx installation. Then adjust your configuration accordingly.