Your message dated Sun, 3 Jan 2021 17:04:32 -0500
with message-id 
<CAEri_iHtvTrrNbnto7XaSrJ0Hs+dxt=x8bthwu1zx+1uxtr...@mail.gmail.com>
and subject line Re: Bug#978962: certbot: Certbot needs python-cryptography to 
work
has caused the Debian Bug report #978962,
regarding certbot: Certbot needs python-cryptography to work
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
978962: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=978962
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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

--- End Message ---
--- Begin Message ---
Version: 0.31.0-1

No problem; glad it's fixed!


On Sun, Jan 3, 2021 at 6:51 AM Nicolas Grandjean <[email protected]> wrote:
>
> Hi Harlan,
>
> Le 02/01/2021 à 23:25, Harlan Lieberman-Berg a écrit :
> > Hi Nicolas,
> >
> > Your installation of python3-cryptography is very broken.  You appear
> > to be missing about half of the files for some reason.  Try
> > reinstalling python3-cryptography and see if that fixes the problem:
> >
> > apt reinstall python3-cryptography
>
> You are right. Reinstall the package solved the problem.
>
> So, it was not a package bug…
>
> Thanks !
>
>
> --
> Nicolas Grandjean
>


-- 
Harlan Lieberman-Berg
~hlieberman

--- End Message ---

Reply via email to