This question already has an answer here:
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?