Certbot ACME issue

~]# certbot
Traceback (most recent call last):
File “/usr/bin/certbot”, line 5, in
from certbot.main import main
File “/usr/lib/python2.7/site-packages/certbot/main.py”, line 2, in
from certbot._internal import main as internal_main
File “/usr/lib/python2.7/site-packages/certbot/_internal/main.py”, line 13, in
from acme import errors as acme_errors
ImportError: No module named acme

I tried to ran below but doesnt work

[root@LinuxProd1 ~]# yum reinstall acme
Loaded plugins: product-id, search-disabled-repos, subscription-manager
This system is registered with an entitlement server, but is not receiving updates. You can use subscription-manager to assign subscriptions.
No Match for argument: acme
Error: Nothing to do
You have mail in /var/spool/mail/root
[root@LinuxProd1 ~]#

The server was working fine, until someone in my team ran pip install certbot-apache, which I already uninstall - but now certbot doesnt work :frowning:

Hi,

What will happen if you rerun the instructions below:

Thank you

Do you have records of what the install and uninstall did? The acme module likely isn’t the only one damaged. Certbot has numerous modules (including acme and josepy) and depends on an assortment of third-party Python libraries.

The packages for Python modules follow a naming scheme – I’m not certain what. I think it’s probably named python-acme, python2-acme or python3-acme.

cant reinstall - :frowning:

–> Finished Dependency Resolution
Error: Package: python2-certbot-apache-1.0.0-1.el7.noarch (epel)
Requires: pytest
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.