[Kernel/Drive] 20.8系统更新异常 Resolved
Tofloor
poster avatar
核桃
deepin
2022-12-14 18:11
Author

【系统环境】
系统: community(20.8)

内核: 5.18.17-amd64-desktop-hwe

Processor: AMD Ryzen 7 PRO 4750U with Radeon Graphics @ 1.7GHz

Memory: 16GB

【操作步骤】
(问题发生前的操作过程,请尽可能详细)

控制台更新失败,使用apt-get update & upgrade更新异常

【问题现象】

Setting up initramfs-tools (0.137.35-1+dde) ...
update-initramfs: deferring update (trigger activated)
Setting up linux-firmware (1.202.7) ...
update-initramfs: Generating /boot/initrd.img-5.18.17-amd64-desktop-hwe
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.
W: plymouth: The plugin label.so is missing, the selected theme might not work as expected.
W: plymouth: You might want to install the plymouth-themes package to fix this.
W: Possible missing firmware /lib/firmware/amdgpu/ip_discovery.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vega10_cap.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/sienna_cichlid_cap.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navi12_cap.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/psp_13_0_5_ta.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/psp_13_0_5_toc.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/psp_13_0_5_asd.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/aldebaran_cap.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_10_3_6_rlc.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_10_3_6_mec2.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_10_3_6_mec.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_10_3_6_me.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_10_3_6_pfp.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_10_3_6_ce.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/sdma_5_2_6.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/sienna_cichlid_mes.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navi10_mes.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vcn_3_1_2.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/dcn_3_1_5_dmcub.bin for module amdgpu
I: The initramfs will attempt to resume from /dev/nvme0n1p7
I: (UUID=27dda69f-c5ba-4917-8390-97ce23544bdf)
I: Set the RESUME variable to override this.
live-boot: core filesystems devices utils udev blockdev dns.
pigz: abort: write error on  (No space left on device)
E: mkinitramfs failure cpio 141 pigz 28
update-initramfs: failed for /boot/initrd.img-5.18.17-amd64-desktop-hwe with 1.
dpkg: error processing package linux-firmware (--configure):
 installed linux-firmware package post-installation script subprocess returned error exit status 1
Processing triggers for initramfs-tools (0.137.35-1+dde) ...
update-initramfs: Generating /boot/initrd.img-5.18.17-amd64-desktop-hwe
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.
W: plymouth: The plugin label.so is missing, the selected theme might not work as expected.
W: plymouth: You might want to install the plymouth-themes package to fix this.
W: Possible missing firmware /lib/firmware/amdgpu/ip_discovery.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vega10_cap.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/sienna_cichlid_cap.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navi12_cap.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/psp_13_0_5_ta.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/psp_13_0_5_toc.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/psp_13_0_5_asd.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/aldebaran_cap.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_10_3_6_rlc.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_10_3_6_mec2.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_10_3_6_mec.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_10_3_6_me.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_10_3_6_pfp.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/gc_10_3_6_ce.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/sdma_5_2_6.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/sienna_cichlid_mes.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navi10_mes.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vcn_3_1_2.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/dcn_3_1_5_dmcub.bin for module amdgpu
I: The initramfs will attempt to resume from /dev/nvme0n1p7
I: (UUID=27dda69f-c5ba-4917-8390-97ce23544bdf)
I: Set the RESUME variable to override this.
live-boot: core filesystems devices utils udev blockdev dns.
pigz: abort: write error on  (No space left on device)
E: mkinitramfs failure cpio 141 pigz 28
update-initramfs: failed for /boot/initrd.img-5.18.17-amd64-desktop-hwe 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:
 linux-firmware
 initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)

Reply Favorite View the author
All Replies
核桃
deepin
2022-12-14 18:13
#1

电脑是thinkpad x13

Reply View the author
核桃
deepin
2022-12-14 18:15
#2

发现问题了,好像是空间不足了, 关键字No space left on device

$ sudo df -h 
Filesystem      Size  Used Avail Use% Mounted on
udev            7.4G     0  7.4G   0% /dev
tmpfs           1.5G  3.5M  1.5G   1% /run
/dev/nvme0n1p3   15G   14G  621M  96% /
tmpfs           7.5G  159M  7.3G   3% /dev/shm
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
tmpfs           4.0M     0  4.0M   0% /sys/fs/cgroup
/dev/nvme0n1p2  488M  425M   27M  95% /boot
/dev/nvme0n1p6   19G  7.1G   11G  41% /recovery
/dev/nvme0n1p5  404G  163G  221G  43% /data
/dev/loop0      115M  115M     0 100% /snap/core/13886
/dev/loop1      115M  115M     0 100% /snap/core/14056
/dev/loop2      117M  117M     0 100% /snap/core/14399
/dev/nvme0n1p1  300M  9.1M  291M   4% /boot/efi
/dev/loop3      9.2M  9.2M     0 100% /snap/shadowsocks/64
tmpfs           1.5G   96K  1.5G   1% /run/user/1000

