[Seek Help] 使用 sudo apt remove 无法卸载不要的内核模块?
Tofloor
poster avatar
zcl318
deepin
2022-01-01 00:34
Author

例如 :sudo apt remove --purge linux-modules-5.xx.xx-amd64-desktop

莫非我输入的不对?

Reply Favorite View the author
All Replies
deepin-superuser
deepin
2022-01-01 00:54
#1
sudo apt-get purge linux-headers-5.xx.xx-amd64-desktop linux-image-5.xx.xx-amd64-desktop
Reply View the author
enforcee
deepin
2022-01-01 04:34
#2

我记得有系统是用linux-modules这种包名的,但是deepin不是。deepin的内核模块在linux-image-*包里面

楼主可以用 dpkg -l 列出所有已安装的软件包,dpkg -L 包名 查看包中所属文件

Reply View the author
jjcui8595
deepin
2022-01-01 05:37
#3

包名不对

Reply View the author
zcl318
deepin
2022-01-03 20:07
#4
enforcee

我记得有系统是用linux-modules这种包名的,但是deepin不是。deepin的内核模块在linux-image-*包里面

楼主可以用 dpkg -l 列出所有已安装的软件包,dpkg -L 包名 查看包中所属文件

果然如此,多谢。

Reply View the author
zcl318
deepin
2022-01-03 21:19
#5
deepin-superuser
sudo apt-get purge linux-headers-5.xx.xx-amd64-desktop linux-image-5.xx.xx-amd64-desktop

thx~

Reply View the author