[Wapt] Problem following documentation on backup.

Klaus Ade Johnstad klaus at linuxavdelingen.no
Sat Apr 7 18:02:34 CEST 2018


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;":
https://www.wapt.fr/en/doc-1.5/waptserver_backup.html

root at 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 at 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 at 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.


-- 
Klaus Ade Johnstad
Klaus at linuxavdelingen.no


67E61D18B2C44F8A3DA35C6D849F9F5F 26FA477D

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: OpenPGP digital signature
URL: <http://lists.tranquil.it/pipermail/wapt/attachments/20180407/1f9e7811/attachment.sig>


More information about the WAPT mailing list