*** This bug is a duplicate of bug 1692175 *** https://bugs.launchpad.net/bugs/1692175
To be clear on my previous comment, the fix recommended is adding a semicolon on line 699 of /var/lib/dpkg/info/grub-pc.postinst (use sudo with your favourite text editor) Changing: if dpkg --compare-versions "$2" lt-nl 2.02~beta2-36ubuntu3.10 then into if dpkg --compare-versions "$2" lt-nl 2.02~beta2-36ubuntu3.10 ; then …and then instructing pdkg to complete the configuration with: sudo dpkg --configure grub-pc -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1692215 Title: package grub-pc 2.02~beta2-36ubuntu3.10 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/1692215/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs