<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Bonjour,<br>
    <br>
    Si vous avez un mécanisme permettant d'exécuter une commande sur
    tous les postes de votre parc (psexec ou autre), vous pouvez lancer
    un wapt-get remove mon-paquet.<br>
    <br>
    Sinon, dans un paquet WAPT, vous pouvez installer/supprimer/oublier
    des paquets (entre autre) :<br>
    <br>
    WAPT.install('mon-paquet', force=WAPT.options.force)<br>
    WAPT.remove('mon-paquet', force=WAPT.options.force)<br>
    WAPT.forget_packages('mon-paquet')<br>
    <br>
    Voir
<a class="moz-txt-link-freetext" href="http://dev.tranquil.it/sphinxdocs/source/common.html?highlight=common.wapt#common.Wapt">http://dev.tranquil.it/sphinxdocs/source/common.html?highlight=common.wapt#common.Wapt</a><br>
    <br>
    Cordialement,<br>
    Bastien<br>
    <br>
    <div class="moz-cite-prefix">Le 30/06/2016 à 10:54, informatique a
      écrit :<br>
    </div>
    <blockquote
      cite="mid:fc.011f04c5006ba37f011f04c5006ba1f6.6ba3b0@mail.challans.fr"
      type="cite"><!--?xml version="1.0" encoding="UTF-8"?-->
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <title></title>
      <style type="text/css">
