Preparing to unpack .../nginx-common_1.10.0-0ubuntu0.16.04.4_all.deb ... Unpacking nginx-common (1.10.0-0ubuntu0.16.04.4) ... Selecting previously unselected package nginx-core. Preparing to unpack .../nginx-core_1.10.0-0ubuntu0.16.04.4_amd64.deb ... Unpacking nginx-core (1.10.0-0ubuntu0.16.04.4) ... Selecting previously unselected package nginx. Preparing to unpack .../nginx_1.10.0-0ubuntu0.16.04.4_all.deb ... Unpacking nginx (1.10.0-0ubuntu0.16.04.4) ... Processing triggers for ufw (0.35-0ubuntu2) ... Processing triggers for ureadahead (0.100.0-19) ... ureadahead will be reprofiled on next reboot Processing triggers for systemd (229-4ubuntu12) ... Setting up nginx-common (1.10.0-0ubuntu0.16.04.4) ... Setting up nginx-core (1.10.0-0ubuntu0.16.04.4) ... 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.10.0-0ubuntu0.16.04.4) | nginx-full (>= 1.10.0-0ubuntu0.16.04.4) | nginx-light (>= 1.10.0-0ubuntu0.16.04.4) | nginx-extras (>= 1.10.0-0ubuntu0.16.04.4); 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.10.0-0ubuntu0.16.04.4.1~) | nginx-full (<< 1.10.0-0ubuntu0.16.04.4.1~) | nginx-light (<< 1.10.0-0ubuntu0.16.04.4.1~) | nginx-extras (<< 1.10.0-0ubuntu0.16.04.4.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