I've also encountered this problem while installing updates on Ubuntu 18.04.2.
Digging a bit into into the postinst script I've discovered that the failure for me came from the script /usr/share/grub/grub-check- signatures (from the grub-common package). There, mokutil is called which fails for me since the mokutil package isn't installed. I think this is a missing dependency of the grub-common package. After installing mokutil, the errors about dpkg --configure configure failing vanished and for me the packages grub-efi-amd64, grub-efi-amd64-signed and grub-efi packages were successfully configured. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1814187 Title: package grub-efi-amd64 2.02-2ubuntu8.10 failed to install/upgrade: installed grub-efi-amd64 package post-installation script subprocess returned error exit status 127 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1814187/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs