Created
October 12, 2023 06:41
-
-
Save Kyungpyo-Kim/61bfcaa7a40caa77b7d38c5fcb45d6b5 to your computer and use it in GitHub Desktop.
script for holding nvidia drivers version using apt-mark
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
#!/bin/bash | |
for i in $(dpkg -l | grep nvidia | awk '{print $2}'); do | |
echo "apt-mark hold $i" | |
sudo apt-mark hold $i | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment