[System Installation] 20.2.2升级遇到shim错误
Tofloor
poster avatar
九度十二分
deepin
2021-06-30 18:36
Author
sudo apt dist-upgrade
正在读取软件包列表... 完成
正在分析软件包的依赖关系树       
正在读取状态信息... 完成       
正在计算更新... 完成
升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 0 个软件包未被升级。
有 3 个软件包没有被完全安装或卸载。
解压缩后会消耗 0 B 的额外空间。
您希望继续执行吗? [Y/n] 
正在设置 grub-efi-amd64-signed (1.67.2+2.04+dde) ...
正在为 x86_64-efi 平台进行安装。
grub-install:警告: Cannot set EFI variable Boot0002.
grub-install:警告: efivarfs_set_variable: writing to fd 6 failed: 设备上没有空间.
grub-install:警告: _efi_set_variable_mode: ops->set_variable() failed: 设备上没有空间.
grub-install:错误: failed to register the EFI boot entry: 设备上没有空间.
dpkg: 处理软件包 grub-efi-amd64-signed (--configure)时出错:
 已安装 grub-efi-amd64-signed 软件包 post-installation 脚本 子进程返回错误状态 1
正在设置 shim-helpers-amd64-signed (1+15.4+5) ...
正在为 x86_64-efi 平台进行安装。
grub-install:警告: Cannot set EFI variable Boot0002.
grub-install:警告: efivarfs_set_variable: writing to fd 7 failed: 设备上没有空间.
grub-install:警告: _efi_set_variable_mode: ops->set_variable() failed: 设备上没有空间.
grub-install:错误: failed to register the EFI boot entry: 设备上没有空间.
dpkg: 处理软件包 shim-helpers-amd64-signed (--configure)时出错:
 已安装 shim-helpers-amd64-signed 软件包 post-installation 脚本 子进程返回错误状态 1
dpkg: 依赖关系问题使得 shim-signed:amd64 的配置工作不能继续:
 shim-signed:amd64 依赖于 shim-helpers-amd64-signed (>= 1+15.4+2);然而:
  软件包 shim-helpers-amd64-signed 尚未配置。

dpkg: 处理软件包 shim-signed:amd64 (--configure)时出错:
 依赖关系问题 - 仍未被配置
在处理时有错误发生:
 grub-efi-amd64-signed
 shim-helpers-amd64-signed
 shim-signed:amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)

升级20.2.2遇到shim错误,求问怎么解决。

Reply Favorite View the author
All Replies
avatar
忘记、过去
deepin
2021-06-30 18:51
#1

efi 分区太小了?提示你分区满了没办法更新 grub......

Reply View the author
avatar
九度十二分
deepin
2021-06-30 19:04
#2

问题解决了,重启后开启secure boot,再次upgrade,设置正常。

Reply View the author
avatar
九度十二分
deepin
2021-06-30 19:05
#3

还有个问题,升级20.2.2后,确实输入密码进入系统慢多了。

Reply View the author
avatar
rhymos
deepin
2021-07-01 01:45
#4

同问题.... 开启secure boot无用

 
 
Reply View the author