This tutorial will enable automatic download and installation of security updates for Ubuntu.
First we need to install unattended-upgrades
:
sudo apt-get install unattended-upgrades
Then we need to enable it:
sudo dpkg-reconfigure -plow unattended-upgrades
More information can be found here.