According to your DpkgTerminalLog.txt you removed both grub and grub-pc packages, subsequently you do not have update-grub installed and this is why the kernel postinst script is failing.
** Changed in: grub2 (Ubuntu) Status: Confirmed => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/620761 Title: package linux-image-2.6.32-24-generic 2.6.32-24.41 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/620761/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs