Failed to install Plone 5.2(r2) on debian 9

Debian9 with python 2.7. All are default.
I failed to install Plone-5.2.0-UnifiedInstaller-r2.tgz on debian 9. Here is the install.log:

Detailed installation log
Starting at Wed Aug 14 14:21:02 HKT 2019
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
WARNING: The directory '/bin/false/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
WARNING: The directory '/bin/false/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Collecting setuptools==41.0.1 (from -r /opt/plone/tmp/base_skeleton/requirements.txt (line 1))
Downloading https://files.pythonhosted.org/packages/ec/51/f45cea425fd5cb0b0380f5b0f048ebc1da5b417e48d304838c02d6288a1e/setuptools-41.0.1-py2.py3-none-any.whl (575kB)
Collecting zc.buildout==2.13.2 (from -r /opt/plone/tmp/base_skeleton/requirements.txt (line 2))
Downloading https://files.pythonhosted.org/packages/9c/ef/bf528f9e06143a7f3d87a32a3c4f433a7c5a58c1848f6369ed571a3255e6/zc.buildout-2.13.2.tar.gz (166kB)
Building wheels for collected packages: zc.buildout
WARNING: Building wheel for zc.buildout failed: [Errno 20] Not a directory: '/bin/false/.cache'
Failed to build zc.buildout
Installing collected packages: setuptools, zc.buildout
Found existing installation: setuptools 41.1.0
Uninstalling setuptools-41.1.0:
Successfully uninstalled setuptools-41.1.0
Running setup.py install for zc.buildout: started
Running setup.py install for zc.buildout: finished with status 'done'
Successfully installed setuptools-41.0.1 zc.buildout-2.13.2
While:
Installing.
Loading extensions.
Getting distribution for 'buildout.sanitycheck==1.0.2'.

An internal error occurred due to a bug in either zc.buildout or in a
recipe being used:
Traceback (most recent call last):
File "/opt/plone/zeocluster/local/lib/python2.7/site-packages/zc/buildout/buildout.py", line 2174, in main
getattr(buildout, command)(args)
File "/opt/plone/zeocluster/local/lib/python2.7/site-packages/zc/buildout/buildout.py", line 658, in install
self._load_extensions()
File "/opt/plone/zeocluster/local/lib/python2.7/site-packages/zc/buildout/buildout.py", line 1187, in _load_extensions
newest=self.newest, allow_hosts=self._allow_hosts)
File "/opt/plone/zeocluster/local/lib/python2.7/site-packages/zc/buildout/easy_install.py", line 957, in install
return installer.install(specs, working_set)
File "/opt/plone/zeocluster/local/lib/python2.7/site-packages/zc/buildout/easy_install.py", line 682, in install
for dist in self._get_dist(requirement, ws):
File "/opt/plone/zeocluster/local/lib/python2.7/site-packages/zc/buildout/easy_install.py", line 543, in _get_dist
dist, avail = self._satisfied(requirement)
File "/opt/plone/zeocluster/local/lib/python2.7/site-packages/zc/buildout/easy_install.py", line 339, in _satisfied
return None, self._obtain(req, source)
File "/opt/plone/zeocluster/local/lib/python2.7/site-packages/zc/buildout/easy_install.py", line 466, in _obtain
if index.obtain(requirement) is None:
File "/opt/plone/zeocluster/local/lib/python2.7/site-packages/setuptools/package_index.py", line 502, in obtain
self.prescan()
File "/opt/plone/zeocluster/local/lib/python2.7/site-packages/setuptools/package_index.py", line 544, in prescan
list(map(self.scan_url, self.to_scan))
File "/opt/plone/zeocluster/local/lib/python2.7/site-packages/setuptools/package_index.py", line 827, in scan_url
self.process_url(url, True)
File "/opt/plone/zeocluster/local/lib/python2.7/site-packages/setuptools/package_index.py", line 357, in process_url
page = f.read()
File "/usr/lib/python2.7/socket.py", line 355, in read
data = self._sock.recv(rbufsize)
File "/usr/lib/python2.7/httplib.py", line 573, in read
return self._read_chunked(amt)
File "/usr/lib/python2.7/httplib.py", line 633, in _read_chunked
value.append(self._safe_read(amt))
File "/usr/lib/python2.7/httplib.py", line 688, in _safe_read
chunk = self.fp.read(min(amt, MAXAMOUNT))
File "/usr/lib/python2.7/socket.py", line 384, in read
data = self._sock.recv(left)
timeout: timed out

Regards.
Hugo

  1. format your error information properly. It is a major pain having to read such a badly formatted posting. Put the pre-formatted stuff into triple back quotes (markdown format)
  2. likely a networking issue. Re-run buildout...

Plone Foundation Code of Conduct