sudo apt-get dist-upgrade sudo apt-get update sudo apt-get upgrade
セキュリティアップデートの自動化
https://help.ubuntu.com/community/AutomaticSecurityUpdates
の2の 「Using the "unattended-upgrades" package」を使う
sudo dpkg-reconfigure --priority=low unattended-upgrades