1.找出系统已经安装的内核版本,在终端里输入命令:

dpkg --get-selections | grep linux-image

然后会显示系统中已安装的内核,例如:

flc@ubuntu:~$ dpkg --get-selections | grep linux-image
linux-image-3.0.0-12-generic   install
linux-image-3.0.0-19-generic   install
linux-image-3.0.0-20-generic   install
linux-image-generic    install


dpkg --get-selections [<表达式> ...] 把已选中的软件包列表打印到标准输出;

grep linux-image 匹配查找;

uname -a 查看已安装的linux内核版。


 

2.卸载旧的内核版本,在终端里输入命令:

sudo apt-get remove linux-image-3.0.0-12-generic linux-image-3.0.0-19-generic

 

 

 

 

相关文章:

  • 2021-08-14
  • 2021-12-29
  • 2022-12-23
  • 2021-12-27
  • 2021-10-02
  • 2022-12-23
  • 2021-10-29
  • 2022-12-23
猜你喜欢
  • 2021-12-31
  • 2021-12-31
  • 2021-12-31
  • 2022-02-24
  • 2021-12-21
  • 2022-12-23
  • 2021-12-16
相关资源
相似解决方案