Public bug reported: Running apt-get update; apt-get upgrade for the first time in a few months, I get an error
``` Writing GRUB to boot device failed - continue GRUB failed to install to the following devices: [*] /dev/nvme1n1p1 (104 MB; /boot/efi) 1000204 MB WDC WDS100T2B0C-00PXH0 ``` Retrying fails. Running ``` $ sudo dpkg-reconfigure --force grub-efi-amd64 ``` Gives the following output: ``` Installing grub to /boot/efi. Installing for x86_64-efi platform. grub-install: warning: Internal error. grub-install: error: failed to register the EFI boot entry: Operation not permitted. Installing grub to /boot/efi. Installing for x86_64-efi platform. grub-install: warning: Internal error. grub-install: error: failed to register the EFI boot entry: Operation not permitted. Sourcing file `/etc/default/grub' Sourcing file `/etc/default/grub.d/init-select.cfg' Generating grub configuration file ... Found linux image: /boot/vmlinuz-5.4.0-53-generic Found initrd image: /boot/initrd.img-5.4.0-53-generic Found linux image: /boot/vmlinuz-5.4.0-52-generic Found initrd image: /boot/initrd.img-5.4.0-52-generic Found Windows Boot Manager on /dev/nvme1n1p1@/EFI/Microsoft/Boot/bootmgfw.efi Adding boot menu entry for UEFI Firmware Settings done ``` ProblemType: Bug DistroRelease: Ubuntu 20.04 Package: grub-efi-amd64 2.04-1ubuntu26.6 ProcVersionSignature: Ubuntu 5.4.0-52.57-generic 5.4.65 Uname: Linux 5.4.0-52-generic x86_64 NonfreeKernelModules: nvidia_modeset nvidia ApportVersion: 2.20.11-0ubuntu27.12 Architecture: amd64 CasperMD5CheckResult: skip Date: Fri Nov 13 21:38:56 2020 InstallationDate: Installed on 2020-05-23 (175 days ago) InstallationMedia: Xubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017) SourcePackage: grub2 UpgradeStatus: Upgraded to focal on 2020-05-29 (169 days ago) ** Affects: grub2 (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug focal -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1904263 Title: Writing GRUB to boot device failed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1904263/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs