[SOLVED] Grub errors when installing or upgrading packages
Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Kali and AVLinux, seems I lean towards the Debian side of things
Posts: 61
Rep:
Grub errors when installing or upgrading packages
I recently had issues with grub in that it wouldn't install. I solved that problem and can now boot linux, albeit I have to go into bios to select the linux drive or the windows drive (I am okay with having to select this way). Now I get error messages and grub-install warnings when installing or upgrading packages.
Code:
Setting up shim-signed-common (1.33+15+1533136590.3beb971-7) ...
Installing for x86_64-efi platform.
grub-install: warning: Cannot set EFI variable Boot0000.
grub-install: warning: efivarfs_set_variable: writing to fd 7 failed: No space l
eft on device.
grub-install: warning: _efi_set_variable_mode: ops->set_variable() failed: No sp
ace left on device.
grub-install: error: failed to register the EFI boot entry: No space left on dev
ice.
dpkg: error processing package shim-signed-common (--configure):
installed shim-signed-common package post-installation script subprocess return
ed error exit status 1
dpkg: dependency problems prevent configuration of shim-signed:amd64:
shim-signed:amd64 depends on shim-signed-common (= 1.33+15+1533136590.3beb971-7
); however:
Package shim-signed-common is not configured yet.
dpkg: error processing package shim-signed:amd64 (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
shim-signed-common
shim-signed:amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)
All the packages install and update okay, or sure seem to (I haven't run into any issues running the installed packages. I don't understand the "no room left on device" warning as my efi partitions are big enough, or were
root@samara:~# efibootmgr
No BootOrder is set; firmware will attempt recovery
What make and model is your system? If you google that message it appears to be a bios firmware bug that some systems have that requires a bios update or the use of shell.efi to fix. I found one youtube video that clams to fix using the efi shell. https://www.youtube.com/watch?v=pRkqkdvCyfs. I can't vouch for the video never tried it. I had an acer laptop that gave this message, but I was able to go into the bios to make changes.
Distribution: Kali and AVLinux, seems I lean towards the Debian side of things
Posts: 61
Original Poster
Rep:
Quote:
Originally Posted by colorpurple21859
What make and model is your system? If you google that message it appears to be a bios firmware bug that some systems have that requires a bios update or the use of shell.efi to fix. I found one youtube video that clams to fix using the efi shell. https://www.youtube.com/watch?v=pRkqkdvCyfs. I can't vouch for the video never tried it. I had an acer laptop that gave this message, but I was able to go into the bios to make changes.
I built the computer. It has a ROG Crossfire VII Hero motherboard with a Ryzen 7 cpu. I will check out the video you suggest. Thank you
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.