[problem help] 更新最新内测更新报错了。谁能帮忙解决
Tofloor
poster avatar
云天之上
deepin
2023-08-18 23:52
Author

正在设置 initramfs-tools (0.140.3-deepin1) ...
update-initramfs: deferring update (trigger activated)
正在处理用于 initramfs-tools (0.140.3-deepin1) 的触发器 ...
update-initramfs: Generating /boot/initrd.img-6.1.32-amd64-desktop-hwe
I: The initramfs will attempt to resume from /dev/nvme0n1p2
I: (UUID=a82c6f86-cc72-446f-b666-ebc283382c51)
I: Set the RESUME variable to override this.
live-boot: core filesystems devices utils udev blockdev dnsE: /usr/share/initramfs-tools/hooks/live failed with return 1.
update-initramfs: failed for /boot/initrd.img-6.1.32-amd64-desktop-hwe with 1.
dpkg: 处理软件包 initramfs-tools (--configure)时出错:
已安装 initramfs-tools 软件包 post-installation 脚本 子进程返回错误状态 1
在处理时有错误发生:
initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)

Reply Favorite View the author
All Replies
babyfengfjx
Super Moderator
CQA
2023-08-19 00:03
#1

需要提供全量日志信息,具体内容可能在上面没贴出来,帮忙贴出从更新命令执行,到最后的内容输出信息看看,不要做任何截取。

Reply View the author
云天之上
deepin
2023-08-19 00:23
#2

$ sudo apt update && sudo apt upgrade
请验证人脸或密码:验证成功
忽略:1 https://pro-driver-packages.uniontech.com eagle InRelease
命中:3 https://community-packages.deepin.com/beige beige InRelease
命中:4 https://proposed-packages.deepin.com/beige-testing unstable InRelease
命中:5 https://community-packages.deepin.com/driver driver InRelease
获取:2 https://app-store-files.uniontech.com/230818155906832/appstorev23 beige InRelease [6,097 B]
忽略:1 https://pro-driver-packages.uniontech.com eagle InRelease
忽略:1 https://pro-driver-packages.uniontech.com eagle InRelease
错误:1 https://pro-driver-packages.uniontech.com eagle InRelease
Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Error in the certificate verification. [IP: 2408:874f:b000:3:6c::63 443]
已下载 6,097 B,耗时 8秒 (767 B/s)
正在读取软件包列表... 完成
正在分析软件包的依赖关系树... 完成
正在读取状态信息... 完成
所有软件包均为最新。
W: 无法下载 https://pro-driver-packages.uniontech.com/dists/eagle/InRelease Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected. Could not handshake: Error in the certificate verification. [IP: 2408:874f:b000:3:6c::63 443]
W: 部分索引文件下载失败。如果忽略它们,那将转而使用旧的索引文件。
正在读取软件包列表... 完成
正在分析软件包的依赖关系树... 完成
正在读取状态信息... 完成
正在计算更新... 完成
升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 0 个软件包未被升级。
有 1 个软件包没有被完全安装或卸载。
解压缩后会消耗 0 B 的额外空间。
您希望继续执行吗? [Y/n] y
正在设置 initramfs-tools (0.140.3-deepin1) ...
update-initramfs: deferring update (trigger activated)
正在处理用于 initramfs-tools (0.140.3-deepin1) 的触发器 ...
update-initramfs: Generating /boot/initrd.img-6.1.32-amd64-desktop-hwe
I: The initramfs will attempt to resume from /dev/nvme0n1p2
I: (UUID=a82c6f86-cc72-446f-b666-ebc283382c51)
I: Set the RESUME variable to override this.
live-boot: core filesystems devices utils udev blockdev dnsE: /usr/share/initramfs-tools/hooks/live failed with return 1.
update-initramfs: failed for /boot/initrd.img-6.1.32-amd64-desktop-hwe with 1.
dpkg: 处理软件包 initramfs-tools (--configure)时出错:
已安装 initramfs-tools 软件包 post-installation 脚本 子进程返回错误状态 1
在处理时有错误发生:
initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)

Reply View the author
deepin
2023-08-23 01:18
#3

卸载live-boot 就没错误了,live-boot版本比较老,与新内核与新内核冲突

Reply View the author
幻想自由
deepin
2023-11-27 19:17
#4

所以具体怎么解决嘞

Reply View the author