Unattended UpgradesLast updated Apr 1, 2023 Edit SourceUbuntuSysadminConfig for apt on Ubuntu:1 /etc/apt/apt.conf.d/50unattended-upgrades To disable auto-updating nvidia / cuda packages:1 2 3 4 5 6 7 // Python regular expressions, matching packages to exclude from upgrading Unattended-Upgrade::Package-Blacklist { // Do not upgrade nvidia stuff "nvidia*"; "libnvidia*"; "cuda*"; // ... At leats I think that should work.