jan@jan-System-Product-Name:~$ sudo apt upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages were automatically installed and are no longer required: libgloox14 libwildmidi2 Use 'sudo apt autoremove' to remove them. The following packages have been kept back: 0ad gir1.2-javascriptcoregtk-3.0 gir1.2-webkit-3.0 gstreamer1.0-plugins-bad gstreamer1.0-plugins-bad-faad gstreamer1.0-plugins-bad-videoparsers libgstreamer-plugins-bad1.0-0 libjavascriptcoregtk-1.0-0 libjavascriptcoregtk-1.0-dev libjavascriptcoregtk-3.0-0 libjavascriptcoregtk-3.0-dev libopencv-calib3d2.4v5 libopencv-contrib2.4v5 libopencv-core2.4v5 libopencv-features2d2.4v5 libopencv-flann2.4v5 libopencv-imgproc2.4v5 libopencv-legacy2.4v5 libopencv-ml2.4v5 libopencv-objdetect2.4v5 libopencv-video2.4v5 libwebkitgtk-1.0-0 libwebkitgtk-3.0-0 libwebkitgtk-3.0-dev libwebkitgtk-dev 0 upgraded, 0 newly installed, 0 to remove and 25 not upgraded. 2 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Do you want to continue? [Y/n] y Setting up nginx-core (1.10.1-0ubuntu1) ... 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. ● nginx.service - A high performance web server and a reverse proxy server Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Sat 2016-12-17 09:09:22 SAST; 26ms ago Process: 23587 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=1/FAILURE) Dec 17 09:09:22 jan-System-Product-Name systemd[1]: Starting A high performan... Dec 17 09:09:22 jan-System-Product-Name nginx[23587]: nginx: [emerg] "listen"... Dec 17 09:09:22 jan-System-Product-Name nginx[23587]: nginx: configuration fi... Dec 17 09:09:22 jan-System-Product-Name systemd[1]: nginx.service: Control pr... Dec 17 09:09:22 jan-System-Product-Name systemd[1]: Failed to start A high pe... Dec 17 09:09:22 jan-System-Product-Name systemd[1]: nginx.service: Unit enter... Dec 17 09:09:22 jan-System-Product-Name systemd[1]: nginx.service: Failed wit... Hint: Some lines were ellipsized, use -l to show in full. 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.1-0ubuntu1) | nginx-full (>= 1.10.1-0ubuntu1) | nginx-light (>= 1.10.1-0ubuntu1) | nginx-extras (>= 1.10.1-0ubuntu1); 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.1-0ubuntu1.1~) | nginx-full (<< 1.10.1-0ubuntu1.1~) | nginx-light (<< 1.10.1-0ubuntu1.1~) | nginx-extras (<< 1.10.1-0ubuntu1.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 No apport report written because the error message indicates its a followup error from a previous failure. Errors were encountered while processing: nginx-core nginx E: Sub-process /usr/bin/dpkg returned an error code (1) jan@jan-System-Product-Name:~$ sudo apt autoremove Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be REMOVED: libgloox14 libwildmidi2 0 upgraded, 0 newly installed, 2 to remove and 25 not upgraded. 2 not fully installed or removed. After this operation, 1,411 kB disk space will be freed. Do you want to continue? [Y/n]