apt-get install unattended-upgrades apt-listchangesEdit /etc/apt/apt.conf.d/50unattended-upgrades and uncomment the line:
Unattended-Upgrade::Mail "root";Edit /etc/apt/apt.conf.d/20auto-upgrades, and add the following:
APT::Periodic::Update-Package-Lists "1"; APT::Periodic::Unattended-Upgrade "1";Or run the following command as root:
dpkg-reconfigure -plow unattended-upgrades