How to disable Linux Image and Header Updates?

by DWLF   Last Updated January 14, 2018 12:02 PM

I'm running an Ethereum mining rig on Xubuntu (Ubuntu 16.04.3 LTS). With this, I have been running the latest AMD Blockchain GPU drivers and ROCM kernel. I had 4 GPUs running at 29 M/H, but upon rebooting my system these dropped to 23 M/H. Initially I thought this was an issue with my AMD drivers, and tried a fresh installation of everything. However, it appears to have been caused by an update to linux image and headers to version 4.13.0-26. Running the following commands resolved the issue:

sudo apt remove linux-image-4.13.0-26-generic
sudo apt remove linux-headers-4.13.0-26-generic
reboot

My question: Is there a way to avoid these updating again while still being able to run other general package updates?



Answers 1


Just do:

sudo apt remove linux-image-generic linux-headers-generic

linux-image-generic and linux-headers-generic are dummy (empty) packages, which depends on the most recently released kernel package.

After that, you will not get a kernel update.

Olimjon
Olimjon
January 14, 2018 11:36 AM

Related Questions




how to install 32 bit python in 64 bit ubuntu

Updated June 06, 2017 05:02 AM

Install kernel headers 3.8.11

Updated October 13, 2017 00:02 AM

apt-get and linux header error

Updated March 05, 2017 16:02 PM