You are not logged in.

#1 2021-03-05 15:23:55

Sector11
Conky 1.9er Mod Squid
From: Upstairs
Registered: 2015-08-20
Posts: 6,591

grub-efi error - safe to install?

QUESTION:  Is "grub-efi-amd64" safe to install in my case?

Retrieving bug reports... Done
Parsing Found/Fixed information... Done
critical bugs of grub-efi-amd64 (2.02+dfsg1-20+deb10u3 → 2.02+dfsg1-20+deb10u4) <Outstanding>
 b1 - #984520 - 'error: symbol "grub_register_command_lockdown" not found' and then lightdm fails to start
Summary:
 grub-efi-amd64(1 bug)
Are you sure you want to install/upgrade the above packages? [Y/n/?/...] 

1. I never "lock down" my desktop and I boot up from tty1, I do not use lightdm or any other display manager.

--- Question comes about because ---
I need to install my i386 printer driver

sudo dpkg --add-architecture i386 && sudo apt update

Then:

cd /media/10/Brother_HL1110/
sudo bash linux-brprinter-installer-2.2.2-2 HL1110

Hate needing i386 architecture for my printer but nothing else works.

Have set "grub*" on hold - temporarily:

 05 Mar 21 @ 12:15:49 ~
   $ hld grub*
grub-rescue-pc set on hold.
grub-common set on hold.
grub-efi-amd64-bin set on hold.
grub-efi-ia32-bin set on hold.
grub2 set on hold.
grub-pc set on hold.
grub-efi-amd64 set on hold.
grub2-common set on hold.
grub-pc-bin set on hold.
grub-disk set on hold.
grub-doc set on hold.
grub-legacy-doc set on hold.
grub-legacy set on hold.
grub-cloud-amd64 set on hold.
grub-customizer set on hold.
grub-efi-amd64-signed set on hold.
grub-imageboot set on hold.
grub-efi-ia32 set on hold.
grub-splashimages set on hold.
grub-emu set on hold.
grub-coreboot set on hold.
grub-efi set on hold.
grub-ieee1275 set on hold.
grub-linuxbios set on hold.
grub-coreboot-bin set on hold.
grub-xen set on hold.
grub-coreboot-dbg set on hold.
grub-efi-amd64-dbg set on hold.
grub-efi-amd64-signed-template set on hold.
grub-efi-ia32-dbg set on hold.
grub-emu-dbg set on hold.
grub-firmware-qemu set on hold.
grub-ieee1275-bin set on hold.
grub-ieee1275-dbg set on hold.
grub-pc-dbg set on hold.
grub-theme-starfield set on hold.
grub-xen-bin set on hold.
grub-xen-dbg set on hold.
grub-xen-host set on hold.
grub2-splashimages set on hold.
grub-invaders set on hold.
grub-efi-ia32-signed-template:i386 set on hold.

So now my printer doesn't work....

REPEAT:
QUESTION:  Is "grub-efi-amd64" safe to install in my case?

OK, Maybe a second question:

Once my printer is up and running, is there a way I can stop apt from "scanning" for i386 files?


The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.
_______________________________
Debian 10 Buster = SharpBang ♯!

Offline

#2 2021-03-05 16:11:11

unklar
Member
From: #! BL
Registered: 2015-10-31
Posts: 1,437

Re: grub-efi error - safe to install?

If you have grub set to "HOLD", it will also not be updated during the update.
So, for now, no danger.  smile

