[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Probleme mit certbot nach Upgrade von Wheezy nach Jessie



Hallo Liste!

Nachdem ich endlich mal dazu gekommen bin, meine letzte
Wheezy-Installation nach Jessie upzudaten, mag leider certbot nicht mehr
mitspielen:

| # /usr/local/bin/certbot-auto
| Error: couldn't get currently installed version for
/opt/eff.org/certbot/venv/bin/letsencrypt:
| Traceback (most recent call last):
|   File "/opt/eff.org/certbot/venv/bin/letsencrypt", line 7, in <module>
|     from certbot.main import main
|   File
"/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot/main.py",
line 18, in <module>
|     from certbot import account
|   File
"/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot/account.py",
line 4, in <module>
|     import hashlib
|   File "/usr/lib/python2.7/hashlib.py", line 138, in <module>
|     _hashlib.openssl_md_meth_names)
| AttributeError: 'module' object has no attribute 'openssl_md_meth_names'
| #

Diverse Google-Fundstellen waren der Meinung, es würde helfen, die
hashlib sozusagen manuell drüber- bzw. nachzuinstallieren. Das ist bei
mir auch ohne erkennbare Fehler durchgelaufen:

| # easy_install-2.7 hashlib
| Searching for hashlib
| Reading https://pypi.python.org/simple/hashlib/
| Best match: hashlib 20081119
| Downloading
https://files.pythonhosted.org/packages/74/bb/9003d081345e9f0451884146e9ea2cff6e4cc4deac9ffd4a9ee98b318a49/hashlib-20081119.zip#sha256=419de2fd10ae71ed9c6adcb55903f116abd1d8acc8c814dfd5f839b4d5013e38
| Processing hashlib-20081119.zip
| Writing /tmp/easy_install-SPkFpR/hashlib-20081119/setup.cfg
| Running hashlib-20081119/setup.py -q bdist_egg --dist-dir
/tmp/easy_install-SPkFpR/hashlib-20081119/egg-dist-tmp-9eeXCB
| no previously-included directories found matching 'build'
| no previously-included directories found matching 'dist'
| no previously-included directories found matching 'RCS'
| no previously-included directories found matching 'CVS'
| no previously-included directories found matching '.svn'
| zip_safe flag not set; analyzing archive contents...
| Adding hashlib 20081119 to easy-install.pth file
|
| Installed
/usr/local/lib/python2.7/dist-packages/hashlib-20081119-py2.7-linux-x86_64.egg
| Processing dependencies for hashlib
| Finished processing dependencies for hashlib
| #

Allerdings mag auch danach certbot nicht laufen:

| # /usr/local/bin/certbot-auto
| Traceback (most recent call last):
|   File "/tmp/tmp.41Fw0U0td5/fetch.py", line 25, in <module>
|     from urllib2 import build_opener, HTTPHandler, HTTPSHandler
|   File "/usr/lib/python2.7/urllib2.py", line 93, in <module>
|     import hashlib
|   File "build/bdist.linux-x86_64/egg/hashlib.py", line 115, in <module>
|     """
| TypeError: 'frozenset' object is not callable
| WARNING: unable to check for updates.
| Traceback (most recent call last):
|   File "<stdin>", line 16, in <module>
|   File "/usr/lib/python2.7/distutils/version.py", line 140, in __cmp__
|     compare = cmp(self.version, other.version)
| AttributeError: StrictVersion instance has no attribute 'version'
| #

Was also tun? Wie bekomme ich certbot wieder zum Funktionieren?


TIA,

Sebastian


Reply to: