我在执行 sudo apt upgrade 时遇到错误:“错误处理包 nullboot(--configure)”

我在执行 sudo apt upgrade 时遇到错误:“错误处理包 nullboot(--configure)”

这是输出sudo apt upgrade

sudo apt upgrade
[sudo] password for l0oois: 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  libllvm13 libllvm13:i386
Use 'sudo apt autoremove' to remove them.
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 nullboot (0.3.0-0ubuntu1) ...
2022/07/13 19:49:31 cannot add new assets from /usr/lib/linux/efi : open /usr/lib/linux/efi: no such file or directory
dpkg: error processing package nullboot (--configure):
 installed nullboot package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 nullboot
E: Sub-process /usr/bin/dpkg returned an error code (1)

我如何解决它?

答案1

open /usr/lib/linux/efi: no such file or directory

尝试创建 /usr/lib/linux/efi 目录 ( sudo mkdir -p /usr/lib/linux/efi)。

相关内容