FS#79275 - Missing dependency for certbot

Attached to Project: Arch Linux
Opened by Célestin Matte (Perdu) - Wednesday, 02 August 2023, 08:08 GMT
Last edited by Toolybird (Toolybird) - Thursday, 03 August 2023, 00:04 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Running 'cerbot renew' produces the following error:
$ sudo certbot renew
An unexpected error occurred:
pkg_resources.DistributionNotFound: The 'zope.interface' distribution was not found and is required by the application
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /tmp/certbot-log-y4n8d15y/lo
g or re-run Certbot with -v for more details.

Installing python-zope-interface fixes the issue.
It seems python-zope-interface is a new required dependency.

Additional info:
* package version(s)
Version : 2.6.0-1

* configuration
I don't think it matters for this bug report, but I'm using certbot-dns-gandi-git for my cerbot setup

* log file mentioned in the error message:
2023-08-02 09:58:26,291:DEBUG:certbot._internal.log:Exiting abnormally:
Traceback (most recent call last):
File "/bin/certbot", line 8, in <module>
sys.exit(main())
^^^^^^
File "/usr/lib/python3.11/site-packages/certbot/main.py", line 19, in main
return internal_main.main(cli_args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/certbot/_internal/main.py", line 1835, in main
plugins = plugins_disco.PluginsRegistry.find_all()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/certbot/_internal/plugins/disco.py", line 192, in find_all
cls._load_entry_point(entry_point, plugins)
File "/usr/lib/python3.11/site-packages/certbot/_internal/plugins/disco.py", line 199, in _load_entry_point
plugin_ep = PluginEntryPoint(entry_point)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/certbot/_internal/plugins/disco.py", line 40, in __init__
self.plugin_cls: Type[interfaces.Plugin] = entry_point.load()
^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2517, in load
self.require(*args, **kwargs)
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 2540, in require
items = working_set.resolve(reqs, env, installer, extras=self.extras)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 829, in resolve
dist = self._resolve_dist(
^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/pkg_resources/__init__.py", line 870, in _resolve_dist
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'zope.interface' distribution was not found and is required by the application
2023-08-02 09:58:26,291:ERROR:certbot._internal.log:An unexpected error occurred:
2023-08-02 09:58:26,291:ERROR:certbot._internal.log:pkg_resources.DistributionNotFound: The 'zope.interface' distribution was not found and is required by the application
This task depends upon

Closed by  Toolybird (Toolybird)
Thursday, 03 August 2023, 00:04 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#77046 

Loading...