当我运行 sudo apt-get Upgrade 时,它​​显示有关 initramfs-tools 的错误

当我运行 sudo apt-get Upgrade 时,它​​显示有关 initramfs-tools 的错误

当我运行时sudo apt-get upgrade,我得到以下输出:

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] 
Setting up initramfs-tools (0.142) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.142) ...
update-initramfs: Generating /boot/initrd.img-6.1.0-18-amd64
E: /usr/share/initramfs-tools/hooks/fuse failed with return 1.
update-initramfs: failed for /boot/initrd.img-6.1.0-18-amd64 with 1.
dpkg: error processing package initramfs-tools (--configure):
 installed initramfs-tools package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)

首先我使用Ubuntu。我认为可能是操作系统的问题,所以我改用了 Debian。sudo apt-get由于此错误,所有相关命令都会失败。

我的机器有足够的存储空间 (3 TB),但我只使用了大约 1%。
@Stéphane Chazelas 这是输出df -T / /tmp /boot

Filesystem     Type  1K-blocks     Used      Available  Use% Mounted on
/dev/nvme1n1p2 ext4  1920224544    377924596 1444684128  21% /
/dev/nvme1n1p2 ext4  1920224544    377924596 1444684128  21% /
/dev/nvme1n1p2 ext4  1920224544    377924596 1444684128  21% /

我尝试过使用sudo apt-get autoremove && sudo apt-get clean,但总是会出现此错误。

我怎样才能解决这个问题?

相关内容