Recent Ubuntu versions have automated updates enabled. However, sometimes you may want to turn off automatic updates in Ubuntu or disable unattended automatic updates, since they increase CPU usage. In this article, we will look at how to disable automatic updates in Ubuntu.
How To Disable Automatic Updates in Ubuntu
It is very easy to disable automatic updates in ubuntu.
Open terminal and run the following command to open the auto upgrades file.
$ sudo vi /etc/apt/apt.conf.d/20auto-upgrades
Also read : How to Set up Static IP in Ubuntu
Change the ‘0’ in following line to ‘1’
Also read : How to Enable Key based Authentication in SSH
If the above steps do not work for you, try running the following command to achieve the same result.
sudo dpkg-reconfigure unattended-upgrades