Estou tentando instalar / atualizar coisas (php7.0-soap, por exemplo), mas esta mensagem continua aparecendo.
The following packages have unmet dependencies:
libnginx-mod-http-auth-pam : Depends: nginx-common (= 1.10.1-3+xenial2) but 1.10.1-0+xenial0 is to be installed
libnginx-mod-http-echo : Depends: nginx-common (= 1.10.1-3+xenial2) but 1.10.1-0+xenial0 is to be installed
libnginx-mod-http-geoip : Depends: nginx-common (= 1.10.1-3+xenial2) but 1.10.1-0+xenial0 is to be installed
libnginx-mod-http-image-filter : Depends: nginx-common (= 1.10.1-3+xenial2) but 1.10.1-0+xenial0 is to be installed
libnginx-mod-http-subs-filter : Depends: nginx-common (= 1.10.1-3+xenial2) but 1.10.1-0+xenial0 is to be installed
libnginx-mod-http-upstream-fair : Depends: nginx-common (= 1.10.1-3+xenial2) but 1.10.1-0+xenial0 is to be installed
libnginx-mod-http-xslt-filter : Depends: nginx-common (= 1.10.1-3+xenial2) but 1.10.1-0+xenial0 is to be installed
libnginx-mod-mail : Depends: nginx-common (= 1.10.1-3+xenial2) but 1.10.1-0+xenial0 is to be installed
libnginx-mod-stream : Depends: nginx-common (= 1.10.1-3+xenial2) but 1.10.1-0+xenial0 is to be installed
apt-update também é bloqueado por este. Por enquanto eu realmente preciso de sabão, no futuro, talvez mais coisas. Existe uma maneira de corrigir isso sem (ou com o mínimo) impacto no servidor nginx em execução, que geralmente está atendendo a 300 a 600 usuários por vez.
Estamos usando: Ubuntu 16.04.1 LTS
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.1 LTS
Release: 16.04
Codename: xenial
ATUALIZAÇÃO em 1º de janeiro de 2017:
Usar -f em "apt-get dist-upgrade" ou "apt-get install" como sugerido por @Thomas Ward fez algum progresso. Mas eu estou preso em:
Unpacking nginx-common (1.10.1-3+xenial2) over (1.10.1-0+xenial0) ...
dpkg: error processing archive /var/cache/apt/archives/nginx-common_1.10.1-3+xen ial2_all.deb (--unpack):
trying to overwrite '/etc/logrotate.d/nginx', which is also in package nginx 1. 11.3-1~xenial
Preparing to unpack .../nginx-full_1.10.1-3+xenial2_amd64.deb ...
Unpacking nginx-full (1.10.1-3+xenial2) over (1.10.1-0+xenial0) ...
dpkg: error processing archive /var/cache/apt/archives/nginx-full_1.10.1-3+xenia l2_amd64.deb (--unpack):
trying to overwrite '/usr/sbin/nginx', which is also in package nginx 1.11.3-1~ xenial
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Preparing to unpack .../init-system-helpers_1.29ubuntu4_all.deb ...
Unpacking init-system-helpers (1.29ubuntu4) over (1.29ubuntu3) ...
Processing triggers for man-db (2.7.5-1) ...
Errors were encountered while processing:
/var/cache/apt/archives/nginx-common_1.10.1-3+xenial2_all.deb
/var/cache/apt/archives/nginx-full_1.10.1-3+xenial2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Eu entendo o que está dizendo, mas não tenho ideia do que fazer ..