Date: Wed, 15 Aug 2018 10:54:49 -0400 From: William Dudley <wfdudley@gmail.com> To: freebsd-questions <freebsd-questions@freebsd.org> Subject: Re: py27-certbot broken with pkg upgrade Message-ID: <CAFsnNZJXTQRsLCcYBbK01v6CBLF1qqubVax9cwLRLm9hG61rAQ@mail.gmail.com> In-Reply-To: <CAFsnNZLKikeLHcCzV0xDRShcB5qK1mkNCuvM7fEnQCYJjK6Uyg@mail.gmail.com> References: <CAFsnNZLKikeLHcCzV0xDRShcB5qK1mkNCuvM7fEnQCYJjK6Uyg@mail.gmail.com>
index | next in thread | previous in thread | raw e-mail
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@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.
>
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFsnNZJXTQRsLCcYBbK01v6CBLF1qqubVax9cwLRLm9hG61rAQ>