Reply View the author
核桃
deepin
2022-12-14 18:55
#3
It has been deleted!
核桃
deepin
2022-12-14 18:55
#4

请问下根目录的数据如何清理,我担心删了一些系统文件

Reply View the author
Amber
deepin
2022-12-14 20:49
#5
核桃

请问下根目录的数据如何清理,我担心删了一些系统文件

下360(在启动器取消开机启动)或者去星火商店下系统助手

Reply View the author
核桃
deepin
2022-12-14 22:03
#6
Amber

下360(在启动器取消开机启动)或者去星火商店下系统助手

不好意思,没太理解你的意思,下了360这些,然后该怎么删除根目录数据,没理解两者关联

Reply View the author
Amber
deepin
2022-12-15 02:06
#7
核桃

不好意思,没太理解你的意思,下了360这些,然后该怎么删除根目录数据,没理解两者关联

啊,就是用这两个软件的清理功能清理根目录的垃圾文件啊,是我理解错你的意思吗?你不是想清理根目录的垃圾吗?

Reply View the author
核桃
deepin
2022-12-15 17:44
#8
Amber

啊,就是用这两个软件的清理功能清理根目录的垃圾文件啊,是我理解错你的意思吗?你不是想清理根目录的垃圾吗?

试了,不行,无法清理掉一些数据,我本地好像还有5.15的内核包,我看看能否清理掉试试,很麻烦

Reply View the author
核桃
deepin
2022-12-15 17:52
#9
Amber

啊,就是用这两个软件的清理功能清理根目录的垃圾文件啊,是我理解错你的意思吗?你不是想清理根目录的垃圾吗?

我删掉了5.15的包,根目录腾出来2.7G的剩余空间,还是不行,现在到底需要多少空间?

$ sudo df -h 
Filesystem      Size  Used Avail Use% Mounted on
udev            7.4G     0  7.4G   0% /dev
tmpfs           1.5G  2.1M  1.5G   1% /run
/dev/nvme0n1p3   15G   12G  2.7G  82% /
tmpfs           7.5G  5.3M  7.5G   1% /dev/shm
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
tmpfs           4.0M     0  4.0M   0% /sys/fs/cgroup
/dev/nvme0n1p2  488M  430M   22M  96% /boot
/dev/nvme0n1p5  404G  129G  255G  34% /data
/dev/nvme0n1p6   19G  7.1G   11G  41% /recovery
/dev/loop0      115M  115M     0 100% /snap/core/14056
/dev/loop1      115M  115M     0 100% /snap/core/13886
/dev/loop2      117M  117M     0 100% /snap/core/14399
/dev/loop3      9.2M  9.2M     0 100% /snap/shadowsocks/64
/dev/nvme0n1p1  300M  9.1M  291M   4% /boot/efi
tmpfs           1.5G   84K  1.5G   1% /run/user/1000

Reply View the author
核桃
deepin
2022-12-15 17:53
#10

总结, 目前遇到两个问题, 一个是那些警告信息到底什么意思,是缺少了什么包?第二个是更新需要多少空间,这个没法确定情况

Reply View the author
Amber
deepin
2022-12-15 20:46
#11
核桃

试了,不行,无法清理掉一些数据,我本地好像还有5.15的内核包,我看看能否清理掉试试,很麻烦

这样啊,那我没办法了,我也是小白请找别的大佬帮忙吧,对不起帮不了你了

Reply View the author
核桃
deepin
2023-01-26 22:35
#12

通过清理boot目录的文件解决了,但是引发了桌面崩溃问题, https://bbs.deepin.org/zh/post/249119

Reply View the author
核桃
deepin
2023-01-26 22:38
#13
Amber

啊,就是用这两个软件的清理功能清理根目录的垃圾文件啊,是我理解错你的意思吗?你不是想清理根目录的垃圾吗?

想问下怎么干掉360这个流氓软件,不想用了

Reply View the author
Amber
deepin
2023-01-27 06:28
#14
核桃

想问下怎么干掉360这个流氓软件,不想用了

不是直接在启动器删除就好嘛?不行就先关掉软件设置里的“自我防护”之类的选项,退出软件先再删

Reply View the author
fax928
deepin
2023-01-28 03:06
#15
核桃

想问下怎么干掉360这个流氓软件,不想用了

360不流氓吧,windows下广告都能关(360安全卫士里和360浏览器里)

单位电脑都安装,没出现过什么勒索病毒,都挺好的。

Reply View the author