29 Января, 2015

Автообновление Debian (для ленивых)

Денис Забияко
apt-get install unattended-upgrades
sudo dpkg-reconfigure -plow unattended-upgrades
/etc/apt/apt.conf.d/20auto-upgrades
APT::Periodic::Update-Package-Lists "1";
APT::Periodic::Unattended-Upgrade "1"; 

apt-get install apticron
vi /etc/apticron/apticron.conf

[...]# set EMAIL to a space separated list of addresses which will be notified of# impending updates#EMAIL="root@localhost admin@yourdomain.com"[...]

Логи тут
/var/log/unattended-upgrades/unattended-upgrades.log