Авто обновление Debian Wheezy с помощью cron-apt

1. Установить cron-apt
apt-get install cron-apt

2. отредактировать файл /etc/cron-apt/action.d/3-download

/etc/cron-apt/action.d/3-download
autoclean -y upgrade -d -y -o APT::Get::Show-Upgraded=true

удалить ключ -d, чтобы скачивалось и устанавливалось.

3. вписать в файл /etc/cron-apt/config

# Configuration for cron-apt. For further information about the possible 
# configuration settings see /usr/share/doc/cron-apt/README.gz. 
MAILON="output" 
DEBUG="verbose"

4. по умолчанию обновление каждый день в 4 часа /etc/cron.d/cron-apt

/etc/cron.d/cron-apt
# # Regular cron jobs for the cron-apt package # 
# Every night at 4 o'clock. 
0 4 * * * root test -x /usr/sbin/cron-apt && /usr/sbin/cron-apt 

5. смотреть лог тут /var/log/cron-apt/log

/var/log/cron-apt/log 
CRON-APT ACTION: 3-download
CRON-APT LINE: /usr/bin/apt-get -o quiet=1 autoclean -y
Reading package lists...
Building dependency tree...
Reading state information...
CRON-APT LINE: /usr/bin/apt-get -o quiet=1 dist-upgrade -d -y -o APT::Get::Show-Upgraded=true
Reading package lists...
Building dependency tree...
Reading state information...
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.