Created
June 4, 2019 15:19
-
-
Save h3ct0r/1f74f1654c96e1299b26320f1d0162f7 to your computer and use it in GitHub Desktop.
Mark the kernel as hold so its never updated. Useful for cases where a kernel upgrade breaks your cuda/nvidia/etc environment.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo linux-image-generic hold | sudo dpkg --set-selections | |
dpkg -l linux-image-generic | |
echo linux-headers-generic hold | sudo dpkg --set-selections | |
dpkg -l linux-headers-generic | |
sudo apt update | |
apt-mark showhold |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment