sudo do-release-upgrade
今天早上运行将我的系统从 Ubtunu 17.10 升级到 18.04 LTS 后,我在升级过程中遇到了错误。跟踪太长而无法完整发布,但这里是(对我来说)看起来像问题的部分:
Rebuilding /usr/share/applications/bamf-2.index...
Errors were encountered while processing:
shim-signed
grub-efi-amd64-signed
Exception during pm.DoInstall(): E:Sub-process /usr/bin/dpkg returned an error code (1)
Could not install the upgrades
The upgrade has aborted. Your system could be in an unusable state. A
recovery will run now (dpkg --configure -a).
Setting up shim-signed (1.34.9+13-0ubuntu2) ...
Installing for x86_64-efi platform.
Could not add entry to BootOrder: Interrupted system call
grub-install: error: efibootmgr failed to register the …
Run Code Online (Sandbox Code Playgroud)