[Kernel/Drive] Deepin 20.2.3内核问题
Tofloor
poster avatar
林统度
deepin
2021-08-29 23:55
Author

我的系统是Deepin 20.2.3,在终端使用命令升级系统内核时发现如下图

sudo update-initramfs -u
请输入密码:
验证成功
update-initramfs: Generating /boot/initrd.img-5.10.50-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.
/usr/share/initramfs-tools/hooks/kms: 172: /usr/share/initramfs-tools/hooks/kms: mkdir: Text file busy
E: /usr/share/initramfs-tools/hooks/kms failed with return 2.
update-initramfs: failed for /boot/initrd.img-5.10.50-amd64-desktop with 2.

1.“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.”这大概是要我卸载cryptsetup-initramfs这个软件包,但是一旦卸载,其它依赖也会被卸载,有没有命令可以单独卸载cryptsetup-initramfs而不影响其他软件包?

2.“E: /usr/share/initramfs-tools/hooks/kms failed with return 2.”是什么意思?为什么失败?

3.“update-initramfs: failed for /boot/initrd.img-5.10.50-amd64-desktop with 2.”是什么意思?为什么失败?

Reply Favorite View the author
All Replies
avatar
正直笔尖
deepin
2021-08-30 00:15
#1

别把Linux当成windows, 别用Windows的升级惯性思维,Linux系统小保障少,升级系统风险大,容易故障一大堆。

大家熟知的Windows一重启 能解决95%的小问题,Linux呢?是啥样还是啥样。

Linux大版本的迭代更新,最好拷贝重要资料,然后全新安装,几乎没有故障,完美使用。

各有利弊,Linux系统小安装快,Windows安装慢,过程繁琐。

Reply View the author
avatar
Barry-okx
Junior Packager
2021-08-30 00:25
#2

1 这个不重要   只是个警告  没有实际影响

Reply View the author
avatar
Barry-okx
Junior Packager
2021-08-30 00:26
#3
/usr/share/initramfs-tools/hooks/kms: 172: /usr/share/initramfs-tools/hooks/kms: mkdir: Text file busy
这个是问题
Reply View the author
avatar
keep_up
deepin
2021-08-30 03:01
#4

老问题了,但不影响正常使用。就看deepin什么时候解决一下。

Reply View the author
avatar
WangZhongyun
deepin
2021-08-31 01:54
#5

应该重装就没有这个问题了。

Reply View the author
avatar
林统度
deepin
2021-09-01 03:12
#6
WangZhongyun

应该重装就没有这个问题了。

重新安装Deepin 20.2.3也是这个样子

Reply View the author
avatar
WangZhongyun
deepin
2021-09-02 20:43
#7
林统度

重新安装Deepin 20.2.3也是这个样子

安装系统选择5.12的内核试试吧

Reply View the author
avatar
j***a@outlook.com
deepin
2024-05-23 07:39
#8
It has been deleted!