Enable Unattended Upgrades

  1. Verify the package is installed with 
sudo apt-get install unattended-upgrades -y
  1. Run sudo dpkg-reconfigure -plow unattended-upgrades which will then display the following interactive prompt:
  2. Select yes. Once completed, the app will create the file /etc/apt/apt.conf.d/20auto-upgrades with the correct settings. There may be an existing/conflicting installation screen that looks like the screenshot below. If you see that screen, simply replace the file with the new version to get the default behavior.