<!--
body{margin-left:10px;margin-right:10px;margin-top:10px;margin-bottom:10px;}
-->
</style>
      <div style="text-align:left;" align="left"><font
          style="font-family:Segoe UI;font-size:14pt;color:#000000;"
          face="Segoe UI" color="#000000" size="+1">Bonjour Johann,</font></div>
      <br>
      <div style="text-align:left;" align="left"><font
          style="font-family:Segoe UI;font-size:14pt;color:#000000;"
          face="Segoe UI" color="#000000" size="+1">je connais la
          section uninstall(), j'en ai même une dans mon paquet initial
          logiciel-wapt.</font></div>
      <br>
      <div style="text-align:left;" align="left"><font
          style="font-family:Segoe UI;font-size:14pt;color:#000000;"
          face="Segoe UI" color="#000000" size="+1">Mais comment fait-on
          alors pour suppimer un paquet sur l'ensemble de son parc ?
          sachant que tous les postes de mon parc ne l'on pas.</font></div>
      <div style="text-align:left;" align="left"><font
          style="font-family:Segoe UI;font-size:14pt;color:#000000;"
          face="Segoe UI" color="#000000" size="+1">A partir de la
          console, au mieux j'avais enlevé la dépendance à ce paquet
          mais ça ne le supprime pas.</font></div>
      <br>
      <div style="text-align:left;" align="left"><font
          style="font-family:Segoe UI;font-size:14pt;color:#000000;"
          face="Segoe UI" color="#000000" size="+1">La commande wapt-get
          forget logiciel-wapt est celle que je cherchais, je vais
          essayer de la mettre directement dans le python avec un run.</font></div>
      <br>
      <div style="text-align:left;" align="left"><font
          style="font-family:Segoe UI;font-size:14pt;color:#000000;"
          face="Segoe UI" color="#000000" size="+1">Merci.</font></div>
      <br>
      <div style="text-align:left;" align="left"><font
          style="font-family:Segoe UI;font-size:14pt;color:#000000;"
          face="Segoe UI" color="#000000" size="+1">Sébastien</font></div>
      <div style="text-align:left;" align="left"><font
          style="font-family:Segoe UI;font-size:14pt;color:#000000;"
          face="Segoe UI" color="#000000" size="+1">Service Informatique</font></div>
      <div style="text-align:left;" align="left"><font
          style="font-family:Segoe UI;font-size:14pt;color:#000000;"
          face="Segoe UI" color="#000000" size="+1">Mairie de Challan</font></div>
      <br>
      <br>
      <br>
      <div style="text-align:left;" align="left"><font
          style="font-family:Arial;font-size:10pt;color:#000000;"
          face="Arial" color="#000000" size="+0"><b>LECLERCQ Johann <<a
              moz-do-not-send="true"
              href="mailto:johann.leclercq@culture.gouv.fr"><a class="moz-txt-link-abbreviated" href="mailto:johann.leclercq@culture.gouv.fr">johann.leclercq@culture.gouv.fr</a></a>>
            écrit:</b></font></div>
      <div style="text-align:left;" align="left"><span
          style="background-color:#d0d0d0;"><font
            style="font-family:Times New
            Roman;font-size:12pt;color:#000000;" face="Times New Roman"
            color="#000000" size="+0">         Bonjour,</font></span></div>
      <br>
      <div style="text-align:left;" align="left"><span
          style="background-color:#d0d0d0;"><font
            style="font-family:Times New
            Roman;font-size:12pt;color:#000000;" face="Times New Roman"
            color="#000000" size="+0">Ton approche n'est pas la bonne.</font></span></div>
      <div style="text-align:left;" align="left"><span
          style="background-color:#d0d0d0;"><font
            style="font-family:Times New
            Roman;font-size:12pt;color:#000000;" face="Times New Roman"
            color="#000000" size="+0">Dans tout paquet wapt (le code
            python), il faut prévoir une section uninstall.</font></span></div>
      <div style="text-align:left;" align="left"><span
          style="background-color:#d0d0d0;"><font
            style="font-family:Times New
            Roman;font-size:12pt;color:#000000;" face="Times New Roman"
            color="#000000" size="+0">Pour te sortir de la situation
            présente, il y a heureusement la commande :</font></span></div>
      <br>
      <div style="text-align:left;" align="left"><span
          style="background-color:#d0d0d0;"><font
            style="font-family:Times New
            Roman;font-size:12pt;color:#000000;" face="Times New Roman"
            color="#000000" size="+0">    wapt-get forget nom-paquet</font></span></div>
      <br>
      <div style="text-align:left;" align="left"><span
          style="background-color:#d0d0d0;"><font
            style="font-family:Times New
            Roman;font-size:12pt;color:#000000;" face="Times New Roman"
            color="#000000" size="+0">Le 30/06/2016 09:54, informatique
            a écrit :</font></span></div>
      <br>
      <div style="padding-left:45px;text-align:left;" align="left"><span
          style="background-color:#d0d0d0;"><font
            style="font-family:Segoe UI;font-size:14pt;color:#000000;"
            face="Segoe UI" color="#000000" size="+1">Bonjour,</font></span></div>
      <br>
      <div style="padding-left:45px;text-align:left;" align="left"><span
          style="background-color:#d0d0d0;"><font
            style="font-family:Segoe UI;font-size:14pt;color:#000000;"
            face="Segoe UI" color="#000000" size="+1">j'avais Ã 
            l'époque déployé un paquet nommé <b>logiciel-wapt</b>.</font></span></div>
      <br>
      <div style="padding-left:45px;text-align:left;" align="left"><span
          style="background-color:#d0d0d0;"><font
            style="font-family:Segoe UI;font-size:14pt;color:#000000;"
            face="Segoe UI" color="#000000" size="+1">Pour le
            désinstaller sur tous les postes, j'ai créé un deuxième
            paquet <b>remove-logiciel-wapt</b>, qui fait bien son
            travail.</font></span></div>
      <br>
      <div style="padding-left:45px;text-align:left;" align="left"><span
          style="background-color:#d0d0d0;"><font
            style="font-family:Segoe UI;font-size:14pt;color:#000000;"
            face="Segoe UI" color="#000000" size="+1">Pour finir le
            travail, comment je fais pour supprimer <b>logiciel-wapt</b>
            de la base local de mon client WAPT ?</font></span></div>
      <div style="padding-left:45px;text-align:left;" align="left"><span
          style="background-color:#d0d0d0;"><font
            style="font-family:Segoe UI;font-size:14pt;color:#000000;"
            face="Segoe UI" color="#000000" size="+1">Car il le
            considère comme toujours installé...</font></span></div>
      <div style="padding-left:45px;text-align:left;" align="left"><span
          style="background-color:#d0d0d0;"><font
            style="font-family:Segoe UI;font-size:14pt;color:#000000;"
            face="Segoe UI" color="#000000" size="+1">J'ai essayé :</font></span></div>
      <div style="padding-left:45px;text-align:left;" align="left"><span
          style="background-color:#d0d0d0;"><font
            style="font-family:Segoe UI;font-size:14pt;color:#000000;"
            face="Segoe UI" color="#000000" size="+1">- run(r'wapt-get
            remove logiciel-wapt -f') dans le python mais Ã§a ne
            fonctionne pas</font></span></div>
      <div style="padding-left:45px;text-align:left;" align="left"><span
          style="background-color:#d0d0d0;"><font
            style="font-family:Segoe UI;font-size:14pt;color:#000000;"
            face="Segoe UI" color="#000000" size="+1">- de mettre
            logiciel-wapt dans le paramètre confilct du fichier de
            control mais Ã§a ne fais pas ce que je souhaite</font></span></div>
      <br>
      <div style="padding-left:45px;text-align:left;" align="left"><span
          style="background-color:#d0d0d0;"><font
            style="font-family:Segoe UI;font-size:14pt;color:#000000;"
            face="Segoe UI" color="#000000" size="+1">Il y a peut-être
            une commande dont je n'ai pas connaissance qui permet
            directement d'agir dans la BDD local du client pour
            supprimer une entrée ?</font></span></div>
      <br>
      <div style="padding-left:45px;text-align:left;" align="left"><span
          style="background-color:#d0d0d0;"><font
            style="font-family:Segoe UI;font-size:14pt;color:#000000;"
            face="Segoe UI" color="#000000" size="+1">Merci.</font></span></div>
      <br>
      <div style="padding-left:45px;text-align:left;" align="left"><span
          style="background-color:#d0d0d0;"><font
            style="font-family:Segoe UI;font-size:14pt;color:#000000;"
            face="Segoe UI" color="#000000" size="+1">Sébastien</font></span></div>
      <div style="padding-left:45px;text-align:left;" align="left"><span
          style="background-color:#d0d0d0;"><font
            style="font-family:Segoe UI;font-size:14pt;color:#000000;"
            face="Segoe UI" color="#000000" size="+1">Service
            Informatique</font></span></div>
      <div style="padding-left:45px;text-align:left;" align="left"><span
          style="background-color:#d0d0d0;"><font
            style="font-family:Segoe UI;font-size:14pt;color:#000000;"
            face="Segoe UI" color="#000000" size="+1">Mairie de Challans</font></span></div>
      <br>
      <br>
      <br>
      <div style="padding-left:45px;text-align:left;" align="left"><span
          style="background-color:#d0d0d0;"><font
            style="font-family:Courier;font-size:12pt;color:#000000;"
            face="Courier" color="#000000" size="+0">_______________________________________________WAPT
            mailing list</font></span><a moz-do-not-send="true"
          href="mailto:WAPT@lists.tranquil.it"><span
            style="background-color:#d0d0d0;"><font
              style="font-family:Courier;font-size:12pt;" face="Courier"
              size="+0">WAPT@lists.tranquil.it</font></span></a><a
          moz-do-not-send="true"
          href="http://lists.tranquil.it/listinfo/wapt"><span
            style="background-color:#d0d0d0;"><font
              style="font-family:Courier;font-size:12pt;" face="Courier"
              size="+0"><a class="moz-txt-link-freetext" href="http://lists.tranquil.it/listinfo/wapt">http://lists.tranquil.it/listinfo/wapt</a></font></span></a></div>
      <br>
      <br>
      <br>
      <br>
      <div style="text-align:left;" align="left"><span
          style="background-color:#d0d0d0;"><font
            style="font-family:Courier;font-size:12pt;color:#000000;"
            face="Courier" color="#000000" size="+0">--
                    Cordialement,LECLERCQ JohannResponsable Informatique
            et AQSSI de la DRAC Pays de la LoireMinistère de la Culture
            et de la CommunicationTel.:02-40-14-28-00P
             .:06-78-39-63-76-- Koan du jourJour après jour, c'est un
            bon jour.</font></span></div>
      <br>
      <br>
      <br clear="all">
      <hr style="color:#000000; visibility:visible; margin-top:0px;"
        color="#000000" noshade="noshade" size="1" width="100%">
      <div style="text-align:left;" align="left"><span
          style="background-color:#d0d0d0;"><font
            style="font-family:Times New
            Roman;font-size:12pt;color:#000000;" face="Times New Roman"
            color="#000000" size="+0">Merci de nous aider à préserver
            l'environnement en n'imprimant ce courriel et les documents
            joints que si nécessaire.</font></span></div>
      <br>
      <br>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
WAPT mailing list
<a class="moz-txt-link-abbreviated" href="mailto:WAPT@lists.tranquil.it">WAPT@lists.tranquil.it</a>
<a class="moz-txt-link-freetext" href="http://lists.tranquil.it/listinfo/wapt">http://lists.tranquil.it/listinfo/wapt</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>