The "scanning" of the i386 architecture I am now a little bit over questioned, but should this not generally be possible by commenting out (#) the corresponding repo's in /etc/apt/debian.list.  big_smile

Last edited by unklar (2021-03-05 18:32:40)

Offline

#3 2021-03-05 18:22:49

Sector11
Conky 1.9er Mod Squid
From: Upstairs
Registered: 2015-08-20
Posts: 6,591

Re: grub-efi error - safe to install?

unklar wrote:

If you have grub set to "HOLD", it will also not be updated during the update.
So, for now, no danger.  smile

Yes, like I said: tremporary

unklar wrote:

The "scanning" of the i386 architecture I am now a little bit over questioned, but should this not generally be possible by commenting out (#) the corresponding repo's in /etc/apt/debian.list.  big_smile

I do not have a file: debian.list

I have:

  • /etc/apt/apt.conf.d

  • /etc/apt/auth.conf.d

  • /etc/apt/listbugs

  • /etc/apt/preferences.d

  • /etc/apt/sources.list.d

  • /etc/apt/trusted.gpg.d

  • /etc/apt/sources.list

and nowhere in there do I see "i386" mentioned

/etc/apt/sources.list

# 

#deb cdrom:[Debian GNU/Linux 10 _Buster_ - Official Snapshot amd64 LIVE/INSTALL Binary 20200405-15:47]/ buster contrib main non-free

deb https://deb.debian.org/debian buster main non-free contrib
deb-src https://deb.debian.org/debian buster main non-free contrib

deb http://security.debian.org/debian-security buster/updates main contrib non-free
deb-src http://security.debian.org/debian-security buster/updates main contrib non-free

# buster-updates, previously known as 'volatile'
deb https://deb.debian.org/debian buster-updates main contrib non-free
deb-src https://deb.debian.org/debian buster-updates main contrib non-free

# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
# see the sources.list(5) manual.

The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.
_______________________________
Debian 10 Buster = SharpBang ♯!

Offline

#4 2021-03-05 18:32:09

unklar
Member
From: #! BL
Registered: 2015-10-31
Posts: 1,437

Re: grub-efi error - safe to install?

^forget the last of me  ops

According to here you can delete this again afterwards

dpkg --remove-architecture i386

Edit: /etc/apt/sources.list.d is the empty ?

Last edited by unklar (2021-03-05 18:36:31)

Offline

#5 2021-03-06 12:15:45

Sector11
Conky 1.9er Mod Squid
From: Upstairs
Registered: 2015-08-20
Posts: 6,591

Re: grub-efi error - safe to install?

Thank you unklar - I have read that page when I wanted to install 1386

You originally said:

The "scanning" of the i386 architecture I am now a little bit over questioned, but should this not generally be possible by commenting out (#) the corresponding repo's in /etc/apt/debian.list.

I do not have /etc/apt/debian.list

and /etc/apt/sources.list.d  →  is empty

and /etc/apt/sources.list  →  has no mention of i386

Removing does not seem like an option:

   $ dpkg --remove-architecture i386
dpkg: error: cannot remove architecture 'i386' currently in use by the database
 
 06 Mar 21 @ 09:18:31 ~
   $ sudo dpkg --remove-architecture i386
dpkg: error: cannot remove architecture 'i386' currently in use by the database
 
 06 Mar 21 @ 09:18:43 ~
   $ 

I suspect because it is using the Brother printer drivers.


The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.
_______________________________
Debian 10 Buster = SharpBang ♯!

Offline

#6 2021-03-06 12:33:14

Sector11
Conky 1.9er Mod Squid
From: Upstairs
Registered: 2015-08-20
Posts: 6,591

Re: grub-efi error - safe to install?

@ unklar

However after doing:

   $ dpkg --remove-architecture i386
dpkg: error: cannot remove architecture 'i386' currently in use by the database
 
 06 Mar 21 @ 09:18:31 ~
   $ sudo dpkg --remove-architecture i386
dpkg: error: cannot remove architecture 'i386' currently in use by the database
 
 06 Mar 21 @ 09:18:43 ~
   $ 

it seems that my system is NOT scanning i386 files, and my printer is working:

 06 Mar 21 @ 09:38:43 ~
   $ up2
[sudo] password for sector11: 
Hit:1 http://security.debian.org/debian-security buster/updates InRelease
Hit:2 https://deb.debian.org/debian buster InRelease
Hit:3 https://deb.debian.org/debian buster-updates InRelease
Reading package lists... Done
Building dependency tree       
Reading state information... Done
6 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  conky-all grub-common grub-efi-amd64 grub-efi-amd64-bin grub-efi-amd64-signed grub2-common
0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
 
 06 Mar 21 @ 09:39:00 ~
   $ 

I hear the Twilight Zone music in the background.

So still the issue with:

QUESTION:  Is "grub-efi-amd64" safe to install in my case?

Retrieving bug reports... Done
Parsing Found/Fixed information... Done
critical bugs of grub-efi-amd64 (2.02+dfsg1-20+deb10u3 → 2.02+dfsg1-20+deb10u4) <Outstanding>
 b1 - #984520 - 'error: symbol "grub_register_command_lockdown" not found' and then lightdm fails to start
Summary:
 grub-efi-amd64(1 bug)
Are you sure you want to install/upgrade the above packages? [Y/n/?/...] 

1. I never "lock down" my desktop and I boot up from tty1, I do not use lightdm or any other display manager.


The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.
_______________________________
Debian 10 Buster = SharpBang ♯!

Offline

#7 2021-03-06 16:01:18

unklar
Member
From: #! BL
Registered: 2015-10-31
Posts: 1,437

Re: grub-efi error - safe to install?

Hello, my friend   smile

The multiarch installation tells me that you can install i386 packages (e.g. your printer) on your system with amd64 architecture.
I understand that apt update then offers you updates only from this one package of your printer.

I don't know if I'm right about this, though.

To the 2.
I have read about your uefi problem that people affected by it

sudo dpkg-reconfigure grub-pc

to fix it. By the way, that is exactly what is suggested in your linked bug reports:

Bug#984426 wrote:

According to the information in your initial report, this is your
/dev/sda.  I strongly suspect that your BIOS is actually loading the
boot loader from one of the other disks in your system, probably
/dev/sdb.  Unfortunately it is more or less impossible to reliably
determine this from the operating system (I tried some years back and
failed).

I would recommend using "sudo dpkg-reconfigure grub-pc" to tell the GRUB
packaging to install the boot loader to the master boot records of *all*
the non-removable disks on your system, which avoids this class of
problem since then it doesn't matter which one the BIOS boots from.

I think you can set grub back to "unhold" and do the update.
Nevertheless, I recommend to be prepared for it (for the BUG).
Have you ever run this command in your young life and know the pictures ?

One question in this context. I know that you have several HDD's in your system.
Is that why a device.map exists ?  You might know this file from the old Grub, it was created automatically. With Grub2 this is no longer the case. Here the user has to create it himself, if he has multiple disks in the system.

Offline

#8 2021-03-06 16:30:14

Sector11
Conky 1.9er Mod Squid
From: Upstairs
Registered: 2015-08-20
Posts: 6,591

Re: grub-efi error - safe to install?

unklar wrote:

Hello, my friend   smile
{snip}

One question in this context. I know that you have several HDD's in your system.
Is that why a device.map exists ?  You might know this file from the old Grub, it was created automatically. With Grub2 this is no longer the case. Here the user has to create it himself, if he has multiple disks in the system.

I use to have several HDDs but dropped them with the new mobo - as they were not compatible I was told.  Different connectors.


 06 Mar 21 @ 13:32:28 ~
   $ mac
Machine:   Type: Desktop Mobo: ASUSTeK model: PRIME A320M-K v: Rev X.0x serial: <root required> UEFI: American Megatrends 
           v: 5603 date: 10/14/2020 
 
 06 Mar 21 @ 13:32:44 ~
   $ hdd
Drives:    Local Storage: total: 931.51 GiB used: 37.23 GiB (4.0%) 
           ID-1: /dev/sda vendor: Western Digital model: WD10EZEX-08WN4A0 size: 931.51 GiB speed: 6.0 Gb/s 
           serial: WD-WCC6Y4SART1L 
           Message: No Optical or Floppy data was found. 
 
 06 Mar 21 @ 13:32:54 ~
   $ 

My only drive 1TB ← Gparted

Has no one else noticed this BUG?  It is listed as CRTICAL!

It has nothing to do with my HDD, unklar.


The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.
_______________________________
Debian 10 Buster = SharpBang ♯!

Offline

#9 2021-03-06 16:47:15

unklar
Member
From: #! BL
Registered: 2015-10-31
Posts: 1,437

Re: grub-efi error - safe to install?

^OK, then I have now corrected my "old" configuration ideas of your system.  big_smile

S11, I think apt-listbugs is exaggerating a bit here.
The error is generally reported little by users.

Edit: If you're scared, wait until the BUG is ironed out. This is common practice in sid   devil

Last edited by unklar (2021-03-06 16:57:24)

Offline

#10 2021-03-06 17:40:11

tknomanzr
BL Die Hard
From: Around the Bend
Registered: 2015-09-29
Posts: 1,057

Re: grub-efi error - safe to install?

I personally would HOLD it until the error clears because I hate fixing things from a Grub command line. I would take a backup before I tried the upgrade at the very least.

Offline

#11 2021-03-07 15:44:09

Sector11
Conky 1.9er Mod Squid
From: Upstairs
Registered: 2015-08-20
Posts: 6,591

Re: grub-efi error - safe to install?

unklar wrote:

^OK, then I have now corrected my "old" configuration ideas of your system.  big_smile

S11, I think apt-listbugs is exaggerating a bit here.
The error is generally reported little by users.

Edit: If you're scared, wait until the BUG is ironed out. This is common practice in sid   devil

Yea, this is a fairly new setup, I can understand your confusion my friend.  smile

But as I said:

S11 wrote:

Has no one else noticed this BUG?  It is listed as CRTICAL!

So, if Debian can call it a critical bug on Date: Thu, 4 Mar 2021 16:48:02 UTC with this:

Package: grub-efi-amd64
Version: 2.02+dfsg1-20+deb10u4
Severity: critical
Tags: d-i
Justification: breaks unrelated software

It isn't a case of being scared, it is a case of being cautious.
Cautious in exactly the same manner as I did for 2 years when I ran SID years ago.  wink  That's where I learned to use "list-bugs".  It has been with me since.

What gets me is BL uses lightdm and no one has said anything.

tknomanzr wrote:

I personally would HOLD it until the error clears because I hate fixing things from a Grub command line. I would take a backup before I tried the upgrade at the very least.

Exactly.  With one twist:  I have no idea how to fix things from a GRUB command line. ops

Therefore: HOLD, is my friend, until the green light is given.

Once a week or so I unhold {program(s) in question} and see if the error is cleared.
Backups are done daily.


The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.
_______________________________
Debian 10 Buster = SharpBang ♯!

Offline

#12 2021-03-07 17:54:34

unklar
Member
From: #! BL
Registered: 2015-10-31
Posts: 1,437

Re: grub-efi error - safe to install?

Sector11 wrote:

Yea, this is a fairly new setup, I can understand your confusion my friend.  smile

^ No Problem   smile

What gets me is BL uses lightdm and no one has said anything.

-The BUG-Detector uses one Macbook and two HDD's
-You are not using two HDD's
-You only know about the bug through apt-listbugs. I bet if you didn't have this package on your machine, you would have done the update and not noticed anything about the BUG.

The same way it will have passed by most BL users.

The GRUB command line really isn't rocket science. The problem is that it rarely needs to be used, making it difficult for the user to remember the procedure, and furthermore, excitement and lack of overview of one's system strike with a vengeance. big_smile

I was and am all the years glad that my computers have no (U)efi. Should on my old days the hardware witch
and I have to buy a new computer, inevitably with the Efi crap, then my first action would be to boot the LINUX with systemd-bootdevil
https://man7.org/linux/man-pages/man7/s … oot.7.html
https://wiki.archlinux.org/index.php/Systemd-boot

Offline

Board footer

Powered by FluxBB