John,
I got a similar message.  I googled the text of the message and found a
recommendation for a solution.  It involved listing up-gradable stuff, then
upgrading the grub. My brain being as porous as it is, this is as specific
as I can be.  It was related to grub and grub-2, not grub-pc, but maybe
trying the same with google would provide a similar solution.  My
impression is that there is something wrong with the package upgrading.
-Denis

On Thu, Jun 17, 2021 at 1:47 PM John Jason Jordan <[email protected]> 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.
>

Reply via email to