Setting up grub-pc (1.99-21ubuntu3.1) ...
dpkg: error processing grub-pc (--configure):
subprocess installed post-installation script returned error exit status 10
Setting up samba-common (2:3.6.3-2ubuntu2.2) ...
dpkg: error processing samba-common (--configure):
subprocess installed post-installation script returned error exit status 10
This indicates there's a significant problem with the installation of debconf on your system: every maintainer script that queries the debconf database appears to be erroring out. I have no idea why this should be. Have you made any changes to the debconf configuration on your system?
OK. The log shows:
Setting up grub-pc (1.99-21ubuntu3.1) ... 3-2ubuntu2. 2) ...
dpkg: error processing grub-pc (--configure):
subprocess installed post-installation script returned error exit status 10
Setting up samba-common (2:3.6.
dpkg: error processing samba-common (--configure):
subprocess installed post-installation script returned error exit status 10
This indicates there's a significant problem with the installation of debconf on your system: every maintainer script that queries the debconf database appears to be erroring out. I have no idea why this should be. Have you made any changes to the debconf configuration on your system?