Apticron

Apticron es una de esas herramientas que agradecemos los sysadmins que tenemos máquinas Debian.

Se trata de un pequeño script que comprueba las novedades en cuanto a actualizaciones de software instalado se refiere y envía un correo/informe con la lista de updates.

Instalarlo es tan simple como hacer un apt-get install apticron, configurar la cuenta de correo a la que van a llegar los informes también es trivial:
$ nano -w /etc/apticron/apticton.conf
EMAIL=\"tu@correo.com\"
El informe que genera es algo tal que así:
apticron report [Fri, 19 Jan 2007 18:42:01 -0800]
========================================================================

apticron has detected that some packages need upgrading on: 

	faustus.example.com
	[ 1.2.3.4 ]

The following packages are currently pending an upgrade:

	xfree86-common 4.3.0.dfsg.1-14sarge3
	libice6 4.3.0.dfsg.1-14sarge3
	libsm6 4.3.0.dfsg.1-14sarge3
	xlibs-data 4.3.0.dfsg.1-14sarge3
	libx11-6 4.3.0.dfsg.1-14sarge3
	libxext6 4.3.0.dfsg.1-14sarge3
	libxpm4 4.3.0.dfsg.1-14sarge3

========================================================================

Package Details:

Reading changelogs...
--- Changes for xfree86 (xfree86-common libice6 libsm6 xlibs-data libx11-6 libxext6 libxpm4) ---
xfree86 (4.3.0.dfsg.1-14sarge3) stable-security; urgency=high

  * Non-maintainer update by the Security Team:
    Fixes several vulnerabilities reported by iDefense
    (CVE-2006-6101, CVE-2006-6102, CVE-2006-6103)

 -- Moritz Muehlenhoff   Sun,  7 Jan 2007 13:31:35 +0000

========================================================================

You can perform the upgrade by issuing the command:

	apt-get dist-upgrade

as root on faustus.example.com

It is recommended that you simulate the upgrade first to confirm that
the actions that would be taken are reasonable. The upgrade may be 
simulated by issuing the command:

	apt-get -s dist-upgrade

-- apticron 
Así sabremos en todo momento los paquetes que son susceptibles de actualización y los que no. Clayton dixit ;).
debian sysadmin

About the author

Óscar
has doubledaddy super powers, father of Hugo and Nico, husband of Marta, *nix user, Djangonaut and open source passionate.