On 30/01/08 23:04, Fernando wrote: > Hola, tengo montado un servidor que comparte internet y realiza > filtrados QoS con debian sarge y semanalmente lo actualizo, pero > últimamente me da pereza hacerlo, que opinan si lo configuro para que se > actualice automáticamente mediante cron? por ejemplo > > #apt-get update > #apt-get upgrade -y (creo que seria asi) > > Alguien sabe si podría, seria factible y seguro hacer esto? Agradecería > su opinión. Saludos.
Hola, Lo que buscas ya existe de forma paquetizada en debian: $ aptitude show cron-apt Package: cron-apt State: not installed Version: 0.4.14 Priority: optional Section: admin Maintainer: Ola Lundqvist <[EMAIL PROTECTED]> Uncompressed Size: 90.1k Depends: apt, debianutils (>= 1.7) Recommends: liblockfile1, mailx, cron Description: automatic update of packages using apt-get Contains a tool that is run by a cron job at regular intervals. By default it just updates the package list and download new packages without installing. You can instruct it to run anything that you can do with apt-get (or aptitude). It can optionally sends mail to the system administrator on errors, log to syslog or a separate log file. Observe that this tool may be a security risk, so you should not set it to do more than necessary. Automatic upgrade of all packages is NOT recommended unless you are in full control of the package repository. Tags: admin::automation, admin::package-management, interface::daemon, role::program, scope::utility, suite::debian, use::downloading, works-with::software:package salu2, crc. -- Puedes encontrar mi clave pública en: Clave pública: http://keyserv.nic-se.se:11371/pks/lookup?op=get&search=0x70E0573FC7D69ABE ··································································· Por favor, NO utilices formatos de archivo cerrados para el intercambio de documentos, como DOC y XLS, mejor HTML, RTF, TXT, CSV, ODT o cualquier otro que no obligue a utilizar un programa privativo para abrirlo.
signature.asc
Description: Digital signature