About a year ago, at the end of a dist-update (not an upgrade, just the usual updates) the Update Manager GUI application announced that it was unable to configure grub-pc. The problem remains. I can install or remove packages, but at the end I always get an error message that grub-pc could not be configured. The computer boots normally and everything works.
I tried update-grub, which executed fine without error. But afterwards I still get the error message that grub-pc could not be configured. Today I also did sudo apt autoremove, which ended with: 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Setting up grub-pc (2.04-1ubuntu26.4) ... dpkg: error processing package grub-pc (--configure): installed grub-pc package post-installation script subprocess returned error exit status 1 Errors were encountered while processing: grub-pc Then I did sudo apt reinstall grub-pc, which ended with: Setting up grub-pc (2.04-1ubuntu26.4) ... dpkg: error processing package grub-pc (--configure): installed grub-pc package post-installation script subprocess returned error exit status 1 Errors were encountered while processing: grub-pc E: Sub-process /usr/bin/dpkg returned an error code (1) I also tried dpkg --configure grub-pc, which executed normally until the end when it complained that it could not reconfigure grub-pc. And every time I invoke apt to install or remove a package, whether I do it from the command line or in a GUI (Update Manager, Synaptic) it always ends with a error message about grub-pc. I've been living with this for a long time and I'm tired of it.