Ubuntu 20.04 升级 grub-efi-amd64-signed 失败

Ubuntu 20.04 升级 grub-efi-amd64-signed 失败

按照系统建议在 2021-05-02 运行升级时出现此错误:

grub-efi-amd64-signed:   
  Depends: grub2-common (>= 2.02~beta2-36ubuntu3.31) but 2.04-1ubuntu26.11 is to be installed  

答案1

我用了:

apt list --upgradable 获取需要升级的软件包列表:

Listing... Done
grub-common/focal-updates 2.04-1ubuntu26.11 amd64 [upgradable from: 2.04-1ubuntu26.9]
grub-efi-amd64-bin/focal-updates 2.04-1ubuntu44 amd64 [upgradable from: 2.04-1ubuntu26.9]
grub-efi-amd64-signed/focal-updates 1.167+2.04-1ubuntu44 amd64 [upgradable from: 1.142.11+2.04-1ubuntu26.9]
grub-efi-amd64/focal-updates 2.04-1ubuntu44 amd64 [upgradable from: 2.04-1ubuntu26.9]
grub-efi/focal-updates 2.04-1ubuntu26.11 amd64 [upgradable from: 2.04-1ubuntu26.9]
grub2-common/focal-updates 2.04-1ubuntu26.11 amd64 [upgradable from: 2.04-1ubuntu26.9]

sudo apt --only-upgrade install grub-common

更新了该包,更新了所有内容

相关内容