py27-certbot broken with pkg upgrade
William Dudley
wfdudley at gmail.com
Wed Aug 15 14:54:51 UTC 2018
answering my own query, for the archives:
Upgrading the rest of the python packages has solved the problem.
Specificially:
pkg upgrade py27-urllib3
pkg upgrade py27-requests
pkg upgrade py27-pycparser
pkg upgrade py27-libxml2
Bill Dudley
This email is free of malware because I run Linux.
On Wed, Aug 15, 2018 at 10:18 AM, William Dudley <wfdudley at gmail.com> wrote:
> I'm running 10.3. (Yes, still).
>
> Responding to security vulnerabilities email from my system, I upgraded
> some python
> packages using:
>
> pkg upgrade py27-cryptography
>
> certbot broke as a result.
>
> I upgraded py27-certbot, figuring it'd all work out:
>
> pkg upgrade py27-certbot
>
> certbot still broken. I don't know enough python to have the slightest
> idea how to fix this.
>
> certbot --help
> Traceback (most recent call last):
> File "/usr/local/bin/certbot", line 6, in <module>
> from pkg_resources import load_entry_point
> File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py",
> line 3098, in <module>
> @_call_aside
> File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py",
> line 3082, in _call_aside
> f(*args, **kwargs)
> File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py",
> line 3111, in _initialize_master_working_set
> working_set = WorkingSet._build_master()
> File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py",
> line 575, in _build_master
> return cls._build_from_requirements(__requires__)
> File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py",
> line 588, in _build_from_requirements
> dists = ws.resolve(reqs, Environment())
> File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py",
> line 782, in resolve
> raise VersionConflict(dist, req).with_context(dependent_req)
> pkg_resources.ContextualVersionConflict: (idna 2.7
> (/usr/local/lib/python2.7/site-packages), Requirement.parse('idna<2.6,>=2.5'),
> set(['requests']))
>
> I've got a bunch of certificates and I'd very much to not lose them.
> How can I fix this?
>
> Thanks,
> Bill Dudley
>
> This email is free of malware because I run Linux.
>
More information about the freebsd-questions
mailing list