I think that means it couldn't find the exact same package to reinstall.
I'm sorry but the dpkg -l command I gave you truncated its output, so I
don't know the full version of your grub-pc package. It only showed up
Please do this instead:
apt-cache policy grub-pc
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in Ubuntu.
package samba-common 2:4.3.11+dfsg-0ubuntu0.16.04.12 failed to
install/upgrade: subprocess installed post-installation script
returned error exit status 10
To manage notifications about this bug go to:
Ubuntu-server-bugs mailing list
Modify settings or unsubscribe at: