sudo apt purge linux-image-5.18* linux-headers-5.18*
sudo apt autoremove --purge '*5.18.17*'
sudo apt purge linux-image-5.18* linux-headers-5.18*
我运行的结果是这样的
sudo apt autoremove --purge '*5.18.17*'
运行结果是这样的
参考一下:https://bbs.deepin.org/post/254997
运行结果是这样的
看起来你已经卸载掉了,再 ls /boot 看看
我运行的结果是这样的
5.18.17没有安装啊
参考一下:https://bbs.deepin.org/post/254997
还是没有解决问题
看起来你已经卸载掉了,再 ls /boot 看看
还是有的
在开机启动项还有20.9版本的内容
5.18.17没有安装啊
在 /boot 路径下是可以看到关于5.18.17内核的文件
1、使用命令 dpkg --get-selections| grep linux 列出当前安装的内核
2、比如要卸载Linux5.1.9 则执行: sudo apt remove --purge linux-headers-5.1.9-050109
3、除了linux-header,还包括linux-modules和linux-image-unsigned,一并卸载
因为卸载linux-modules会自动同时卸载linux-image-unsigned
所以只需一个命令:sudo apt remove --purge linux-modules-5.1.9-050109-generic
这样就把Linux5.1.9卸载掉了.
主要问题是/boot下没有多余空间。
参考 https://bbs.deepin.org/post/260648
使用Grub Customizer 程序删除多余启动项之后可以正常更新了。
Popular Ranking
ChangePopular Events
More
以前20.9使用的内核是5.18.17,使用升级工具升级到23之后使用的内核是6.1.32。那么怎样卸载旧内核呢?