[Seek Help] 系统更新报错如正文,如何处理?
Tofloor
poster avatar
方吉元
deepin
2023-02-08 01:30
Author

正在设置 initramfs-tools (0.137.36-deepin1) ...
update-initramfs: deferring update (trigger activated)
正在设置 deepin-fix-init (0.1.4) ...
update-initramfs: Generating /boot/initrd.img-5.18.17-amd64-desktop-hwe
E: /usr/share/initramfs-tools/hooks/deepin-fix-init failed with return 1.
update-initramfs: failed for /boot/initrd.img-5.18.17-amd64-desktop-hwe with 1.
dpkg: 处理软件包 deepin-fix-init (--configure)时出错:
已安装 deepin-fix-init 软件包 post-installation 脚本 子进程返回错误状态 1
dpkg: 依赖关系问题使得 dde 的配置工作不能继续:
dde 依赖于 deepin-fix-init;然而:
软件包 deepin-fix-init 尚未配置。

dpkg: 处理软件包 dde (--configure)时出错:
依赖关系问题 - 仍未被配置
正在处理用于 initramfs-tools (0.137.36-deepin1) 的触发器 ...
update-initramfs: Generating /boot/initrd.img-5.18.17-amd64-desktop-hwe
E: /usr/share/initramfs-tools/hooks/deepin-fix-init failed with return 1.
update-initramfs: failed for /boot/initrd.img-5.18.17-amd64-desktop-hwe with 1.
dpkg: 处理软件包 initramfs-tools (--configure)时出错:
已安装 initramfs-tools 软件包 post-installation 脚本 子进程返回错误状态 1
在处理时有错误发生:
deepin-fix-init
dde
initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)

Reply Favorite View the author
All Replies
miaoaaa
deepin
2023-02-08 01:46
#1

IMG_20230207_061828.jpg

Reply View the author
方吉元
deepin
2023-02-08 01:48
#2
miaoaaa

IMG_20230207_061828.jpg

额,谢谢亲。

Reply View the author
青稚
deepin
2023-02-08 01:51
#3

看我帖子,有解决问题的方法,最近帖子

Reply View the author
青稚
deepin
2023-02-08 01:51
#4
方吉元

额,谢谢亲。

他发的评论是在我帖子下面的

Reply View the author
忘记、过去
deepin
2023-02-08 01:52
#5
方吉元

额,谢谢亲。

https://bbs.deepin.org/post/250859

帖子 8 楼里回复,依次执行

sudo apt install fbterm
sudo dpkg-reconfigure deepin-fix-init

再更新就好了

Reply View the author
fax928
deepin
Q&A Team
2023-02-08 02:21
#6

楼主是v23alpha吗?(推的)

Reply View the author
fax928
deepin
Q&A Team
2023-02-08 02:21
#7
忘记、过去

https://bbs.deepin.org/post/250859

帖子 8 楼里回复,依次执行

sudo apt install fbterm
sudo dpkg-reconfigure deepin-fix-init

再更新就好了

是不是缺 deepin-fix-init 这个依赖的原因?

Reply View the author
忘记、过去
deepin
2023-02-08 04:27
#8
fax928

是不是缺 deepin-fix-init 这个依赖的原因?

不是,好像是 deepin-fix-init 这个包安装时调用了 fbterm 这个命令,但是有的机器上没安装,导致脚本报错退出了。手动安装 fbterm 后重新配置 deepin-fix-init 就好了。后面应该会把 fbterm 加进 deepin-fix-init 的依赖里面再推更新的

Reply View the author
晚秋(lateautumn)
Moderator
2023-02-08 17:08
#9
fax928

楼主是v23alpha吗?(推的)

应该是V20.8吧,V23应该没有内测吧。

Reply View the author
fax928
deepin
Q&A Team
2023-02-08 17:18
#10
晚秋(lateautumn)

应该是V20.8吧,V23应该没有内测吧。

嗯,推测错了,我是这么推测的,一般用20.8和V23,20.8搜不到 deepin-fix-init 这个依赖,所以我推测是V23,没想到是20.8还有内测tail

Reply View the author