Conheça-os aqui.
(via Blogtailors).
OS: Debian 7 "Wheezy"
update-notifier
(opcional)~$ su
~$ apt-get install update-notifier
cron-apt
~$ apt-get install cron-apt
/etc/cron-apt/action.d/3-download
de modo a actualizar apenas os pacotes (e não a distro):~$ nano /etc/cron-apt/action.d/3-download
autoclean -y
#dist-upgrade -d -y -o APT::Get::Show-Upgraded=true
upgrade -d -y -o APT::Get::Show-Upgraded=true
~$ nano /etc/cron-apt/action.d/5-security
upgrade -y -o APT::Get::Show-Upgraded=true
~$ nano /etc/cron-apt/config.d/5-security
OPTIONS="-o quiet=1 --no-list-cleanup -o Dir::Etc::SourceList=/etc/apt/security.sources.list -o Dir::Etc::SourceParts=\"/dev/null\""
security.sources.list
com base na sources.list
:~$ cp /etc/apt/sources.list /etc/apt/security.sources.list
deb http://security.debian.org/ wheezy/updates main
deb-src http://security.debian.org/ wheezy/updates main
/etc/cron.d/cron-apt
de acordo com o horário pretendido. Por defeito, corre às 4 da manhã.~$ nano /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
# Every hour.
# 0 * * * * root test -x /usr/sbin/cron-apt && /usr/sbin/cron-apt /etc/cron-apt/config2
# Every five minutes.
# */5 * * * * root test -x /usr/sbin/cron-apt && /usr/sbin/cron-apt /etc/cron-apt/config2
cron-apt
via anacron
criando um atalho no /etc/cron.daily
:~$ ln -s /usr/sbin/cron-apt /etc/cron.daily/