
當我運行時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
,但總是會出現此錯誤。
我怎樣才能解決這個問題?