<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>tis-waptrepo is not needed anymore.</p>
    <p>the doc is not up to date for this part...</p>
    <p>you must use the command <br>
    </p>
    wapt-scanpackages /var/www/wapt <br>
    <br>
    which setup properly the python path with Wapt modules.<br>
    <br>
    <br>
    <div class="moz-cite-prefix">Le 07/04/2018 à 18:02, Klaus Ade
      Johnstad a écrit :<br>
    </div>
    <blockquote type="cite"
      cite="mid:4b3e0eff-09ba-883d-0ff2-accc0371079e@linuxavdelingen.no">
      <pre wrap="">I have a newly installed minimal Debian 9, with
tis-waptrepo                      1.5.1.23-tisdeb9-4901-6f0f1018 all
tis-waptserver                    1.5.1.23-tisdeb9-4901-6f0f1018 amd64
tis-waptsetup                     1.5.1.23-tisdeb9-4901-6f0f1018 all

Following the documentation on "scan package repositories;":
<a class="moz-txt-link-freetext" href="https://www.wapt.fr/en/doc-1.5/waptserver_backup.html">https://www.wapt.fr/en/doc-1.5/waptserver_backup.html</a>

root@srvwapt:~# /usr/bin/python /opt/wapt/wapt-scanpackages.py /var/www
/wapt/
Traceback (most recent call last):
  File "/opt/wapt/wapt-scanpackages.py", line 32, in <module>
    from waptutils import __version__,setloglevel
  File "/opt/wapt/waptutils.py", line 41, in <module>
    import requests
ImportError: No module named requests

When I install the package "python-requests" the next problem is:
root@srvwapt:~# /usr/bin/python /opt/wapt/wapt-scanpackages.py
/var/www/wapt/
Traceback (most recent call last):
  File "/opt/wapt/wapt-scanpackages.py", line 33, in <module>
    from waptpackage import update_packages
  File "/opt/wapt/waptpackage.py", line 81, in <module>
    from iniparse import RawConfigParser
ImportError: No module named iniparse

When I install the package "python-iniparse" the next problem is:
root@srvwapt:~# /usr/bin/python /opt/wapt/wapt-scanpackages.py
/var/www/wapt/
Traceback (most recent call last):
  File "/opt/wapt/wapt-scanpackages.py", line 33, in <module>
    from waptpackage import update_packages
  File "/opt/wapt/waptpackage.py", line 89, in <module>
    from waptcrypto import EWaptMissingCertificate,EWaptBadCertificate
  File "/opt/wapt/waptcrypto.py", line 43, in <module>
    from cryptography.x509.verification import
CertificateVerificationContext, InvalidCertificate,
InvalidSigningCertificate
ImportError: No module named verification

I'm not sure what package I'm missing now?
Maybe you need to add some more dependencies to your packages, or update
the doumentation.


</pre>
      <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>