Quien:        Fernando Ricchi 
  Cuando:       viernes, 26 de octubre del 2001, a las 04:34, 
  Qu�:          apt-get upgrade & (BACKGROUND ???) 


> Hola listeros !!!
> 
>     Mi pregunta es esa, como puedo ejecutar un :
> 
>     # apt-get upgrade &
> 
>     Para que tome todos los valores por default en las preguntas que haga?
 
        apt-get -y update && apt-get -y upgrade

        Configurando el debconf para que asuma que tu no quieres tocar
        nada, no te har� ninguna pregunta. 

        Mi consejo es que las actualizaciones remotas te las tomes con
        un poquito mas de cuidado y las supervises en persona.

        Para ello,  opci�n que te interes, es utilizar el cron de esta 
        manera:

55 02 * * * (( /usr/bin/apt-get update && /usr/bin/apt-get upgrade -qsu ) | 
/usr/bin/mail -s "Revisi�n de actualizaciones de Seguridad" [EMAIL PROTECTED] ) 
2> /dev/null

        Lo metes en el cron, llamando a 'crontab -e' y tan felices. Te
        mandar� un correo en cada m�quina en la que lo pongas,
        diciendote si te hace falta actualizarla o no.
 
>     Saludos y gracias de antemano
> Fernando

        dnd
 
-- 

<!-- --------------------------------------------------------------------- -->
<!--   Linux 2.4.11correcaminos i686                                       -->
<!--  _________________________________________________________________    -->
<!-- /\                                                                \   -->
<!-- \_|  I for one cannot protest the recent M.T.A. fare hike and the |   -->
<!--   | accompanying  promises  that this  would  in  no way  improve |   -->
<!--   | service.  For the  transit system,  as it  now operates,  has |   -->
<!--   | hidden advantages  that can't be measured  in monetary terms. |   -->
<!--   | Personally, I feel that it is  well worth 75 cents or even $1 |   -->
<!--   | to  have that  unimpeachable  excuse whenever  I  am late  to |   -->
<!--   | anything:  "I came  by subway."  Those four  words have  such |   -->
<!--   | magic in them that if Godot should someday show up and mumble |   -->
<!--   | them, any audience would instantly understand his long delay. |   -->
<!--   |   ____________________________________________________________|_  -->
<!--    \_/______________________________________________________________/ -->
<!--  /*       _\|/_                                                       -->
<!--           (o o)                                                       -->
<!--   +----oOO-{_}-OOo-------------------------------------------------+  -->
<!--   |   ___       _                                                  |  -->
<!--   | / ___|_   _| (_) ___  Grupo de Usuarios de LInux de Canarias   |  -->
<!--   || |  _| | | | | |/ __| Pasate por nuestro web....               |  -->
<!--   || |_| | |_| | | | (__          http://www.gulic.org/            |  -->
<!--   | \____|\__,_|_|_|\___| Clave GPG en search.keyserver.net        |  -->
<!--   |Fingerprint = F734 17F5 3AB6 E1F6 11C4  B498 5B3E 1111 FEDF 90DF|  -->
<!--   +---------------------------------------------------------------*/  -->
<!-- --------------------------------------------------------------------- -->

Attachment: pgp5hOfW7jupL.pgp
Description: PGP signature

Responder a