无法更新 UEFI dbx

Py-*_*ser 24 software-center boot uefi grub-efi

我的 Ubuntu (20.04) 软件提示有新固件可用:( UEFI dbx 77--> 217?),但是当我尝试更新时收到以下错误消息:

Impossible to update UEFI dbx.
Blocked executable in the ESP, ensure grub and shim are up to date:/boot/efi/EFI/Boot/shimx64.efi Authenticode checksum [_checksum code_] is presente in dbx.
Run Code Online (Sandbox Code Playgroud)

我不太确定这意味着什么,如果我理解正确的话,为什么它会从版本 77 跳到 217。有关系统的更多详细信息:

$ lscpu
Architecture:                    x86_64
CPU op-mode(s):                  32-bit, 64-bit
Byte Order:                      Little Endian
Address sizes:                   39 bits physical, 48 bits virtual
CPU(s):                          12
On-line CPU(s) list:             0-11
Thread(s) per core:              2
Core(s) per socket:              6
Socket(s):                       1
NUMA node(s):                    1
Vendor ID:                       GenuineIntel
CPU family:                      6
Model:                           165
Model name:                      Intel(R) Core(TM) i7-10850H CPU @ 2.70GHz
Run Code Online (Sandbox Code Playgroud)

小智 18

我在 Ubuntu 22.04 下的 Dell 5820 上也遇到了类似的问题。我建议检查是否使用了二进制文件。

为此,我建议检查该文件是否/boot/efi/EFI/Boot/shimx64.efi在引导条目中列出:

efibootmgr -v
Run Code Online (Sandbox Code Playgroud)

就我而言,它不是,而是/boot/efi/EFI/ubuntu/shimx64.efi使用了最近的(注意路径上的细微差别)。

然后我注意到它/boot/efi/EFI/Boot/shimx64.efi比以下中的其他文件早了几年/boot/efi/EFI/Boot/

sudo ls -lah /boot/efi/EFI/Boot/
Run Code Online (Sandbox Code Playgroud)

然后我将其删除,升级工作顺利:

sudo rm /boot/efi/EFI/Boot/shimx64.efi
sudo fwupdmgr update
Run Code Online (Sandbox Code Playgroud)