tacogs@Experimental:~$ sudo apt-get install nginx
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
nginx-common nginx-core
Suggested packages:
fcgiwrap nginx-doc
The following NEW packages will be installed:
nginx nginx-common nginx-core
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/412 kB of archives.
After this operation, 1,300 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Selecting previously unselected package nginx-common.
(Reading database ... 153520 files and directories currently installed.)
Preparing to unpack .../nginx-common_1.9.3-1ubuntu1.1_all.deb ...
Unpacking nginx-common (1.9.3-1ubuntu1.1) ...
Selecting previously unselected package nginx-core.
Preparing to unpack .../nginx-core_1.9.3-1ubuntu1.1_amd64.deb ...
Unpacking nginx-core (1.9.3-1ubuntu1.1) ...
Selecting previously unselected package nginx.
Preparing to unpack .../nginx_1.9.3-1ubuntu1.1_all.deb ...
Unpacking nginx (1.9.3-1ubuntu1.1) ...
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for systemd (225-1ubuntu9) ...
Processing triggers for ufw (0.34-2) ...
Setting up nginx-common (1.9.3-1ubuntu1.1) ...
Processing triggers for ufw (0.34-2) ...
Setting up nginx-core (1.9.3-1ubuntu1.1) ...
Job for nginx.service failed because the control process exited with error code. See "systemctl status nginx.service" and "journalctl -xe" for details.
invoke-rc.d: initscript nginx, action "start" failed.
dpkg: error processing package nginx-core (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of nginx:
nginx depends on nginx-core (>= 1.9.3-1ubuntu1.1) | nginx-full (>= 1.9.3-1ubuntu1.1) | nginx-light (>= 1.9.3-1ubuntu1.1) | nginx-extras (>= 1.9.3-1ubuntu1.1); however:
Package nginx-core is not configured yet.
Package nginx-full is not installed.
Package nginx-light is not installed.
Package nginx-extras is not installed.
nginx depends on nginx-core (<< 1.9.3-1ubuntu1.1.1~) | nginx-full (<< 1.9.3-1ubuntu1.1.1~) | nginx-light (<< 1.9.3-1ubuntu1.1.1~) | nginx-extras (<< 1.9.3-1ubuntu1.1.1~); however:
Package nginx-core is not configured yet.
Package nginx-full is not installed.
Package nginx-light is not installed.
Package nginx-extras is not installed.
dpkg: error processing package nginx (--configure):
dependency problems - leaving unconfigured
Processing triggers for ureadahead (0.100.No apport report written because the error message indicates its a followup error from a previous failure.
0-19) ...
Processing triggers for systemd (225-1ubuntu9) ...
Errors were encountered while processing:
nginx-core
nginx
E: Sub-process /usr/bin/dpkg returned an error code (1)