04-03-2025, 07:20 PM
Hello i tried to fix this problem with the help of AI assistant on the main site but it could not help so now im asking you guys.
Whenever im trying to run sudo apt upgrade or sudo apt dist-upgrade I get the same error and i have no idea what to do with it.
What i got from doing my research so far is that shim-signed is something to do with Secure Boot UEFI option and i was suggested to go to the BIOS and turn of Secure Boot. My motherboard on this machine is quite old and it doesnt have Secure Boot option in the BIOS. Also im not using any other OS on this machine, no dual boot stuff or anything, just Linux Lite.
AI suggested a few different commands to run such as "sudo apt --fix-broken install" but every thing it told me to try just gave me the same error.
Whenever im trying to run sudo apt upgrade or sudo apt dist-upgrade I get the same error and i have no idea what to do with it.
Code:
sudo apt upgrade
Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
The following package was automatically installed and is no longer required:
linux-headers-5.15.0-122
Use 'sudo apt autoremove' to remove it.
The following packages have been kept back:
compiz grub-efi-amd64-bin grub-efi-amd64-signed libb-hooks-op-check-perl
libclass-xsaccessor-perl libemail-address-xs-perl libnetaddr-ip-perl
libparams-classify-perl libperlio-gzip-perl libsocket6-perl
libsub-identify-perl libtext-levenshteinxs-perl libtime-moment-perl
libvariable-magic-perl
0 upgraded, 0 newly installed, 0 to remove and 14 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Setting up shim-signed (1.51.4+15.8-0ubuntu1) ...
/var/lib/dpkg/info/shim-signed.postinst: 165: /usr/lib/grub/grub-multi-install: not found
dpkg: error processing package shim-signed (--configure):
installed shim-signed package post-installation script subprocess returned error exit status 127
Errors were encountered while processing:
shim-signed
AI suggested a few different commands to run such as "sudo apt --fix-broken install" but every thing it told me to try just gave me the same error.