From owner-freebsd-questions@freebsd.org Wed Aug 15 15:01:23 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 123191058D85 for ; Wed, 15 Aug 2018 15:01:23 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from kicp.uchicago.edu (kicp.uchicago.edu [128.135.20.70]) by mx1.freebsd.org (Postfix) with ESMTP id B9B3591214 for ; Wed, 15 Aug 2018 15:01:22 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from point.uchicago.edu (point.uchicago.edu [128.135.52.6]) by kicp.uchicago.edu (Postfix) with ESMTP id 472D8718086 for ; Wed, 15 Aug 2018 10:01:16 -0500 (CDT) Subject: Re: py27-certbot broken with pkg upgrade To: freebsd-questions@freebsd.org References: From: Valeri Galtsev Message-ID: <9dde2bd8-7f77-6628-7623-4eb7778d5924@kicp.uchicago.edu> Date: Wed, 15 Aug 2018 10:01:16 -0500 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Aug 2018 15:01:23 -0000 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 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 >> from pkg_resources import load_entry_point >> File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", >> line 3098, in >> @_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 ++++++++++++++++++++++++++++++++++++++++