LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 08-11-2020, 07:20 PM   #1
LilDeadGirl
Member
 
Registered: Apr 2017
Location: The Sierra Nevada above Sacramento
Distribution: Kali and AVLinux, seems I lean towards the Debian side of things
Posts: 61

Rep: Reputation: Disabled
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
 
Old 08-11-2020, 08:12 PM   #2
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,354

Rep: Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590
post the following as root
Code:
parted -l
df -h
 
Old 08-11-2020, 08:19 PM   #3
LilDeadGirl
Member
 
Registered: Apr 2017
Location: The Sierra Nevada above Sacramento
Distribution: Kali and AVLinux, seems I lean towards the Debian side of things
Posts: 61

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by colorpurple21859 View Post
post the following as root
Code:
parted -l
df -h
Code:
root@samara:~# parted -l
Model: ATA ADATA SU655 (scsi)
Disk /dev/sda: 120GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags: 

Number  Start   End    Size    File system  Name                          Flags
 1      1049kB  106MB  105MB   fat32        EFI system partition          boot, esp
 2      106MB   123MB  16.8MB               Microsoft reserved partition  msftres
 3      123MB   120GB  119GB   ntfs         Basic data partition          msftdata
 4      120GB   120GB  530MB   ntfs                                       hidden, diag


Model: ATA SPCC Solid State (scsi)
Disk /dev/sdb: 512GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags: 

Number  Start   End    Size    File system     Name  Flags
 1      1049kB  250MB  249MB   fat32                 boot, esp
 2      250MB   501GB  501GB   ext4
 3      501GB   512GB  11.0GB  linux-swap(v1)        swap


Model: ATA WD2003FYYS-12 (scsi)
Disk /dev/sdc: 2000GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags: 

Number  Start   End     Size    File system  Name                  Flags
 1      1049kB  1108GB  1108GB  ntfs         Basic data partition  msftdata
 2      1108GB  1109GB  523MB   ntfs         Basic data partition  hidden, diag
 3      1109GB  1109GB  262MB   fat32                              boot, esp


Model:  USB DISK 3.0 (scsi)
Disk /dev/sdd: 15.9GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start   End     Size    Type     File system  Flags
 1      1049kB  15.9GB  15.9GB  primary  fat32        boot, lba
Code:
root@samara:~# df -h
Filesystem      Size  Used Avail Use% Mounted on
udev             16G     0   16G   0% /dev
tmpfs           3.2G  2.1M  3.2G   1% /run
/dev/sdb2       459G   13G  423G   3% /
tmpfs            16G   66M   16G   1% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs            16G     0   16G   0% /sys/fs/cgroup
/dev/sda1        96M   26M   71M  27% /boot/efi
tmpfs           3.2G   16K  3.2G   1% /run/user/0
/dev/sdc1       1.1T  672G  361G  66% /media/root/Games-win
 
Old 08-11-2020, 08:26 PM   #4
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,354

Rep: Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590
post the output of
Code:
efibootmgr
 
Old 08-11-2020, 08:29 PM   #5
LilDeadGirl
Member
 
Registered: Apr 2017
Location: The Sierra Nevada above Sacramento
Distribution: Kali and AVLinux, seems I lean towards the Debian side of things
Posts: 61

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by colorpurple21859 View Post
post the output of
Code:
efibootmgr
Thank you.

Code:
root@samara:~# efibootmgr
No BootOrder is set; firmware will attempt recovery
 
Old 08-11-2020, 09:05 PM   #6
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,354

Rep: Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590
Quote:
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.
 
1 members found this post helpful.
Old 08-11-2020, 09:08 PM   #7
LilDeadGirl
Member
 
Registered: Apr 2017
Location: The Sierra Nevada above Sacramento
Distribution: Kali and AVLinux, seems I lean towards the Debian side of things
Posts: 61

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by colorpurple21859 View Post
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
 
Old 08-12-2020, 10:18 PM   #8
LilDeadGirl
Member
 
Registered: Apr 2017
Location: The Sierra Nevada above Sacramento
Distribution: Kali and AVLinux, seems I lean towards the Debian side of things
Posts: 61

Original Poster
Rep: Reputation: Disabled
Updated bios firmware and reinstalled and everything works fine now. Thank you.
 
1 members found this post helpful.
Old 08-12-2020, 10:27 PM   #9
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,354

Rep: Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590
Your Welcome
 
1 members found this post helpful.
  


Reply

Tags
error message, grub, package management



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Infinite Grub Loop: GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB... beeblequix MEPIS 2 11-02-2013 10:56 PM
Running newest Ubuntu, just installed and having errors upgrading packages fatenabu Ubuntu 1 06-01-2007 06:09 PM
Booting my new ubuntu install = "GRUB GRUB GRUB GRUB GRUB" etc. dissolved soul Ubuntu 2 01-13-2007 12:55 PM
Errors, Errors, and more Errors (KDE 3.4.x GUI Errors) Dralnu Linux - Software 2 05-13-2006 08:30 AM
Grub errors...grub errors...grub errors smattmac Linux - Newbie 1 06-13-2005 02:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 04:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration