Three seemingly unrelated packages failed their postinsts:
(...)
A processar 'triggers' para man-db (2.7.5-1) ...
Configurando grub-pc (2.02~beta2-36ubuntu3.12) ...
dpkg: erro ao processar o pacote grub-pc (--configure):
sub-processo script post-installation instalado retornou estado de saída de erro 10
Configurando samba-common (2:4.3.11+dfsg-0ubuntu0.16.04.9) ...
dpkg: erro ao processar o pacote samba-common (--configure):
sub-processo script post-installation instalado retornou estado de saída de erro 10
Configurando php7.0-common (7.0.18-0ubuntu0.16.04.1) ...
dpkg: erro ao processar o pacote php7.0-common (--configure):
sub-processo script post-installation instalado retornou estado de saída de erro 10
The logs have no further information about what could have happened. Normally I would suspect disk space in a case like this, but the attached df output shows there is enough space.
I'm sorry but I have no further ideas, other than trying to install it again. So please try:
Three seemingly unrelated packages failed their postinsts: 36ubuntu3. 12) ... 11+dfsg- 0ubuntu0. 16.04.9) ... 0ubuntu0. 16.04.1) ...
(...)
A processar 'triggers' para man-db (2.7.5-1) ...
Configurando grub-pc (2.02~beta2-
dpkg: erro ao processar o pacote grub-pc (--configure):
sub-processo script post-installation instalado retornou estado de saída de erro 10
Configurando samba-common (2:4.3.
dpkg: erro ao processar o pacote samba-common (--configure):
sub-processo script post-installation instalado retornou estado de saída de erro 10
Configurando php7.0-common (7.0.18-
dpkg: erro ao processar o pacote php7.0-common (--configure):
sub-processo script post-installation instalado retornou estado de saída de erro 10
The logs have no further information about what could have happened. Normally I would suspect disk space in a case like this, but the attached df output shows there is enough space.
I'm sorry but I have no further ideas, other than trying to install it again. So please try:
sudo apt update
sudo apt install --reinstall grub-pc samba-common php7.0-common
And let us know how it goes.
Thanks