This is the error I just got, and the warning when I used workaround #11
$ sudo apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 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] y
Setting up grub-efi-amd64-signed (1.93.12+2.02-2ubuntu8.11) ...
/var/lib/dpkg/info/grub-efi-amd64-signed.postinst: 22:
/var/lib/dpkg/info/grub-efi-amd64-signed.postinst:
/usr/share/grub/grub-check-signatures: Permission denied
dpkg: error processing package grub-efi-amd64-signed (--configure):
installed grub-efi-amd64-signed package post-installation script subprocess
returned error exit status 126
Errors were encountered while processing:
grub-efi-amd64-signed
E: Sub-process /usr/bin/dpkg returned an error code (1)
andor@andor-galagopro:~$ sudo su -
[sudo] password for andor:
root@###############:~# cd /boot/efi/EFI
root@###############:/boot/efi/EFI# mv ubuntu ubuntu-old
root@###############:/boot/efi/EFI# apt install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up grub-efi-amd64-signed (1.93.12+2.02-2ubuntu8.11) ...
W: APT had planned for dpkg to do more than it reported back (0 vs 4).
Affected packages: grub-efi-amd64-signed:amd64
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1753518
Title:
package grub-efi-amd64-signed 1.93+2.02-2ubuntu8 failed to
install/upgrade: installed grub-efi-amd64-signed package post-
installation script subprocess returned error exit status 1
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2-signed/+bug/1753518/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs