Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Aug 2018 10:18:46 -0400
From:      William Dudley <wfdudley@gmail.com>
To:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   py27-certbot broken with pkg upgrade
Message-ID:  <CAFsnNZLKikeLHcCzV0xDRShcB5qK1mkNCuvM7fEnQCYJjK6Uyg@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFsnNZLKikeLHcCzV0xDRShcB5qK1mkNCuvM7fEnQCYJjK6Uyg>