Date: Wed, 15 Aug 2018 10:01:16 -0500 From: Valeri Galtsev <galtsev@kicp.uchicago.edu> To: freebsd-questions@freebsd.org Subject: Re: py27-certbot broken with pkg upgrade Message-ID: <9dde2bd8-7f77-6628-7623-4eb7778d5924@kicp.uchicago.edu> In-Reply-To: <CAFsnNZJXTQRsLCcYBbK01v6CBLF1qqubVax9cwLRLm9hG61rAQ@mail.gmail.com> References: <CAFsnNZLKikeLHcCzV0xDRShcB5qK1mkNCuvM7fEnQCYJjK6Uyg@mail.gmail.com> <CAFsnNZJXTQRsLCcYBbK01v6CBLF1qqubVax9cwLRLm9hG61rAQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 08/15/18 09:54, William Dudley wrote: > answering my own query, for the archives: > > Upgrading the rest of the python packages has solved the problem. It is always a rule of a thumb to upgrade all packages installed on your system. This is the only way to keep your software coherent if you stick to packages. If you build and install what you have from ports, then you can in most cases ignore the above. But not for the case of using binary packages. Valeri > > 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. >> > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > -- ++++++++++++++++++++++++++++++++++++++++ Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ++++++++++++++++++++++++++++++++++++++++
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9dde2bd8-7f77-6628-7623-4eb7778d5924>