On Tue, 10 Sep 2002, christo courrier wrote: > bonjour , > pardon pour mon ignorance mais que signifient les options -q et -y dans > apt-get , merci
-q --quiet Quiet; produces output suitable for logging, omitting progress indicators. More q's will pro duce more quiet up to a maximum of 2. You can also use -q=# to set the quiet level, overriding the configuration file. Note that quiet level 2 implies -y, you should never use -qq without a no-action modifier such as -d, --print-uris or -s as APT may decided to do something you did not expect. Configuration Item: quiet. -y --yes --assume-yes Automatic yes to prompts; assume "yes" as answer to all prompts and run non-interactively. If an undesirable situation, such as changing a held package or removing an essential package occurs then apt-get will abort. Configuration Item: APT::Get::Assume-Yes. > ----- Original Message ----- > From: "Vincent Renardias" <[EMAIL PROTECTED]> > To: "Alain Tesio" <[EMAIL PROTECTED]> > Cc: <debian-user-french@lists.debian.org> > Sent: Tuesday, September 10, 2002 10:26 AM > Subject: Re: Telechargement des mise à jour de securite > > > > On Tue, 10 Sep 2002, Alain Tesio wrote: > > > On Tue, 10 Sep 2002 08:30:24 +0200 > > Touch13 <[EMAIL PROTECTED]> wrote: > > > > > > > > 1) J'aimerais télécharger les mises à jour de sécurité et leur > dépendances en une seule commande sans les installer. > > > Je n'est pas encore trouvé d'informations traitant de ce sujet (j'ai > sûrement mal regardé :) ) ? > > > > Un script à mettre en crontab qui downloade et en bonus un mail à root > > lorsqu'il y a du nouveau : > > ============ > > #!/bin/sh > > apt-get update -qq > > apt-get dist-upgrade -d -u -y -q | fgrep -v "Reading Package Lists... > > Building Dependency Tree... > > 0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded. > > Download complete and in download only mode" > > ============ > > Il se passe quoi dans le cas où le package a un script postinst qui pose > des questions interactivement ? > > A+ > > -- > Vincent RENARDIAS > Directeur Technique > StrongHoldNET / http://www.strongholdnet.com > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact > [EMAIL PROTECTED] > > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > > -- Vincent RENARDIAS Directeur Technique StrongHoldNET / http://www.strongholdnet.com