Step 1: dpkg -l grub-pc
which should give you the partially installed version you've got. Step 2: dpkg --debug=3 -i /var/cache/apt/archives/grub-pc_<whatever-your-version-is>*.deb According to dpkg --debug=help, --debug=3 turns on 1 general Generally helpful progress information 2 scripts Invocation and status of maintainer scripts Hopefully, that will give you more clues about what's going wrong. On Thu, Jun 17, 2021 at 10:23 PM Russell Senior <russ...@personaltelco.net> wrote: > > You might have a look at this file: /var/lib/dpkg/info/grub-pc.postinst > > That's the post installation script that is exiting with an error status. > > On Thu, Jun 17, 2021 at 1:47 PM John Jason Jordan <joh...@gmx.com> wrote: > > > > 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.