[System Installation] apt upgrade出现依赖错误
Tofloor
poster avatar
chenyee
deepin
2023-02-09 01:33
Author

今天运行 apt upgrade 出现

deepin-fix-init
dde
initramfs-tools

三个设置错误,这个要怎么弄?

正在设置 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.15.77-amd64-desktop
cryptsetup: WARNING: The initramfs image may not contain cryptsetup binaries
nor crypto modules. If that's on purpose, you may want to uninstall the
'cryptsetup-initramfs' package in order to disable the cryptsetup initramfs
integration and avoid this warning.
E: /usr/share/initramfs-tools/hooks/deepin-fix-init failed with return 1.
update-initramfs: failed for /boot/initrd.img-5.15.77-amd64-desktop 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.15.77-amd64-desktop
cryptsetup: WARNING: The initramfs image may not contain cryptsetup binaries
nor crypto modules. If that's on purpose, you may want to uninstall the
'cryptsetup-initramfs' package in order to disable the cryptsetup initramfs
integration and avoid this warning.
E: /usr/share/initramfs-tools/hooks/deepin-fix-init failed with return 1.
update-initramfs: failed for /boot/initrd.img-5.15.77-amd64-desktop 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
sammy-621
deepin
2023-02-09 01:37
#1

sudo apt install fbterm

sudo dpkg-reconfigure deepin-fix-init

试下

Reply View the author
青稚
deepin
2023-02-09 01:46
#2

看我帖子,这个问题,翻翻dpkg那个帖子,有写怎么解决!

Reply View the author
方吉元
deepin
2023-02-09 02:43
#3
sammy-621

sudo apt install fbterm

sudo dpkg-reconfigure deepin-fix-init

试下

这个有效。

Reply View the author
chenyee
deepin
2023-02-09 04:39
#4

问题解决,说明今天有很多人这个问题😄

Reply View the author