I have installed and uninstalled a couple of kernels(including some low latency ones) to test them out.
Now I have:
$ uname -r
4.8.0-39-generic
But now I get the following message whenever I try to install other packages:
The following package was automatically installed and is no longer required:
thermald
Use 'sudo apt autoremove' to remove it.
I have tried to check the date when this thermald was installed using this answer here
And the date it shows me is: thermald 2016-07-19 15:48:01.000000000 -0500
I have installed Ubuntu in Nov 2016. So this is not the date when thermald is installed.
So is it safe to remove it using autoremove
?
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.2 LTS
Release: 16.04
Codename: xenial
I have used this tool to remove all the inactive kernels. ( Also tried 4.9.12 and 4.10 using this same tool)
I got the 4.8 kernel by doing this:
$ sudo apt-get update
$ apt-cache search linux-image
$ sudo apt-get install linux-headers-4.8.0-39-generic linux-image-4.8.0-39-generic linux-image-extra-4.8.0-39-generic
linux-generic linux-headers-4.4.0-64 linux-headers-4.4.0-64-generic linux-headers-generic linux-image-4.4.0-64-generic linux-image-extra-4.4.0-64-generic linux-image-generic
. In 16.04.2, the main LTS kernel is 4.8 right? So why is it installing 4.4 to me? I actually had to manually install 4.8. – Feb 26 '17 at 23:21apt-cache search linux-image
andsudo apt-get install linux-headers-4.8.0-39-generic linux-image-4.8.0-39-generic linux-image-extra-4.8.0-39-generic
. The output oflsb_release -a
gives meDescription: Ubuntu 16.04.2 LTS
The meta packages were probably removed because I have used this tool to remove it: https://github.com/mtompkins/linux-kernel-utilities – Feb 26 '17 at 23:34sudo apt install linux-image-generic-hwe-16.04 xserver-xorg-hwe-16.04
and removesudo apt purge linux-generic
. After that,sudo apt autoremove
should clean up the rest. For more info see https://wiki.ubuntu.com/Kernel/LTSEnablementStack and http://askubuntu.com/questions/248914/ – Byte Commander Feb 27 '17 at 00:14xserver-xorg-core-hwe-16.04
is just an updated version of 1.18 as well. But I am not sure how well an HWE kernel and the GA Xorg stack work together... Should be okay, but the Ubuntu Wiki recommends upgrading both at once. – Byte Commander Feb 27 '17 at 00:42