apt-get autoremove想要删除linux头文件
今天我运行了apt-get autoremove
来删除不需要的软件包,它想删除linux-headers-3.2.0-37
和linux-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]?
删除这些是否安全? 我安装的内核是比autoremove列表标题更新的版本。
uname -r 3.2.0-38-generic
是的,在使用更高内核时删除旧内核和标头是安全的。
它显然是安全的,因为它不是同一个版本。 但是,您可以使用以下命令检查是否为版本3.2.0-38-generic安装了标头: apt-cache policy linux-headers-3.2.0-38-generic
。