<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title></title>
<style type="text/css">
<!--
body{margin-left:10px;margin-right:10px;margin-top:10px;margin-bottom:10px;}
-->
</style>
</head>
<body marginleft="10" marginright="10" margintop="10" marginbottom="10">
<div align="left" style="text-align:left;"><font face="Segoe UI" size="+1" color="#000000" style="font-family:Segoe UI;font-size:14pt;color:#000000;">Bonjour Johann,</font></div>
<br />
<div align="left" style="text-align:left;"><font face="Segoe UI" size="+1" color="#000000" style="font-family:Segoe UI;font-size:14pt;color:#000000;">je connais la section uninstall(), j'en ai même une dans mon paquet initial logiciel-wapt.</font></div>
<br />
<div align="left" style="text-align:left;"><font face="Segoe UI" size="+1" color="#000000" style="font-family:Segoe UI;font-size:14pt;color:#000000;">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 align="left" style="text-align:left;"><font face="Segoe UI" size="+1" color="#000000" style="font-family:Segoe UI;font-size:14pt;color:#000000;">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 align="left" style="text-align:left;"><font face="Segoe UI" size="+1" color="#000000" style="font-family:Segoe UI;font-size:14pt;color:#000000;">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 align="left" style="text-align:left;"><font face="Segoe UI" size="+1" color="#000000" style="font-family:Segoe UI;font-size:14pt;color:#000000;">Merci.</font></div>
<br />
<div align="left" style="text-align:left;"><font face="Segoe UI" size="+1" color="#000000" style="font-family:Segoe UI;font-size:14pt;color:#000000;">Sébastien</font></div>
<div align="left" style="text-align:left;"><font face="Segoe UI" size="+1" color="#000000" style="font-family:Segoe UI;font-size:14pt;color:#000000;">Service Informatique</font></div>
<div align="left" style="text-align:left;"><font face="Segoe UI" size="+1" color="#000000" style="font-family:Segoe UI;font-size:14pt;color:#000000;">Mairie de Challan</font></div>
<br />
<br />
<br />
<div align="left" style="text-align:left;"><font face="Arial" size="+0" color="#000000" style="font-family:Arial;font-size:10pt;color:#000000;"><b>LECLERCQ Johann <<a href="mailto:johann.leclercq@culture.gouv.fr">johann.leclercq@culture.gouv.fr</a>> écrit:</b></font></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Times New Roman" size="+0" color="#000000" style="font-family:Times New Roman;font-size:12pt;color:#000000;">         Bonjour,</font></span></div>
<br />
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Times New Roman" size="+0" color="#000000" style="font-family:Times New Roman;font-size:12pt;color:#000000;">Ton approche n'est pas la bonne.</font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Times New Roman" size="+0" color="#000000" style="font-family:Times New Roman;font-size:12pt;color:#000000;">Dans tout paquet wapt (le code python), il faut prévoir une section uninstall.</font></span></div>
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Times New Roman" size="+0" color="#000000" style="font-family:Times New Roman;font-size:12pt;color:#000000;">Pour te sortir de la situation présente, il y a heureusement la commande :</font></span></div>
<br />
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Times New Roman" size="+0" color="#000000" style="font-family:Times New Roman;font-size:12pt;color:#000000;">    wapt-get forget nom-paquet</font></span></div>
<br />
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Times New Roman" size="+0" color="#000000" style="font-family:Times New Roman;font-size:12pt;color:#000000;">Le 30/06/2016 09:54, informatique a écrit :</font></span></div>
<br />
<div align="left" style="padding-left:45px;text-align:left;"><span style="background-color:#d0d0d0;"><font face="Segoe UI" size="+1" color="#000000" style="font-family:Segoe UI;font-size:14pt;color:#000000;">Bonjour,</font></span></div>
<br />
<div align="left" style="padding-left:45px;text-align:left;"><span style="background-color:#d0d0d0;"><font face="Segoe UI" size="+1" color="#000000" style="font-family:Segoe UI;font-size:14pt;color:#000000;">j'avais Ã  l'époque déployé un paquet nommé <b>logiciel-wapt</b>.</font></span></div>
<br />
<div align="left" style="padding-left:45px;text-align:left;"><span style="background-color:#d0d0d0;"><font face="Segoe UI" size="+1" color="#000000" style="font-family:Segoe UI;font-size:14pt;color:#000000;">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 align="left" style="padding-left:45px;text-align:left;"><span style="background-color:#d0d0d0;"><font face="Segoe UI" size="+1" color="#000000" style="font-family:Segoe UI;font-size:14pt;color:#000000;">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 align="left" style="padding-left:45px;text-align:left;"><span style="background-color:#d0d0d0;"><font face="Segoe UI" size="+1" color="#000000" style="font-family:Segoe UI;font-size:14pt;color:#000000;">Car il le considère comme toujours installé...</font></span></div>
<div align="left" style="padding-left:45px;text-align:left;"><span style="background-color:#d0d0d0;"><font face="Segoe UI" size="+1" color="#000000" style="font-family:Segoe UI;font-size:14pt;color:#000000;">J'ai essayé :</font></span></div>
<div align="left" style="padding-left:45px;text-align:left;"><span style="background-color:#d0d0d0;"><font face="Segoe UI" size="+1" color="#000000" style="font-family:Segoe UI;font-size:14pt;color:#000000;">- run(r'wapt-get remove logiciel-wapt -f') dans le python mais Ã§a ne fonctionne pas</font></span></div>
<div align="left" style="padding-left:45px;text-align:left;"><span style="background-color:#d0d0d0;"><font face="Segoe UI" size="+1" color="#000000" style="font-family:Segoe UI;font-size:14pt;color:#000000;">- 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 align="left" style="padding-left:45px;text-align:left;"><span style="background-color:#d0d0d0;"><font face="Segoe UI" size="+1" color="#000000" style="font-family:Segoe UI;font-size:14pt;color:#000000;">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 align="left" style="padding-left:45px;text-align:left;"><span style="background-color:#d0d0d0;"><font face="Segoe UI" size="+1" color="#000000" style="font-family:Segoe UI;font-size:14pt;color:#000000;">Merci.</font></span></div>
<br />
<div align="left" style="padding-left:45px;text-align:left;"><span style="background-color:#d0d0d0;"><font face="Segoe UI" size="+1" color="#000000" style="font-family:Segoe UI;font-size:14pt;color:#000000;">Sébastien</font></span></div>
<div align="left" style="padding-left:45px;text-align:left;"><span style="background-color:#d0d0d0;"><font face="Segoe UI" size="+1" color="#000000" style="font-family:Segoe UI;font-size:14pt;color:#000000;">Service Informatique</font></span></div>
<div align="left" style="padding-left:45px;text-align:left;"><span style="background-color:#d0d0d0;"><font face="Segoe UI" size="+1" color="#000000" style="font-family:Segoe UI;font-size:14pt;color:#000000;">Mairie de Challans</font></span></div>
<br />
<br />
<br />
<div align="left" style="padding-left:45px;text-align:left;"><span style="background-color:#d0d0d0;"><font face="Courier" size="+0" color="#000000" style="font-family:Courier;font-size:12pt;color:#000000;">_______________________________________________WAPT mailing list</font></span><a href="mailto:WAPT@lists.tranquil.it"><span style="background-color:#d0d0d0;"><font face="Courier" size="+0" style="font-family:Courier;font-size:12pt;">WAPT@lists.tranquil.it</font></span></a><a href="http://lists.tranquil.it/listinfo/wapt"><span style="background-color:#d0d0d0;"><font face="Courier" size="+0" style="font-family:Courier;font-size:12pt;">http://lists.tranquil.it/listinfo/wapt</font></span></a></div>
<br />
<br />
<br />
<br />
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Courier" size="+0" color="#000000" style="font-family:Courier;font-size:12pt;color:#000000;">--         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 noshade="noshade" size="1" width="100%" color="#000000" style="color:#000000; visibility:visible; margin-top:0px;" />
<div align="left" style="text-align:left;"><span style="background-color:#d0d0d0;"><font face="Times New Roman" size="+0" color="#000000" style="font-family:Times New Roman;font-size:12pt;color:#000000;">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 />
</body>
</html>