Hi guys I am having grub errors every time try to install anything on Ubuntu 20.04
sudo apt-get purge grub*
sudo apt-get install grub-efi
sudo apt-get autoremove
sudo update-grub
Already tried the solution above.
user@user-Nitro-AN515-54:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up grub-efi-amd64 (2.04-1ubuntu44) ...
dpkg: error processing package grub-efi-amd64 (--configure):
installed grub-efi-amd64 package post-installation script subprocess returned error exit status 10
No apport report written because the error message indicates its a followup error from a previous failure.
dpkg: dependency problems prevent configuration of grub-efi:
grub-efi depends on grub-efi-amd64 (>= 2.04-1ubuntu26.11); however:
Package grub-efi-amd64 is not configured yet.
dpkg: error processing package grub-efi (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of grub-efi-amd64-signed:
grub-efi-amd64-signed depends on grub-efi-amd64 | grub-pc; however:
Package grub-efi-amd64 is not configured yet.
Package grub-pc is not installed.
dpkg: error processing package grub-efi-amd64-signed (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
Errors were encountered while processing:
grub-efi-amd64
grub-efi
grub-efi-amd6-signed
E: Sub-process /usr/bin/dpkg returned an error code (1)