Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[Debian 11] grub-pc error when updating packages

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
wartisoc
Posts: 48
Joined: 2016-06-28 18:17

[Debian 11] grub-pc error when updating packages

#1 Post by wartisoc »

So I selected 'Mark all upgrades' in Synaptic Package Manager and got the following error when installing/upgrading grub-pc:

Code: Select all

Setting up grub-pc (2.06-3~deb11u5) ...
debconf: unable to initialize frontend: Gnome
Wide character in print at /usr/share/perl5/Debconf/Log.pm line 39.
debconf: (Couldn’t recognize the image file format for file “/usr/share/pixmaps/debian-logo.png” at /usr/lib/x86_64-linux-gnu/perl5/5.32/Glib/Object/Introspection.pm line 67.)
debconf: falling back to frontend: Dialog
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
Configuring grub-pc
-------------------

You chose not to install GRUB to any devices. If you continue, the boot loader 
may not be properly configured, and when this computer next starts up it will 
use whatever was previously in the boot sector. If there is an earlier version 
of GRUB 2 in the boot sector, it may be unable to load modules or handle the 
current configuration file.

If you are already using a different boot loader and want to carry on doing so, 
or if this is a special environment where you do not need a boot loader, then 
you should continue anyway. Otherwise, you should install GRUB somewhere.
So, is my system broken now? or is it safe to reboot and let it use the GRUB version previously installed? What should I do next?.

Thanks.

CwF
Global Moderator
Global Moderator
Posts: 2672
Joined: 2018-06-20 15:16
Location: Colorado
Has thanked: 41 times
Been thanked: 196 times

Re: [Debian 11] grub-pc error when updating packages

#2 Post by CwF »

wartisoc wrote: 2023-03-17 17:10 let it use the GRUB version previously installed?
You did not state where that grub comes from. If not from this Debian install, then it doesn't know. The importance of a 'previous install' is only known by you.

Reinstall grub, or

Code: Select all

 # dpkg-reconfigure grub-pc
 # update-grub

wartisoc
Posts: 48
Joined: 2016-06-28 18:17

Re: [Debian 11] grub-pc error when updating packages

#3 Post by wartisoc »

The GRUB was installed by Debian 11 itself when I first installed it. I didn't expect the 'Mark all upgrades' in Synaptic to potentially break it.

Thanks, will reinstall GRUB as per your suggestion just to be sure.

Post Reply