今天碰到一個奇怪的問題
letsencrypt: acme==0.6.0.dev0 distribution was not found …
原始訊息
letsencrypt --help
Traceback (most recent call last):
File "/usr/lib/python-exec/python2.7/letsencrypt", line 5, in
from pkg_resources import load_entry_point
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3080, in
@_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
這是 gcc 換 5.x 之後要重新 compile 一遍, 並且舊的 letsencrypt 改名叫 certbot
$ revdep-rebuild --library 'libstdc++.so.6' -- --exclude gcc
$ emerge -avu certbot
這樣就可以了
原來的錯誤訊息是我要找的, 但是點進去卻是完全不同的標題和文章, 真是神祕
ref
emerge klibc fails with compiler-gcc5.h missing
Letsencrypt Getting Started
發佈留言