我正在使用
sudo apt-get upgrade -y
但是,终端在中间崩溃了。当我尝试再次运行相同的命令时,它给出了与 dpkg 上的锁定相关的错误。我删除了锁定文件。现在,当我运行该命令时,我收到以下错误
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up shim-signed (1.33.1~16.04.3+15+1533136590.3beb971-0ubuntu1) ...
Installing for x86_64-efi platform.
grub-install: error: cannot find EFI directory.
dpkg: error processing package shim-signed (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
shim-signed
E: Sub-process /usr/bin/dpkg returned an error code (1)
我不确定这里出了什么问题。有人能帮我吗?