Problem to Upgrading certbot-auto 0.32.0 to 0.33.1

I have this error during Upgrading certbot-auto 0.32.0 to 0.33.1…

Upgrading certbot-auto 0.32.0 to 0.33.1…
Replacing certbot-auto…
Creating virtual environment…
Installing Python packages…
Had a problem while installing Python packages.

pip prints the following errors:

Collecting ConfigArgParse==0.14.0 (from -r /tmp/tmp.nNo3CjFq5P/letsencrypt-auto-requirements.txt (line 7))
Downloading … ConfigArgParse-0.14.0.tar.gz
Collecting asn1crypto==0.24.0 (from -r /tmp/tmp.nNo3CjFq5P/letsencrypt-auto-requirements.txt (line 9))
Downloading … asn1crypto-0.24.0-py2.py3-none-any.whl (101kB)
Collecting certifi==2019.3.9 (from -r /tmp/tmp.nNo3CjFq5P/letsencrypt-auto-requirements.txt (line 12))
Downloading … certifi-2019.3.9-py2.py3-none-any.whl (158kB)
Collecting cffi==1.12.2 (from -r /tmp/tmp.nNo3CjFq5P/letsencrypt-auto-requirements.txt (line 15))
Downloading … cffi-1.12.2.tar.gz (453kB)
Collecting chardet==3.0.4 (from -r /tmp/tmp.nNo3CjFq5P/letsencrypt-auto-requirements.txt (line 44))
Downloading … chardet-3.0.4-py2.py3-none-any.whl (133kB)
Collecting configobj==5.0.6 (from -r /tmp/tmp.nNo3CjFq5P/letsencrypt-auto-requirements.txt (line 47))
Downloading … configobj-5.0.6.tar.gz
Collecting cryptography==2.6.1 (from -r /tmp/tmp.nNo3CjFq5P/letsencrypt-auto-requirements.txt (line 49))
Downloading … cryptography-2.6.1.tar.gz (491kB)
Collecting enum34==1.1.6 (from -r /tmp/tmp.nNo3CjFq5P/letsencrypt-auto-requirements.txt (line 71))
Downloading … enum34-1.1.6-py2-none-any.whl
Collecting funcsigs==1.0.2 (from -r /tmp/tmp.nNo3CjFq5P/letsencrypt-auto-requirements.txt (line 76))
Downloading … funcsigs-1.0.2-py2.py3-none-any.whl
Collecting future==0.17.1 (from -r /tmp/tmp.nNo3CjFq5P/letsencrypt-auto-requirements.txt (line 79))
Downloading … future-0.17.1.tar.gz (829kB)
Collecting idna==2.8 (from -r /tmp/tmp.nNo3CjFq5P/letsencrypt-auto-requirements.txt (line 81))
Downloading … idna-2.8-py2.py3-none-any.whl (58kB)
Collecting ipaddress==1.0.22 (from -r /tmp/tmp.nNo3CjFq5P/letsencrypt-auto-requirements.txt (line 84))
Downloading … ipaddress-1.0.22-py2.py3-none-any.whl
Collecting josepy==1.1.0 (from -r /tmp/tmp.nNo3CjFq5P/letsencrypt-auto-requirements.txt (line 87))
Downloading … josepy-1.1.0-py2.py3-none-any.whl (53kB)
Collecting mock==1.3.0 (from -r /tmp/tmp.nNo3CjFq5P/letsencrypt-auto-requirements.txt (line 90))
Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by ‘ProtocolError(‘Connection aborted.’, BadStatusLine("’’",))’: /simple/mock/
Downloading … mock-1.3.0-py2.py3-none-any.whl (56kB)
Collecting parsedatetime==2.4 (from -r /tmp/tmp.nNo3CjFq5P/letsencrypt-auto-requirements.txt (line 93))
Downloading … parsedatetime-2.4-py2-none-any.whl (40kB)
Collecting pbr==5.1.3 (from -r /tmp/tmp.nNo3CjFq5P/letsencrypt-auto-requirements.txt (line 96))
Downloading … pbr-5.1.3-py2.py3-none-any.whl (107kB)
Collecting pyOpenSSL==19.0.0 (from -r /tmp/tmp.nNo3CjFq5P/letsencrypt-auto-requirements.txt (line 99))
Downloading … pyOpenSSL-19.0.0-py2.py3-none-any.whl (53kB)
Collecting pyRFC3339==1.1 (from -r /tmp/tmp.nNo3CjFq5P/letsencrypt-auto-requirements.txt (line 102))
Downloading … pyRFC3339-1.1-py2.py3-none-any.whl
Collecting pycparser==2.19 (from -r /tmp/tmp.nNo3CjFq5P/letsencrypt-auto-requirements.txt (line 105))
Downloading … pycparser-2.19-py2.py3-none-any.whl (111kB)
Collecting pyparsing==2.3.1 (from -r /tmp/tmp.nNo3CjFq5P/letsencrypt-auto-requirements.txt (line 107))
Downloading … pyparsing-2.3.1-py2.py3-none-any.whl (61kB)
Collecting python-augeas==0.5.0 (from -r /tmp/tmp.nNo3CjFq5P/letsencrypt-auto-requirements.txt (line 110))
Downloading … python-augeas-0.5.0.tar.gz (90kB)
Collecting pytz==2018.9 (from -r /tmp/tmp.nNo3CjFq5P/letsencrypt-auto-requirements.txt (line 112))
Downloading … pytz-2018.9-py2.py3-none-any.whl (510kB)
Collecting requests==2.21.0 (from -r /tmp/tmp.nNo3CjFq5P/letsencrypt-auto-requirements.txt (line 115))
Downloading … requests-2.21.0-py2.py3-none-any.whl (57kB)
Collecting requests-toolbelt==0.9.1 (from -r /tmp/tmp.nNo3CjFq5P/letsencrypt-auto-requirements.txt (line 118))
Downloading … requests_toolbelt-0.9.1-py2.py3-none-any.whl (54kB)
Collecting six==1.12.0 (from -r /tmp/tmp.nNo3CjFq5P/letsencrypt-auto-requirements.txt (line 121))
Downloading … six-1.12.0-py2.py3-none-any.whl
Collecting urllib3==1.24.1 (from -r /tmp/tmp.nNo3CjFq5P/letsencrypt-auto-requirements.txt (line 124))
Downloading … urllib3-1.24.1-py2.py3-none-any.whl (118kB)
Collecting zope.component==4.5 (from -r /tmp/tmp.nNo3CjFq5P/letsencrypt-auto-requirements.txt (line 127))
Downloading … zope.component-4.5-py2.py3-none-any.whl (70kB)
Collecting zope.deferredimport==4.3 (from -r /tmp/tmp.nNo3CjFq5P/letsencrypt-auto-requirements.txt (line 130))
Downloading … zope.deferredimport-4.3-py2.py3-none-any.whl
Collecting zope.deprecation==4.4.0 (from -r /tmp/tmp.nNo3CjFq5P/letsencrypt-auto-requirements.txt (line 133))
Downloading … zope.deprecation-4.4.0-py2.py3-none-any.whl
Collecting zope.event==4.4 (from -r /tmp/tmp.nNo3CjFq5P/letsencrypt-auto-requirements.txt (line 136))
Downloading … zope.event-4.4-py2.py3-none-any.whl
Collecting zope.hookable==4.2.0 (from -r /tmp/tmp.nNo3CjFq5P/letsencrypt-auto-requirements.txt (line 139))
Downloading … zope.hookable-4.2.0.tar.gz
Collecting zope.interface==4.6.0 (from -r /tmp/tmp.nNo3CjFq5P/letsencrypt-auto-requirements.txt (line 150))
Downloading … zope.interface-4.6.0.tar.gz (150kB)
Collecting zope.proxy==4.3.1 (from -r /tmp/tmp.nNo3CjFq5P/letsencrypt-auto-requirements.txt (line 180))
Downloading … zope.proxy-4.3.1.tar.gz (43kB)
Collecting letsencrypt==0.7.0 (from -r /tmp/tmp.nNo3CjFq5P/letsencrypt-auto-requirements.txt (line 200))
Downloading … letsencrypt-0.7.0-py2-none-any.whl
Collecting certbot==0.33.1 (from -r /tmp/tmp.nNo3CjFq5P/letsencrypt-auto-requirements.txt (line 204))
Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by ‘ProtocolError(‘Connection aborted.’, BadStatusLine("’’",))’: /simple/certbot/
Downloading … certbot-0.33.1-py2.py3-none-any.whl (324kB)
Collecting acme==0.33.1 (from -r /tmp/tmp.nNo3CjFq5P/letsencrypt-auto-requirements.txt (line 207))
Downloading … acme-0.33.1-py2.py3-none-any.whl (86kB)
Collecting certbot-apache==0.33.1 (from -r /tmp/tmp.nNo3CjFq5P/letsencrypt-auto-requirements.txt (line 210))
Downloading … certbot_apache-0.33.1-py2.py3-none-any.whl (249kB)
Collecting certbot-nginx==0.33.1 (from -r /tmp/tmp.nNo3CjFq5P/letsencrypt-auto-requirements.txt (line 213))
Downloading … certbot_nginx-0.33.1-py2.py3-none-any.whl (86kB)
Requirement already satisfied: setuptools>=1.0 in /opt/eff.org/certbot/venv/lib/python2.7/site-packages (from josepy==1.1.0->-r /tmp/tmp.nNo3CjFq5P/letsencrypt-auto-requirements.txt (line 87))
THESE PACKAGES DO NOT MATCH THE HASHES FROM THE REQUIREMENTS FILE. If you have updated the package versions, please update the hashes. Otherwise, examine the package contents carefully; someone may have tampered with them.
pycparser==2.19 from https://www.piwheels.org/simple/pycparser/pycparser-2.19-py2.py3-none-any.whl#sha256=344870c533812cb119c5475b5aed033ec546118711338ff9b2b78e67098d64e7 (from -r /tmp/tmp.nNo3CjFq5P/letsencrypt-auto-requirements.txt (line 105)):
Expected sha256 a988718abfad80b6b157acce7bf130a30876d27603738ac39f140993246b25b3
Got 344870c533812cb119c5475b5aed033ec546118711338ff9b2b78e67098d64e7

Certbot has problem setting up the virtual environment.

We were not be able to guess the right solution from your pip
output.

Consult https://certbot.eff.org/docs/install.html#problems-with-python-virtual-environment
for possible solutions.
You may also find some support resources at https://certbot.eff.org/support/ .

I try to add to my batch as you said “Problems with Python virtual environment” a swapfile at 1G to my Raspbian.

Same thing.

I update the raspbian to the lastest version.

Same thing.

Other solution or idea.

Thanks

See this thread:

1 Like

i read the help and i remove pip.conf
and now it’s OK

Thanks

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.