1. Stop and disable the unattended upgrade service with the following commands
sudo systemctl stop unattended-upgrades
sudo systemctl disable unattended-upgrades
2. Edit the /etc/apt/apt.conf.d/20auto-upgrades configuration file (replace nano in command below with your preferred text editing program)
sudo nano /etc/apt/apt.conf.d/20auto-upgrades
Set "APT:Periodic:Unattended-Upgrade to have a value of "0" and save, such as in the below example:
APT::Periodic::Unattended-Upgrade "0";
The above instructions will sufficiently disable unattended upgrades. Note that apt will still perform daily processes in support of unattended upgrades, although it will not perform the upgrades automatically once the above configuration changes are in place. Optionally, you may disable these daily processes with the following commands:
sudo systemctl disable apt-daily-upgrade.timer
sudo systemctl disable apt-daily.timer
Important Note: System administrators are advised to implement a standard procedure in order to regularly perform manual upgrades when unattended upgrades are disabled. As part of doing this manual upgrade process, administrators should reboot the system after performing upgrades when any cuda* or nvidia* packages are updated, to ensure alignment between nvidia drivers and nvidia kernel modules.
Comments
0 comments
Article is closed for comments.