Thanks. Time to add some debugging options. As root, edit the file /var/lib/dpkg/info/grub-pc.postinst and add this just below the existing "set -e" line:
set -x The top of the file should look like this: #!/bin/bash set -e set -x merge_debconf_into_conf() (...remaining bits of the file ...) Then save it, and run: sudo dpkg-reconfigure grub-pc It might make some prompts. I suggest to accept defaults, but please take a close look at what it is suggesting. At some point in this run, I expect it to exit with the same status code of "10" that this bug is about. I hope that by then your screen will have a lot of debugging information and that you can attach it to this bug so we can figure out what is going on. -- 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 Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs