[Feedback on issues] apt dist-upgrade失败
Tofloor
poster avatar
expskywalker
deepin
2026-01-21 13:24
Author

正在读取软件包列表... 完成
正在分析软件包的依赖关系树... 完成
正在读取状态信息... 完成
正在计算更新... 完成
下列软件包是自动安装的并且现在不需要了:
bamfdaemon coinor-libcbc3 coinor-libcgl1 coinor-libclp1 coinor-libcoinmp1v5 coinor-libcoinutils3v5 coinor-libosi1v5
dde-api-dbus-proxy-v1 dde-api-proxy deepin-dvsrv deepin-proxy deepin-pw-check deepin-screen-recorder-plugin
deepin-system-fixpkg deepin-system-update deepin-theme-macaron fonts-opensymbol fuse-overlayfs hello ipwatchd jfsutils
libabw-0.1-1 libargon2-1 libbamf3-2 libboost-locale1.83.0 libbox2d2 libcdr-0.1-1 libclucene-contribs1v5 libclucene-core1v5
libcmis-0.6-6 libcolamd3 libdframeworkdbus2 libe-book-0.1-1 libeot0 libepubgen-0.1-1 libetonyek-0.1-1 libexttextcat-2.0-0
libexttextcat-data libfreehand-0.1-1 libgtop-2.0-11 libgtop2-common libjwt0 liblangtag-common liblangtag1 libllvm19 libmhash2
libmspub-0.1-1 libmwaw-0.3-3 libmythes-1.2-0 libnumbertext-1.0-0 libnumbertext-data libodfgen-0.1-1 liborcus-0.18-0
liborcus-parser-0.18-0 libpagemaker-0.0-0 libqtermwidget6-2 libqxp-0.0-0 librasqal3 librdf0 librevenge-0.0-0 libssh-gcrypt-4
libstaroffice-0.0-0 libsuitesparseconfig7 libuno-cppu3 libuno-cppuhelpergcc3-3 libuno-purpenvhelpergcc3-3 libuno-sal3
libuno-salhelpergcc3-3 libutf8proc3 libvisio-0.1-1 libwlroots-0.18 libwnck-3-0 libwnck-3-common libwpd-0.10-10 libwpg-0.3-3
libwps-0.4-4 libxmlsec1-nss libxres1 libzmf-0.0-0 libzxcvbn0 lp-solve mobile-broadband-provider-info qdbus-qt6
qtermwidget-data uno-libs-private ure
使用'sudo apt autoremove'来卸载它(它们)。
下列软件包将被【卸载】:
linux-headers-6.12.53-amd64-desktop-rolling linux-image-6.12.53-amd64-desktop-rolling
升级了 0 个软件包,新安装了 0 个软件包,要卸载 2 个软件包,有 0 个软件包未被升级。
有 1 个软件包没有被完全安装或卸载。
解压缩后将会空出 609 MB 的空间。
您希望继续执行吗? [Y/n] y
(正在读取数据库 ... 系统当前共安装有 332658 个文件和目录。)
正在卸载 linux-headers-6.12.53-amd64-desktop-rolling (25.01.01.06) ...
正在卸载 linux-image-6.12.53-amd64-desktop-rolling (25.01.01.06) ...
dkms: removing: deepin-anything 0.0 (6.12.53-amd64-desktop-rolling) (x86_64)

Module deepin-anything-0.0 for kernel 6.12.53-amd64-desktop-rolling (x86_64):
Before uninstall, this module version was ACTIVE on this kernel.
Deleting /lib/modules/6.12.53-amd64-desktop-rolling/updates//vfs_monitor.ko
Running depmod..... done.
update-initramfs: Deleting /boot/initrd.img-6.12.53-amd64-desktop-rolling
正在生成 grub 配置文件 ...
找到主题:/boot/grub/themes/deepin-fallback/theme.txt
Found background image: /boot/grub/themes/deepin-fallback/background.jpg
警告: os-prober 将运行以检测其它可引导分区。
将使用 os-prober 的输出,以检测分区中可引导的二进制文件,并为其创建新的启动项。
完成
正在设置 grub-efi-amd64-signed (1.67.5+2.12+deepin1) ...
grub-install: 错误: /usr/lib/grub/i386-ieee1275/modinfo.sh 不存在。请指定 --target 或 --directory.
dpkg: 处理软件包 grub-efi-amd64-signed (--configure)时出错:
已安装 grub-efi-amd64-signed 软件包 post-installation 脚本 子进程返回错误状态 1
在处理时有错误发生:
grub-efi-amd64-signed
E: Sub-process /usr/bin/dpkg returned an error code (1)

Reply Favorite View the author
All Replies
zeno
deepin
2026-01-21 14:50
#1

安装一下grub-ieee1275-bin 再试试看

Reply View the author
expskywalker
deepin
2026-01-21 16:33
#2
zeno

安装一下grub-ieee1275-bin 再试试看

所以说还是通过系统设置的升级功能最靠谱?

Reply View the author
兆兆嘟嘟嘟
Moderator
2026-01-21 17:43
#3
expskywalker

所以说还是通过系统设置的升级功能最靠谱?

并非如此。这个错误与本次任务无关,可能是你之前某次使用apt处理grub-efi-amd64-signed包时遗留下来的错误,之后你每次使用apt时无论任务成功与否都会有这个提示,直到遗留问题解决。

Reply View the author
expskywalker
deepin
2026-01-21 23:27
#4
兆兆嘟嘟嘟

并非如此。这个错误与本次任务无关,可能是你之前某次使用apt处理grub-efi-amd64-signed包时遗留下来的错误,之后你每次使用apt时无论任务成功与否都会有这个提示,直到遗留问题解决。

该问题如何解决呢?

Reply View the author
兆兆嘟嘟嘟
Moderator
2026-01-21 23:58
#5
expskywalker

该问题如何解决呢?

执行 sudo apt reinstall grub-efi-amd64-signed试试看还有没有什么问题。

Reply View the author
expskywalker
deepin
a day ago
#6
兆兆嘟嘟嘟

执行 sudo apt reinstall grub-efi-amd64-signed试试看还有没有什么问题。

已经更新成功,谢谢了

Reply View the author