我已经更新了我的ubuntu服务器从16.xx到18.xx到现在Ubuntu20.04.1LTS。
我试过了
sudo apt-get purge grub\*
sudo apt-get install grub-efi
sudo apt-get autoremove
sudo update-grub但还是犯了错误。
我试过了
sudo apt-get -f install但还是犯了错误。
root@xxx:~# sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 1 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.142.6+2.04-1ubuntu26.4) ...
dpkg: error processing package grub-efi-amd64-signed (--configure):
installed grub-efi-amd64-signed package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
grub-efi-amd64-signed
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@xxx:~#我不知道下一步该做什么,因为所有的谷歌搜索都给了我很少的解决方案,但这些解决方案都不起作用。
发布于 2020-10-28 19:56:09
今天的最新情况解决了这个问题:
grub-common/focal-updates 2.04-1ubuntu26.6 amd64 [upgradable from: 2.04-1ubuntu26.4]
grub-efi-amd64-bin/focal-updates 2.04-1ubuntu26.6 amd64 [upgradable from: 2.04-1ubuntu26.4]
grub-efi-amd64-signed/focal-updates 1.142.8+2.04-1ubuntu26.6 amd64 [upgradable from: 1.142.6+2.04-1ubuntu26.4]
grub-efi-amd64/focal-updates 2.04-1ubuntu26.6 amd64 [upgradable from: 2.04-1ubuntu26.4]
grub-efi/focal-updates 2.04-1ubuntu26.6 amd64 [upgradable from: 2.04-1ubuntu26.4]
grub2-common/focal-updates 2.04-1ubuntu26.6 amd64 [upgradable from: 2.04-1ubuntu26.4]https://askubuntu.com/questions/1284218
复制相似问题