# apt-get install cron-apt
# vi /etc/cron-apt/config
APTCOMMAND=/usr/bin/apt-get
APTCOMMAND=/usr/bin/aptitude
ACTIONDIR="/etc/cron-apt/action.d"
ACTIONCONFDIR="/etc/cron-apt/config.d"
ERRORMSGDIR="/etc/cron-apt/errormsg.d"
LOGMSGDIR="/etc/cron-apt/logmsg.d"
SYSLOGONMSGSDIR="/etc/cron-apt/syslogonmsgs"
ERROR="/var/log/cron-apt/error"
TEMP="/var/log/cron-apt/temp"
LOG="/var/log/cron-apt/log"
SYSLOGON="upgrade"
HOSTNAME="localhost"
# vi /etc/cron.d/cron-apt(自動実行の時刻が午前4時になっているので、自分の好きな時間に変える。)
# vi /etc/cron-apt/action.d/3-download
dist-upgrade -d -y -o APT::Get::Show-Upgraded=true
↓の様に変更
dist-upgrade -y -o APT::Get::Show-Upgraded=true
|