Setting up nginx-common (1.10.1-3+xenial1) ... dpkg: error processing package nginx-common (--configure): subprocess installed post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of libnginx-mod-http-auth-pam: libnginx-mod-http-auth-pam depends on nginx-common (= 1.10.1-3+xenial1); however: Package nginx-common is not configured yet. dpkg: error processing package libnginx-mod-http-auth-pam (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of libnginx-mod-http-echo: libnginx-mod-http-echo depends on nginx-common (= 1.10.1-3+xenial1); however: Package nginx-common is not configured yet. dpkg: error processing package libnginx-mod-http-echo (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of libnginx-mod-http-geoip: libnginx-mod-http-geoip depends on nginx-common (= 1.10.1-3+xenial1); however: Package nginx-common is not configured yet. dpkg: error processing package libnginx-mod-http-geoip (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration oNo apport report written because the error message indicates it's a follow-up error from a previous failure. No apport report written because the error message indicates it's a follow-up error from a previous failure. No apport report written because MaxReports has already been reached No apport report written because MaxReports has already been reached No apport report written because MaxReports has already been reached No apport report written because MaxReports has already been reached No apport report written because MaxReports has already been reached No apport report written because MaxReports has already been reached No apport report written because MaxReports has already been reached No apport report written because MaxReports has already been reached f libnginx-mod-http-image-filter: libnginx-mod-http-image-filter depends on nginx-common (= 1.10.1-3+xenial1); however: Package nginx-common is not configured yet. dpkg: error processing package libnginx-mod-http-image-filter (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of libnginx-mod-http-subs-filter: libnginx-mod-http-subs-filter depends on nginx-common (= 1.10.1-3+xenial1); however: Package nginx-common is not configured yet. dpkg: error processing package libnginx-mod-http-subs-filter (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of libnginx-mod-http-upstream-fair: libnginx-mod-http-upstream-fair depends on nginx-common (= 1.10.1-3+xenial1); however: Package nginx-common is not configured yet. dpkg: error processing package libnginx-mod-http-upstream-fair (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuNo apport report written because MaxReports has already been reached ration of libnginx-mod-http-xslt-filter: libnginx-mod-http-xslt-filter depends on nginx-common (= 1.10.1-3+xenial1); however: Package nginx-common is not configured yet. dpkg: error processing package libnginx-mod-http-xslt-filter (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of libnginx-mod-mail: libnginx-mod-mail depends on nginx-common (= 1.10.1-3+xenial1); however: Package nginx-common is not configured yet. dpkg: error processing package libnginx-mod-mail (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of libnginx-mod-stream: libnginx-mod-stream depends on nginx-common (= 1.10.1-3+xenial1); however: Package nginx-common is not configured yet. dpkg: error processing package libnginx-mod-stream (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of nginx-full: nginx-full depends on libnginx-mod-http-auth-pam (= 1.10.1-3+xenial1); however: Package libnginx-mod-http-auth-pam is not configured yet. nginx-full depends on libnginx-mod-http-echo (= 1.10.1-3+xenial1); however: Package libnginx-mod-http-echo is not configured yet. nginx-full depends on libnginx-mod-http-geoip (= 1.10.1-3+xenial1); however: Package libnginx-mod-http-geoip is not configured yet. nginx-full depends on libnginx-mod-http-image-filter (= 1.10.1-3+xenial1); however: Package libnginx-mod-http-image-filter is not configured yet. nginx-full depends on libnginx-mod-http-subs-filter (= 1.10.1-3+xenial1); however: Package libnginx-mod-http-subs-filter is not configured yet. nginx-full depends on libnginx-mod-http-upstream-fair (= 1.10.1-3+xenial1); however: Package libnginx-mod-http-upstream-fair is not configured yet. nginx-full depends on libnginx-mod-http-xslt-filter (= 1.10.1-3+xenial1); however: Package libnginx-mod-htt dpkg: error processing package nginx-full (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of nginx: nginx depends on nginx-full (<< 1.10.1-3+xenial1.1~) | nginx-light (<< 1.10.1-3+xenial1.1~) | nginx-extras (<< 1.10.1-3+xenial1.1~); however: Package nginx-full is not configured yet. Package nginx-light is not installed. Package nginx-extras is not installed. nginx depends on nginx-full (>= 1.10.1-3+xenial1) | nginx-light (>= 1.10.1-3+xenial1) | nginx-extras (>= 1.10.1-3+xenial1); however: Package nginx-full is not configured yet. Package nginx-light is not installed. Package nginx-extras is not installed. dpkg: error processing package nginx (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: nginx-common libnginx-mod-http-auth-pam libnginx-mod-http-echo libnginx-mod-http-geoip libnginx-mod-http-image-filter libnginx-mod-http-subs-filter libnginx-mod-http-upstream-fair libnginx-mod-http-xslt-filter libnginx-mod-mail libnginx-mod-stream nginx-full nginx E: Sub-process /usr/bin/dpkg returned an error code (1)