请教一下。我升级了最新的内核。怎么删除旧的内核呀
Tofloor
poster avatar
whwei
deepin
2020-09-24 03:19
Author
我按照论坛的一键升级内核教程,升级了内核,然后按照他帖子下面写的删除内核方法。
执行了之后只显示最新内核。没有旧内核选项呢。
请问如何删除旧内核
Reply Favorite View the author
All Replies
Ziggy
deepin
2020-09-24 03:35
#1
sudo apt pure linux-headers,看版本卸载
Reply View the author
lcw0268
deepin
2020-09-24 03:37
#2
楼主不知道看版本,就不要卸载了,占有不了多少磁盘空间,还没有坏处。
Reply View the author
SamLukeYes
deepin
2020-09-24 04:02
#3
https://bbs.deepin.org/post/202749
楼主不知道看版本,就不要卸载了,占有不了多少磁盘空间,还没有坏处。

如果单独分了 /boot 就不一样了
Reply View the author
SamLukeYes
deepin
2020-09-24 04:06
#4
  1. sudo apt autopurge
Copy the Code

如果这样卸不掉就不推荐卸载,留作备用吧
Reply View the author
广雅居士
deepin
2020-09-24 04:22
#5
我也一直保留者。
Reply View the author
young999888
deepin
2020-09-24 04:38
#6
删除旧内核:

  检查系统中安装的内核镜像:

  $ dpkg --list | grep linux-image

  $ dpkg --list | grep linux-headers

  在列出的内核镜像中移除一个特定的版本:

  $ sudo apt-get purge linux-image-3.19.0-15

  $ sudo apt-get purge linux-headers-3.19.0-15
Reply View the author
Dengshuangjang
deepin
2020-09-24 04:51
#7
https://bbs.deepin.org/post/202749
删除旧内核:

  检查系统中安装的内核镜像:

没你说的那么复杂:
sudo dpkg --get-selections|grep linux
sudo apt-get remove linux-image-2.6.27-7-generic
dpkg --list|grep linux-image
sudo apt-get purge linux-image-4.14.12-041412-generic
Reply View the author