[Kernel/Drive] 卸载内核文件目录不能完全删除
Tofloor
poster avatar
jiutian123
deepin
2021-01-30 19:15
Author

正在卸载 linux-modules-5.10.6-051006-generic (5.10.6-051006.202101091334) ...

(正在读取数据库 ... 系统当前共安装有 297951 个文件和目录。)

正在清除 linux-image-unsigned-5.10.6-051006-generic (5.10.6-051006.202101091334) 的配置文件 ...

rmdir: 删除 '/lib/modules/5.10.6-051006-generic' 失败: 目录非空

 

nsz@nsz-PC:/usr$ sudo apt-get purge linux-image-unsigned-5.10.6-*

只能手动删除么?

 

 

Reply Favorite View the author
All Replies
lcw0268
deepin
2021-01-30 21:04
#1

rm -rf /lib/modules/5.10.6-051006-generic就可以。

Reply View the author
Ziggy
deepin
2021-01-31 05:01
#2

apt执行不了,就肯定是人工了需要

Reply View the author
kearney
deepin
2021-02-14 01:47
#3

右键空白处、管理员权限打开,手动删除到回收站、一年之后发现确实没用,在回收站里删除

Reply View the author