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 to "2.02~beta2-3".
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. https://bugs.launchpad.net/bugs/1747619 Title: 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: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1747619/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntufirstname.lastname@example.org Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs