![升级 Ubuntu 后 grub-efi-amd64-signed 出现错误](https://linux22.com/image/1171704/%E5%8D%87%E7%BA%A7%20Ubuntu%20%E5%90%8E%20grub-efi-amd64-signed%20%E5%87%BA%E7%8E%B0%E9%94%99%E8%AF%AF.png)
昨天我更新了我的 Ubuntu,升级时出现错误,但我没有注意到。
现在,当我尝试执行 apt 命令时,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.139+2.04-1ubuntu24) ...
/var/lib/dpkg/info/grub-efi-amd64-signed.postinst: 23: Syntax error: word unexpected (expecting ")")
dpkg: error processing package grub-efi-amd64-signed (--configure):
installed grub-efi-amd64-signed package post-installation script subprocess returned error exit status 2
Errors were encountered while processing:
grub-efi-amd64-signed
E: Sub-process /usr/bin/dpkg returned an error code (1)
我也检查过类似的问题,但没有一个对我有用。那么我该如何解决这个问题呢?
答案1
我也有同样的问题。我知道你们不支持 beta 测试人员,但如果有人有任何信息,我很乐意阅读。现在我害怕重启。
抢