The log shows that many files are missing in /var/lib/dpkg/info/ and the two packages that fail use ucf. I would not be surprised to learn that more stuff is missing from /var. Thus I suspect this is a failure of ucf when some of his files are unexpectedly missing.
Reassigning to ucf for further investigation. At least ucf could generate a proper error message instead of only exiting with an error code. ** Package changed: dpkg (Ubuntu) => ucf (Ubuntu) ** Changed in: ucf (Ubuntu) Importance: Undecided => Low -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/675398 Title: package samba-common 2:3.4.7~dfsg-1ubuntu3.2 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/ucf/+bug/675398/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs