我确实sudo apt-get autoremove --purge
释放了一些空间,但它也删除了shim
今天刚刚更新的最新包。
shim (15.4-0ubuntu7)
今天还更新了
shim-signed (15.4-0ubuntu7)
但shim-signed
并未被移除。
如果autoremove
删除旧版本就不再需要了,但我相信shim
这是安全启动过程的一个基本要素,不是吗?请帮我理解为什么它被删除了。
Ubuntu 20.04 LTS
答案1
看起来文件shim
已被移动到shim-signed
,并且可能shim
不再需要。
这文件列表来自 focal ( )shim
附带的原始版本15+1533136590.3beb971-0ubuntu1
/usr/lib/shim/BOOTX64.CSV
/usr/lib/shim/fbx64.efi
/usr/lib/shim/mmx64.efi
/usr/lib/shim/shimx64.efi
/usr/share/doc/shim/changelog.Debian.gz
/usr/share/doc/shim/copyright
这文件列表shim
来自焦点更新中的当前版本 ( 15.4-0ubuntu7
)
/usr/share/doc/shim/buildinfo_amd64.gz
/usr/share/doc/shim/changelog.Debian.gz
/usr/share/doc/shim/copyright
这文件列表来自 focal ( )shim-signed
附带的原始版本1.40.3+15+1533136590.3beb971-0ubuntu1
/usr/lib/shim/mok/openssl.cnf
/usr/lib/shim/shimx64.efi.signed
/usr/sbin/update-secureboot-policy
/usr/share/apport/package-hooks/source_shim-signed.py
/usr/share/apport/package-hooks/source_shim.py
/usr/share/doc/shim-signed/changelog.Debian.gz
/usr/share/doc/shim-signed/copyright
/usr/share/lintian/overrides/shim-signed
这文件列表shim-signed
来自焦点更新中的当前版本 ( 1.40.6+15.4-0ubuntu7
)
/usr/lib/shim/BOOTX64.CSV
/usr/lib/shim/fbx64.efi
/usr/lib/shim/mmx64.efi
/usr/lib/shim/mok/openssl.cnf
/usr/lib/shim/shimx64.efi
/usr/lib/shim/shimx64.efi.dualsigned
/usr/lib/shim/shimx64.efi.signed
/usr/sbin/update-secureboot-policy
/usr/share/apport/package-hooks/source_shim-signed.py
/usr/share/apport/package-hooks/source_shim.py
/usr/share/doc/shim-signed/changelog.Debian.gz
/usr/share/doc/shim-signed/copyright
/usr/share/lintian/overrides/shim-signed
看来这些文件现在是其中的一部分shim-signed
,并且shim
不再提供任何关键信息
/usr/lib/shim/BOOTX64.CSV
/usr/lib/shim/fbx64.efi
/usr/lib/shim/mmx64.efi
/usr/lib/shim/shimx64.efi
发生这一变化的原因似乎是新的上游 15.4 版本,并且在 Launchpad 中跟踪。特别是,更新日志记录
- Update packaging to pull fb and mm from shim-signed package as in
later releases, dropping the runtime dependency on shim.