How do I get rid of apt-get errors from a failed installation. apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt --fix-broken install' to correct these. The following packages have unmet dependencies: libnginx-mod-http-dav-ext : Depends: nginx-common (= 1.10.3-1+deb9u2) but it is not installed libnginx-mod-http-echo : Depends: nginx-common (= 1.10.3-1+deb9u2) but it is not installed libnginx-mod-http-geoip : Depends: nginx-common (= 1.10.3-1+deb9u2) but it is not installed libnginx-mod-http-image-filter : Depends: nginx-common (= 1.10.3-1+deb9u2) but it is not installed libnginx-mod-http-subs-filter : Depends: nginx-common (= 1.10.3-1+deb9u2) but it is not installed libnginx-mod-http-upstream-fair : Depends: nginx-common (= 1.10.3-1+deb9u2) but it is not installed libnginx-mod-http-xslt-filter : Depends: nginx-common (= 1.10.3-1+deb9u2) but it is not installed libnginx-mod-mail : Depends: nginx-common (= 1.10.3-1+deb9u2) but it is not installed libnginx-mod-stream : Depends: nginx-common (= 1.10.3-1+deb9u2) but it is not installed nginx-full : Depends: libnginx-mod-http-auth-pam (= 1.10.3-1+deb9u2) but it is not installed Depends: nginx-common (= 1.10.3-1+deb9u2) but it is not installed E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).