I installed Core 18 and had issues with corrupt packages so I did a global reinstall of all packages and now I have the warnings below. Are they a problem and can they be cleared?
The background is after the initial installation everything seemed to be working but I couldn't get videos to display in browser web pages. I got a "no application or mimetype for mp4" error despite installing all files as per the instructions I found.
Giving up on that I started to install a music player (which had worked fine under 17). It just wouldn't open so I ran it from a terminal so I could see any errors. I saw it was throwing a " cannot find/access shared library XXXXXX" error. A quick file search found the file was indeed missing. I did a cross-reference check with the ubuntu reference library found what package this library was in and found that this package was already installed on my system. Hmmmm....
Did an apt reinstall package and tried again. Still wouldn't open. Ran in a terminal again and found it was complaining with same error, but different shared library. This time the file existed but obviously couldn't be loaded. Wash, rinse, repeat....... No joy but again same error, different library!!!! I had to do this 4 times. (Note I didn’t touch the player package). On the 5th attempt the player opened perfectly. Woohooo!!!
But!!! Four corrupt package installs..... This put some serious doubt as to the integrity of the installation packages so I decided to take the nuclear option of reinstalling EVERY package on my system (all 2700+ of them) in one go which I proceeded to do with:
sudo apt-get install aptitude
sudo aptitude reinstall '~i'
All went surprisingly smoothly with only one small issue (see below*) but it was a big download. The end result was that everything now seems to be working much better. Videos now display in the web browser and the music player opens without issue.
The issue was that package 'grub-efi-arm64-signed' was not found in my listed repositories so that dependency prevented 'shim-signed' from being reinstalled. I installed 'grub-efi-amd64-signed' as my research seemed to indicate that was more appropriate for my system but it failed too and won't configure. I now get the output below when doing an 'apt upgrade'. I tried to purge 'shim-signed' off the install queue but the system won't let you.
Is there anything that can be done to clear these error warnings? The system seems to boot and run just fine.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
Listing... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
2 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 grub-efi-amd64-signed (1.202.5+2.12-1ubuntu7.3) ...
od: /sys/firmware/efi/efivars/SecureBoot-8be4df61-93ca-11d2-aa0d-00e098032b8c: Input/output error
/usr/share/grub/grub-check-signatures: 22: [: Illegal number:
dpkg: error processing package grub-efi-amd64-signed (--configure):
installed grub-efi-amd64-signed package post-installation script subprocess returned error exit status 255
dpkg: dependency problems prevent configuration of shim-signed:
shim-signed depends on grub-efi-amd64-signed (>= 1.191~) | grub-efi-arm64-signed (>= 1.191~) | base-files (<< 12.3); however:
Package grub-efi-amd64-signed is not configured yet.
Package grub-efi-arm64-signed is not installed.
Version of base-files on system is 13ubuntu10.3+zorin2.
shim-signed depends on grub-efi-amd64-signed (>= 1.187.2~) | grub-efi-arm64-signed (>= 1.187.2~); however:
Package grub-efi-amd64-signed is not configured yet.
Package grub-efi-arm64-signed is not installed.
dpkg: error processing package shim-signed (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
grub-efi-amd64-signed
shim-signed
E: Sub-process /usr/bin/dpkg returned an error code (1)
Thanks a million,
Reg.