Kali upgrade failed

What have you tried:
sudo apt upgrade

What is the error:

sudo apt full-upgrade -y
摘要:
升级:0,安装:0,卸载:0,不升级:0
有 6 个软件包没有被完全安装或卸载。
所需的空间:0 B / 115 GB 可用

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

dpkg: 处理软件包 plymouth-label (–configure)时出错:
依赖关系问题 - 仍未被配置
dpkg: 依赖关系问题使得 kali-themes 的配置工作不能继续:
kali-themes 依赖于 plymouth-label;然而:
软件包 plymouth-label 尚未配置。

dpkg: 处理软件包 kali-themes (–configure)时出错:
依赖关系问题 - 仍未被配置
dpkg: 依赖关系问题使得 kali-desktop-core 的配置工作不能继续:
kali-desktop-core 依赖于 kali-themes;然而:
软件包 kali-themes 尚未配置。

dpkg: 处理软件包 kali-desktop-core (–configure)时出错:
依赖关系问题 - 仍未被配置
dpkg: 依赖关系问题使得 kali-desktop-xfce 的配置工作不能继续:
kali-desktop-xfce 依赖于 kali-desktop-core;然而:
软件包 kali-desktop-core 尚未配置。

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

What device is this on:

1 Like

Just putting this out here for now:

dpkg --configure plymouth
dpkg: 依赖关系问题使得 plymouth 的配置工作不能继续:
plymouth 依赖于 initramfs-tools | dracut;然而:
软件包 initramfs-tools 尚未配置。
未安装软件包 dracut。

dpkg: 处理软件包 plymouth (–configure)时出错:
依赖关系问题 - 仍未被配置
在处理时有错误发生:
plymouth

安装 apt install dracut

I met the same problem.
I tried to fix it but it was worse.
Even when I restarted the system, it couldn’t guide to the system.
How can I do?

Did you do:

sudo apt full-upgrade

hi same ploblem
use

d/l/plymouth.hook: Avoid installing a font already present in the initramfs (2205bba8) · Commits · Debian / plymouth · GitLab

or

d/l/plymouth.hook: Do not explicitly install DejaVu fonts (9bf11113) · Commits · Debian / plymouth · GitLab

I solved it!
Type:

sudo apt-mark hold plymouth plymouth-label kali-themes kali-desktop-core kali-desktop-xfce initramfs-tools

and then:

sudo apt update && sudo apt upgrade -y
sudo apt autoremove && sudo clean
sudo apt-mark unhold plymouth plymouth-label kali-themes kali-desktop-core kali-desktop-xfce initramfs-tools

Throught this,you can avoid upgrading plymouth plymouth-label kali-themes kali-desktop-core kali-desktop-xfce initramfs-toolsand then update your system.

For anyone finding this later on - this is not how you update kali, follow the documentation