Package: certbot
Version: 0.31.0-1
Severity: normal

Dear Maintainer,

I think the `certbot` package needs `python-cryptography` package :

Dec 31 19:03:17 krypton systemd[1]: Starting Certbot...
Dec 31 19:03:18 krypton certbot[4849]: Traceback (most recent call last):
Dec 31 19:03:18 krypton certbot[4849]:   File "/usr/bin/certbot", line 11, in 
<module>
Dec 31 19:03:18 krypton certbot[4849]:     load_entry_point('certbot==0.31.0', 
'console_scripts', 'certbot')()
Dec 31 19:03:18 krypton certbot[4849]:   File 
"/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 489, in 
load_entry_point
Dec 31 19:03:18 krypton certbot[4849]:     return 
get_distribution(dist).load_entry_point(group, name)
Dec 31 19:03:18 krypton certbot[4849]:   File 
"/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2793, in 
load_entry_point
Dec 31 19:03:18 krypton certbot[4849]:     return ep.load()
Dec 31 19:03:18 krypton certbot[4849]:   File 
"/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2411, in load
Dec 31 19:03:18 krypton certbot[4849]:     return self.resolve()
Dec 31 19:03:18 krypton certbot[4849]:   File 
"/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2417, in 
resolve
Dec 31 19:03:18 krypton certbot[4849]:     module = 
__import__(self.module_name, fromlist=['__name__'], level=0)
Dec 31 19:03:18 krypton certbot[4849]:   File 
"/usr/lib/python3/dist-packages/certbot/main.py", line 10, in <module>
Dec 31 19:03:18 krypton certbot[4849]:     import josepy as jose
Dec 31 19:03:18 krypton certbot[4849]:   File 
"/usr/lib/python3/dist-packages/josepy/__init__.py", line 44, in <module>
Dec 31 19:03:18 krypton certbot[4849]:     from josepy.interfaces import 
JSONDeSerializable
Dec 31 19:03:18 krypton certbot[4849]:   File 
"/usr/lib/python3/dist-packages/josepy/interfaces.py", line 8, in <module>
Dec 31 19:03:18 krypton certbot[4849]:     from josepy import errors, util
Dec 31 19:03:18 krypton certbot[4849]:   File 
"/usr/lib/python3/dist-packages/josepy/util.py", line 4, in <module>
Dec 31 19:03:18 krypton certbot[4849]:     import OpenSSL
Dec 31 19:03:18 krypton certbot[4849]:   File 
"/usr/lib/python3/dist-packages/OpenSSL/__init__.py", line 8, in <module>
Dec 31 19:03:18 krypton certbot[4849]:     from OpenSSL import crypto, SSL
Dec 31 19:03:18 krypton certbot[4849]:   File 
"/usr/lib/python3/dist-packages/OpenSSL/crypto.py", line 12, in <module>
Dec 31 19:03:18 krypton certbot[4849]:     from cryptography import x509
Dec 31 19:03:18 krypton certbot[4849]:   File 
"/usr/lib/python3/dist-packages/cryptography/x509/__init__.py", line 8, in 
<module>
Dec 31 19:03:18 krypton certbot[4849]:     from cryptography.x509.base import (
Dec 31 19:03:18 krypton certbot[4849]:   File 
"/usr/lib/python3/dist-packages/cryptography/x509/base.py", line 15, in <module>
Dec 31 19:03:18 krypton certbot[4849]:     from 
cryptography.hazmat.primitives.asymmetric import dsa, ec, rsa
Dec 31 19:03:18 krypton certbot[4849]: ModuleNotFoundError: No module named 
'cryptography.hazmat.primitives.asymmetric'
Dec 31 19:03:18 krypton systemd[1]: certbot.service: Main process exited, 
code=exited, status=1/FAILURE
Dec 31 19:03:18 krypton systemd[1]: certbot.service: Failed with result 
'exit-code'.
Dec 31 19:03:18 krypton systemd[1]: Failed to start Certbot.

The `python-cryptography` contains the
`cryptography.hazmat.primitives.asymmetric` module.


-- System Information:
Debian Release: 10.7
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-13-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), 
LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages certbot depends on:
ii  python3          3.7.3-1
ii  python3-certbot  0.31.0-1

certbot recommends no packages.

Versions of packages certbot suggests:
pn  python-certbot-doc      <none>
ii  python3-certbot-apache  0.31.0-1
pn  python3-certbot-nginx   <none>

-- no debconf information

Reply via email to