apt-get autoremove想要删除Linux标头


14

今天,我跑去apt-get autoremove删除不需要的程序包,它想删除linux-headers-3.2.0-37linux-headers-3.2.0-37-generic

Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
libglademm-2.4-1c2a linux-headers-3.2.0-37 linux-headers-3.2.0-37-generic ttf-umefont    ttf-unfonts-core
0 upgraded, 0 newly installed, 5 to remove and 0 not upgraded.
After this operation, 67.6 MB disk space will be freed.
Do you want to continue [Y/n]? 

删除这些文件安全吗?我安装的内核比自动删除列表的头文件更新。

uname -r
3.2.0-38-generic

Answers:


14

是的,当您使用更高的内核时,删除旧的内核和标头是安全的。


谢谢。我不确定为什么autoremove想要删除旧内核。他们通常坚持。
paed808

2

由于它不是同一版本,因此显然很安全。但是,您可以使用以下命令检查是否为3.2.0-38-generic版本安装了标题apt-cache policy linux-headers-3.2.0-38-generic

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.