Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
letsencrypt: acme==0.6.0.dev0 distribution was not found ...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
BentB
n00b
n00b


Joined: 28 Nov 2006
Posts: 58
Location: Birkerød, Denmark

PostPosted: Fri Apr 08, 2016 6:27 pm    Post subject: letsencrypt: acme==0.6.0.dev0 distribution was not found ... Reply with quote

Trying to get a certificate for my server using letsencrypt version 9999 from Portage I get this:

Code:
letsencrypt --help
Traceback (most recent call last):
  File "/usr/lib/python-exec/python2.7/letsencrypt", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3080, in <module>
    @_call_aside
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3066, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3093, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 653, in _build_master
    return cls._build_from_requirements(__requires__)
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 666, in _build_from_requirements
    dists = ws.resolve(reqs, Environment())
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 839, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'acme==0.6.0.dev0' distribution was not found and is required by letsencrypt

It looks to me as if the Portage package has not been updated. 'eix' gives this:

Code:
# eix -v letsencrypt
* app-crypt/letsencrypt
     Available versions:  ~*0.4.2 ~*0.5.0 (**)9999
     IUSE (all versions): test PYTHON_TARGETS="python2_7"
     Installed versions:  Version:   9999
                          Date:      20:03:43 2016-04-08
                          USE:       -test PYTHON_TARGETS="python2_7"
                          DEPEND:    dev-python/setuptools[python_targets_python2_7(-),-python_single_target_python2_7(-)] >=dev-vcs/git-1.8.2.1 >=dev-lang/python-2.7.5-r2:2.7 >=dev-lang/python-exec-2:2/2=[python_targets_python2_7(-),-python_single_target_python2_7(-)]
                          RDEPEND:   >=app-crypt/acme-9999[python_targets_python2_7(-),-python_single_target_python2_7(-)] >=dev-python/configargparse-0.10.0[python_targets_python2_7(-),-python_single_target_python2_7(-)] dev-python/configobj[python_targets_python2_7(-),-python_single_target_python2_7(-)] >=dev-python/cryptography-0.7[python_targets_python2_7(-),-python_single_target_python2_7(-)] dev-python/mock[python_targets_python2_7(-),-python_single_target_python2_7(-)] dev-python/parsedatetime[python_targets_python2_7(-),-python_single_target_python2_7(-)] >=dev-python/psutil-3.0.1[python_targets_python2_7(-),-python_single_target_python2_7(-)] >=dev-python/pyopenssl-0.15[python_targets_python2_7(-),-python_single_target_python2_7(-)] dev-python/pyrfc3339[python_targets_python2_7(-),-python_single_target_python2_7(-)] >=dev-python/pythondialog-3.2.2:python-2[python_targets_python2_7(-),-python_single_target_python2_7(-)] dev-python/pytz[python_targets_python2_7(-),-python_single_target_python2_7(-)] dev-python/requests[python_targets_python2_7(-),-python_single_target_python2_7(-)] dev-python/zope-component[python_targets_python2_7(-),-python_single_target_python2_7(-)] dev-python/zope-interface[python_targets_python2_7(-),-python_single_target_python2_7(-)] >=dev-lang/python-2.7.5-r2:2.7 >=dev-lang/python-exec-2:2/2=[python_targets_python2_7(-),-python_single_target_python2_7(-)]
     Best versions/slot:  (**)9999
     Homepage:            https://github.com/letsencrypt/letsencrypt https://letsencrypt.org/
     Find open bugs:      https://bugs.gentoo.org/buglist.cgi?quicksearch=app-crypt%2Fletsencrypt
     Description:         Let's encrypt client to automate deployment of X.509 certificates
     License:             Apache-2.0


Apparently not even version 0.5.0 is good enough. What do I do?
If I can be of any help, pleas let me know.
Back to top
View user's profile Send private message
ToeiRei
Veteran
Veteran


Joined: 03 Jan 2005
Posts: 1191
Location: Austria

PostPosted: Tue May 17, 2016 5:45 pm    Post subject: Reply with quote

as you are using the latest letsencrypt snapshot, you're required to use acme-9999 too.
On the other hand - bleeding edge may be broken upstream. I noticed them moving to 'certbot' instead of 'letsencrypt' as name for their main executable.
_________________
Please stand by - The mailer daemon is busy burning your messages in hell...
Back to top
View user's profile Send private message
BentB
n00b
n00b


Joined: 28 Nov 2006
Posts: 58
Location: Birkerød, Denmark

PostPosted: Thu May 19, 2016 7:43 pm    Post subject: Reply with quote

@ToeiRei: Thanks for the response. I was actually using version 9999 of acme, so rather than fight it I decided to follow your (implicit) advice to go for certbot instead. I wgot it and it works as expected. I can now renew my certificates without problems.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum