iiab / iiab

Internet-in-a-Box - Build your own LIBRARY OF ALEXANDRIA with a Raspberry Pi !
https://internet-in-a-box.org
GNU General Public License v2.0
964 stars 75 forks source link

JupyterHub + Node-RED + Moodle + Internet Archive install problems on RaspiOS-for-PC's Node.js 10.x -- lacking Node.js 16.x, which requires amd64 not i386 python3 #2873

Closed holta closed 3 years ago

holta commented 3 years ago

Strangely I succeeded in installing most of BIG-sized IIAB onto RaspiOS-for-PC/VM (graphical desktop version, latest ISO is 2021-01-12) BUT Sugarizer was the only Node.js role that I cared to actually make work. As explained below (just for the record!) as it's probably NOT worth solving these issues.

iiab-diagnostics output: http://sprunge.us/xuBc6j?en

FWIW I did not try IIAB's 5th Node.js role (pbx) as it's not currently part of BIG-sized IIAB.

Node.js 10.x PROBLEM NUMBER 1 OF 4: JupyterHub

TASK [jupyterhub : Use pip to install into a virtual environment: /opt/iiab/jupyterhub (~229 MB)] **********************************************************************
fatal: [127.0.0.1]: FAILED! => {"changed": false, "cmd": ["/opt/iiab/jupyterhub/bin/pip3", "install", "--no-cache-dir", "pip", "wheel", "ipywidgets", "jupyterhub", "jupyterlab", "jupyterhub_firstuseauthenticator", "jupyterhub-systemdspawner"], "msg": "stdout: Already using interpreter /usr/bin/python3\nUsing base prefix '/usr'\nNew python executable in /opt/iiab/jupyterhub/bin/python3\nAlso creating executable in /opt/iiab/jupyterhub/bin/python\nInstalling setuptools, pkg_resources, pip, wheel...done.\nLooking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple\nRequirement already satisfied: pip in /opt/iiab/jupyterhub/lib/python3.7/site-packages (21.1.3)\nRequirement already satisfied: wheel in /opt/iiab/jupyterhub/lib/python3.7/site-packages (0.36.2)\nCollecting ipywidgets\n  Downloading https://www.piwheels.org/simple/ipywidgets/ipywidgets-7.6.3-py2.py3-none-any.whl (121 kB)\nCollecting jupyterhub\n  Downloading https://www.piwheels.org/simple/jupyterhub/jupyterhub-1.4.2-py3-none-any.whl (3.6 MB)\nCollecting jupyterlab\n  Downloading https://www.piwheels.org/simple/jupyterlab/jupyterlab-3.0.16-py3-none-any.whl (8.2 MB)\nCollecting jupyterhub_firstuseauthenticator\n  Downloading https://www.piwheels.org/simple/jupyterhub-firstuseauthenticator/jupyterhub_firstuseauthenticator-0.14.1-py3-none-any.whl (7.6 kB)\nCollecting jupyterhub-systemdspawner\n  Downloading https://www.piwheels.org/simple/jupyterhub-systemdspawner/jupyterhub_systemdspawner-0.15.0-py3-none-any.whl (8.4 kB)\nCollecting jupyterlab-widgets>=1.0.0\n  Downloading https://www.piwheels.org/simple/jupyterlab-widgets/jupyterlab_widgets-1.0.0-py3-none-any.whl (243 kB)\nCollecting traitlets>=4.3.1\n  Downloading https://www.piwheels.org/simple/traitlets/traitlets-5.0.5-py3-none-any.whl (100 kB)\nCollecting ipykernel>=4.5.1\n  Downloading https://www.piwheels.org/simple/ipykernel/ipykernel-6.0.3-py3-none-any.whl (122 kB)\nCollecting ipython>=4.0.0\n  Downloading https://www.piwheels.org/simple/ipython/ipython-7.25.0-py3-none-any.whl (786 kB)\nCollecting nbformat>=4.2.0\n  Downloading https://www.piwheels.org/simple/nbformat/nbformat-5.1.3-py3-none-any.whl (178 kB)\nCollecting widgetsnbextension~=3.5.0\n  Downloading https://www.piwheels.org/simple/widgetsnbextension/widgetsnbextension-3.5.1-py2.py3-none-any.whl (2.2 MB)\nCollecting matplotlib-inline<0.2.0,>=0.1.0\n  Downloading https://www.piwheels.org/simple/matplotlib-inline/matplotlib_inline-0.1.2-py3-none-any.whl (8.2 kB)\nCollecting jupyter-client<7.0\n  Downloading https://www.piwheels.org/simple/jupyter-client/jupyter_client-6.1.12-py3-none-any.whl (112 kB)\nCollecting importlib-metadata<4\n  Downloading https://www.piwheels.org/simple/importlib-metadata/importlib_metadata-3.10.1-py3-none-any.whl (14 kB)\nCollecting tornado<7.0,>=4.2\n  Downloading tornado-6.1-cp37-cp37m-manylinux2010_i686.whl (428 kB)\nCollecting debugpy<2.0,>=1.0.0\n  Downloading debugpy-1.3.0-cp37-cp37m-manylinux2014_i686.whl (4.5 MB)\nCollecting zipp>=0.5\n  Downloading https://www.piwheels.org/simple/zipp/zipp-3.5.0-py3-none-any.whl (5.7 kB)\nCollecting typing-extensions>=3.6.4\n  Downloading https://www.piwheels.org/simple/typing-extensions/typing_extensions-3.10.0.0-py3-none-any.whl (26 kB)\nCollecting prompt-toolkit!=3.0.0,!=3.0.1,<3.1.0,>=2.0.0\n  Downloading https://www.piwheels.org/simple/prompt-toolkit/prompt_toolkit-3.0.19-py3-none-any.whl (368 kB)\nCollecting jedi>=0.16\n  Downloading https://www.piwheels.org/simple/jedi/jedi-0.18.0-py2.py3-none-any.whl (1.4 MB)\nRequirement already satisfied: setuptools>=18.5 in /opt/iiab/jupyterhub/lib/python3.7/site-packages (from ipython>=4.0.0->ipywidgets) (57.4.0)\nCollecting pygments\n  Downloading https://www.piwheels.org/simple/pygments/Pygments-2.9.0-py3-none-any.whl (1.0 MB)\nCollecting pexpect>4.3\n  Downloading https://www.piwheels.org/simple/pexpect/pexpect-4.8.0-py2.py3-none-any.whl (59 kB)\nCollecting pickleshare\n  Downloading https://www.piwheels.org/simple/pickleshare/pickleshare-0.7.5-py2.py3-none-any.whl (6.9 kB)\nCollecting decorator\n  Downloading https://www.piwheels.org/simple/decorator/decorator-5.0.9-py3-none-any.whl (8.9 kB)\nCollecting backcall\n  Downloading https://www.piwheels.org/simple/backcall/backcall-0.2.0-py2.py3-none-any.whl (11 kB)\nCollecting parso<0.9.0,>=0.8.0\n  Downloading https://www.piwheels.org/simple/parso/parso-0.8.2-py2.py3-none-any.whl (94 kB)\nCollecting pyzmq>=13\n  Downloading pyzmq-22.1.0-cp37-cp37m-manylinux1_i686.whl (1.1 MB)\nCollecting python-dateutil>=2.1\n  Downloading https://www.piwheels.org/simple/python-dateutil/python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)\nCollecting jupyter-core>=4.6.0\n  Downloading https://www.piwheels.org/simple/jupyter-core/jupyter_core-4.7.1-py3-none-any.whl (82 kB)\nCollecting jsonschema!=2.5.0,>=2.4\n  Downloading https://www.piwheels.org/simple/jsonschema/jsonschema-3.2.0-py2.py3-none-any.whl (56 kB)\nCollecting ipython-genutils\n  Downloading https://www.piwheels.org/simple/ipython-genutils/ipython_genutils-0.2.0-py2.py3-none-any.whl (26 kB)\nCollecting attrs>=17.4.0\n  Downloading https://www.piwheels.org/simple/attrs/attrs-21.2.0-py2.py3-none-any.whl (53 kB)\nCollecting six>=1.11.0\n  Downloading https://www.piwheels.org/simple/six/six-1.16.0-py2.py3-none-any.whl (11 kB)\nCollecting pyrsistent>=0.14.0\n  Downloading pyrsistent-0.18.0-cp37-cp37m-manylinux1_i686.whl (112 kB)\nCollecting ptyprocess>=0.5\n  Downloading https://www.piwheels.org/simple/ptyprocess/ptyprocess-0.7.0-py2.py3-none-any.whl (13 kB)\nCollecting wcwidth\n  Downloading https://www.piwheels.org/simple/wcwidth/wcwidth-0.2.5-py2.py3-none-any.whl (30 kB)\nCollecting notebook>=4.4.1\n  Downloading https://www.piwheels.org/simple/notebook/notebook-6.4.0-py3-none-any.whl (9.5 MB)\nCollecting Send2Trash>=1.5.0\n  Downloading https://www.piwheels.org/simple/send2trash/Send2Trash-1.7.1-py3-none-any.whl (17 kB)\nCollecting terminado>=0.8.3\n  Downloading https://www.piwheels.org/simple/terminado/terminado-0.10.1-py3-none-any.whl (14 kB)\nCollecting jinja2\n  Downloading https://www.piwheels.org/simple/jinja2/Jinja2-3.0.1-py3-none-any.whl (133 kB)\nCollecting nbconvert\n  Downloading https://www.piwheels.org/simple/nbconvert/nbconvert-6.1.0-py3-none-any.whl (551 kB)\nCollecting prometheus-client\n  Downloading https://www.piwheels.org/simple/prometheus-client/prometheus_client-0.11.0-py2.py3-none-any.whl (56 kB)\nCollecting argon2-cffi\n  Downloading argon2-cffi-20.1.0.tar.gz (1.8 MB)\n  Installing build dependencies: started\n  Installing build dependencies: finished with status 'done'\n  Getting requirements to build wheel: started\n  Getting requirements to build wheel: finished with status 'done'\n    Preparing wheel metadata: started\n    Preparing wheel metadata: finished with status 'done'\nCollecting requests\n  Downloading https://www.piwheels.org/simple/requests/requests-2.26.0-py2.py3-none-any.whl (62 kB)\nCollecting oauthlib>=3.0\n  Downloading https://www.piwheels.org/simple/oauthlib/oauthlib-3.1.1-py2.py3-none-any.whl (146 kB)\nCollecting entrypoints\n  Downloading https://www.piwheels.org/simple/entrypoints/entrypoints-0.3-py2.py3-none-any.whl (11 kB)\nCollecting pamela\n  Downloading https://www.piwheels.org/simple/pamela/pamela-1.0.0-py2.py3-none-any.whl (5.8 kB)\nCollecting alembic>=1.4\n  Downloading https://www.piwheels.org/simple/alembic/alembic-1.6.5-py2.py3-none-any.whl (164 kB)\nCollecting certipy>=0.1.2\n  Downloading https://www.piwheels.org/simple/certipy/certipy-0.1.3-py3-none-any.whl (22 kB)\nCollecting jupyter-telemetry>=0.1.0\n  Downloading https://www.piwheels.org/simple/jupyter-telemetry/jupyter_telemetry-0.1.0-py3-none-any.whl (7.1 kB)\nCollecting async-generator>=1.9\n  Downloading https://www.piwheels.org/simple/async-generator/async_generator-1.10-py3-none-any.whl (18 kB)\nCollecting SQLAlchemy>=1.1\n  Downloading SQLAlchemy-1.4.21.tar.gz (7.7 MB)\nCollecting Mako\n  Downloading https://www.piwheels.org/simple/mako/Mako-1.1.4-py2.py3-none-any.whl (76 kB)\nCollecting python-editor>=0.3\n  Downloading https://www.piwheels.org/simple/python-editor/python_editor-1.0.4-py3-none-any.whl (4.9 kB)\nCollecting pyopenssl\n  Downloading https://www.piwheels.org/simple/pyopenssl/pyOpenSSL-20.0.1-py2.py3-none-any.whl (54 kB)\nCollecting MarkupSafe>=2.0\n  Downloading MarkupSafe-2.0.1-cp37-cp37m-manylinux2010_i686.whl (30 kB)\nCollecting python-json-logger\n  Downloading https://www.piwheels.org/simple/python-json-logger/python_json_logger-2.0.1-py34-none-any.whl (9.7 kB)\nCollecting ruamel.yaml\n  Downloading https://www.piwheels.org/simple/ruamel-yaml/ruamel.yaml-0.17.10-py3-none-any.whl (108 kB)\nCollecting greenlet!=0.4.17\n  Downloading greenlet-1.1.0.tar.gz (85 kB)\nCollecting jupyter-server~=1.4\n  Downloading https://www.piwheels.org/simple/jupyter-server/jupyter_server-1.9.0-py3-none-any.whl (389 kB)\nCollecting jupyterlab-server~=2.3\n  Downloading https://www.piwheels.org/simple/jupyterlab-server/jupyterlab_server-2.6.1-py3-none-any.whl (56 kB)\nCollecting nbclassic~=0.2\n  Downloading https://www.piwheels.org/simple/nbclassic/nbclassic-0.3.1-py3-none-any.whl (18 kB)\nCollecting packaging\n  Downloading https://www.piwheels.org/simple/packaging/packaging-21.0-py3-none-any.whl (40 kB)\nCollecting requests-unixsocket\n  Downloading https://www.piwheels.org/simple/requests-unixsocket/requests_unixsocket-0.2.0-py2.py3-none-any.whl (11 kB)\nCollecting anyio<4,>=3.1.0\n  Downloading https://www.piwheels.org/simple/anyio/anyio-3.2.1-py3-none-any.whl (75 kB)\nCollecting websocket-client\n  Downloading https://www.piwheels.org/simple/websocket-client/websocket_client-1.1.0-py2.py3-none-any.whl (68 kB)\nCollecting sniffio>=1.1\n  Downloading https://www.piwheels.org/simple/sniffio/sniffio-1.2.0-py3-none-any.whl (10 kB)\nCollecting idna>=2.8\n  Downloading https://www.piwheels.org/simple/idna/idna-3.2-py3-none-any.whl (59 kB)\nCollecting babel\n  Downloading https://www.piwheels.org/simple/babel/Babel-2.9.1-py2.py3-none-any.whl (8.8 MB)\nCollecting json5\n  Downloading https://www.piwheels.org/simple/json5/json5-0.9.6-py2.py3-none-any.whl (18 kB)\nCollecting bcrypt\n  Downloading bcrypt-3.2.0.tar.gz (42 kB)\n  Installing build dependencies: started\n  Installing build dependencies: finished with status 'done'\n  Getting requirements to build wheel: started\n  Getting requirements to build wheel: finished with status 'done'\n    Preparing wheel metadata: started\n    Preparing wheel metadata: finished with status 'done'\nCollecting cffi>=1.0.0\n  Downloading cffi-1.14.6-cp37-cp37m-manylinux1_i686.whl (380 kB)\nCollecting pycparser\n  Downloading https://www.piwheels.org/simple/pycparser/pycparser-2.20-py2.py3-none-any.whl (112 kB)\nCollecting pytz>=2015.7\n  Downloading https://www.piwheels.org/simple/pytz/pytz-2021.1-py2.py3-none-any.whl (510 kB)\nCollecting testpath\n  Downloading https://www.piwheels.org/simple/testpath/testpath-0.5.0-py3-none-any.whl (84 kB)\nCollecting jupyterlab-pygments\n  Downloading https://www.piwheels.org/simple/jupyterlab-pygments/jupyterlab_pygments-0.1.2-py2.py3-none-any.whl (4.6 kB)\nCollecting mistune<2,>=0.8.1\n  Downloading https://www.piwheels.org/simple/mistune/mistune-0.8.4-py2.py3-none-any.whl (16 kB)\nCollecting pandocfilters>=1.4.1\n  Downloading https://www.piwheels.org/simple/pandocfilters/pandocfilters-1.4.3-py3-none-any.whl (10 kB)\nCollecting defusedxml\n  Downloading https://www.piwheels.org/simple/defusedxml/defusedxml-0.7.1-py2.py3-none-any.whl (25 kB)\nCollecting bleach\n  Downloading https://www.piwheels.org/simple/bleach/bleach-3.3.1-py2.py3-none-any.whl (146 kB)\nCollecting nbclient<0.6.0,>=0.5.0\n  Downloading https://www.piwheels.org/simple/nbclient/nbclient-0.5.3-py3-none-any.whl (82 kB)\nCollecting nest-asyncio\n  Downloading https://www.piwheels.org/simple/nest-asyncio/nest_asyncio-1.5.1-py3-none-any.whl (5.0 kB)\nCollecting webencodings\n  Downloading https://www.piwheels.org/simple/webencodings/webencodings-0.5.1-py2.py3-none-any.whl (11 kB)\nCollecting pyparsing>=2.0.2\n  Downloading https://www.piwheels.org/simple/pyparsing/pyparsing-2.4.7-py2.py3-none-any.whl (67 kB)\nCollecting cryptography>=3.2\n  Downloading cryptography-3.4.7.tar.gz (546 kB)\n  Installing build dependencies: started\n  Installing build dependencies: finished with status 'done'\n  Getting requirements to build wheel: started\n  Getting requirements to build wheel: finished with status 'done'\n    Preparing wheel metadata: started\n    Preparing wheel metadata: finished with status 'done'\nCollecting certifi>=2017.4.17\n  Downloading https://www.piwheels.org/simple/certifi/certifi-2021.5.30-py2.py3-none-any.whl (145 kB)\nCollecting urllib3<1.27,>=1.21.1\n  Downloading https://www.piwheels.org/simple/urllib3/urllib3-1.26.6-py2.py3-none-any.whl (138 kB)\nCollecting charset-normalizer~=2.0.0\n  Downloading https://www.piwheels.org/simple/charset-normalizer/charset_normalizer-2.0.3-py3-none-any.whl (35 kB)\nCollecting ruamel.yaml.clib>=0.1.2\n  Downloading ruamel.yaml.clib-0.2.6.tar.gz (180 kB)\nBuilding wheels for collected packages: SQLAlchemy, greenlet, argon2-cffi, bcrypt, cryptography, ruamel.yaml.clib\n  Building wheel for SQLAlchemy (setup.py): started\n  Building wheel for SQLAlchemy (setup.py): finished with status 'done'\n  Created wheel for SQLAlchemy: filename=SQLAlchemy-1.4.21-cp37-cp37m-linux_i686.whl size=1545234 sha256=f0a7820f66d23e0fa7fa7c14ea94df4d7c49c56e1cee5d9c0225f8d4f0a0829d\n  Stored in directory: /tmp/pip-ephem-wheel-cache-4k7cy3zn/wheels/f2/51/6d/9ef27a827f9421e8753760a1970045e70b268a66bfe79f3096\n  Building wheel for greenlet (setup.py): started\n  Building wheel for greenlet (setup.py): finished with status 'done'\n  Created wheel for greenlet: filename=greenlet-1.1.0-cp37-cp37m-linux_i686.whl size=155500 sha256=1f52872762540b2be8495e131d202421385166ba9fcd9c82f135db1458c3671c\n  Stored in directory: /tmp/pip-ephem-wheel-cache-4k7cy3zn/wheels/db/1c/75/17998840473819b9b556be19cb20a072aabc3cfb21473d1d18\n  Building wheel for argon2-cffi (PEP 517): started\n  Building wheel for argon2-cffi (PEP 517): finished with status 'done'\n  Created wheel for argon2-cffi: filename=argon2_cffi-20.1.0-cp37-abi3-linux_i686.whl size=98206 sha256=d125d887c9826e73c31d0c4b04aa0cb0bd03daa91b8f0ef46346873054526d73\n  Stored in directory: /tmp/pip-ephem-wheel-cache-4k7cy3zn/wheels/57/12/fd/e064dbe3ee0236aa6c8c6c318a18821413886309a24e5f8fe7\n  Building wheel for bcrypt (PEP 517): started\n  Building wheel for bcrypt (PEP 517): finished with status 'done'\n  Created wheel for bcrypt: filename=bcrypt-3.2.0-cp37-cp37m-linux_i686.whl size=64690 sha256=b7dcd3e5683537897663f3f5e4e1097272977ca87c2db53b2357efbbe7273d81\n  Stored in directory: /tmp/pip-ephem-wheel-cache-4k7cy3zn/wheels/c8/ef/5b/5866ddf8e9944d7968fcb3782ad6a68f234bdd13ec3b04ee7c\n  Building wheel for cryptography (PEP 517): started\n  Building wheel for cryptography (PEP 517): finished with status 'error'\n  Building wheel for ruamel.yaml.clib (setup.py): started\n  Building wheel for ruamel.yaml.clib (setup.py): finished with status 'done'\n  Created wheel for ruamel.yaml.clib: filename=ruamel.yaml.clib-0.2.6-cp37-cp37m-linux_i686.whl size=549938 sha256=b7aeff90f97b8636a7bfe8e5d5bd1d5d6e8fb78ba6602d30fb171def28aaa811\n  Stored in directory: /tmp/pip-ephem-wheel-cache-4k7cy3zn/wheels/7a/b4/f0/b9446b9edef3d9280a4e5fcb9352cbe2b69f9611013e26df1a\nSuccessfully built SQLAlchemy greenlet argon2-cffi bcrypt ruamel.yaml.clib\nFailed to build cryptography\n\n:stderr:   ERROR: Command errored out with exit status 1:\n   command: /opt/iiab/jupyterhub/bin/python3 /opt/iiab/jupyterhub/lib/python3.7/site-packages/pip/_vendor/pep517/in_process/_in_process.py build_wheel /tmp/tmp1is9i314\n       cwd: /tmp/pip-install-l0scd2sy/cryptography_c1fa45e61d414acebbc1efcdaca94668\n  Complete output (165 lines):\n  running bdist_wheel\n  running build\n  running build_py\n  creating build\n  creating build/lib.linux-x86_64-3.7\n  creating build/lib.linux-x86_64-3.7/cryptography\n  copying src/cryptography/exceptions.py -> build/lib.linux-x86_64-3.7/cryptography\n  copying src/cryptography/utils.py -> build/lib.linux-x86_64-3.7/cryptography\n  copying src/cryptography/__about__.py -> build/lib.linux-x86_64-3.7/cryptography\n  copying src/cryptography/fernet.py -> build/lib.linux-x86_64-3.7/cryptography\n  copying src/cryptography/__init__.py -> build/lib.linux-x86_64-3.7/cryptography\n  creating build/lib.linux-x86_64-3.7/cryptography/x509\n  copying src/cryptography/x509/ocsp.py -> build/lib.linux-x86_64-3.7/cryptography/x509\n  copying src/cryptography/x509/certificate_transparency.py -> build/lib.linux-x86_64-3.7/cryptography/x509\n  copying src/cryptography/x509/oid.py -> build/lib.linux-x86_64-3.7/cryptography/x509\n  copying src/cryptography/x509/base.py -> build/lib.linux-x86_64-3.7/cryptography/x509\n  copying src/cryptography/x509/general_name.py -> build/lib.linux-x86_64-3.7/cryptography/x509\n  copying src/cryptography/x509/name.py -> build/lib.linux-x86_64-3.7/cryptography/x509\n  copying src/cryptography/x509/extensions.py -> build/lib.linux-x86_64-3.7/cryptography/x509\n  copying src/cryptography/x509/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/x509\n  creating build/lib.linux-x86_64-3.7/cryptography/hazmat\n  copying src/cryptography/hazmat/_oid.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat\n  copying src/cryptography/hazmat/_der.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat\n  copying src/cryptography/hazmat/_types.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat\n  copying src/cryptography/hazmat/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat\n  creating build/lib.linux-x86_64-3.7/cryptography/hazmat/bindings\n  copying src/cryptography/hazmat/bindings/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/bindings\n  creating build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives\n  copying src/cryptography/hazmat/primitives/hashes.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives\n  copying src/cryptography/hazmat/primitives/constant_time.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives\n  copying src/cryptography/hazmat/primitives/_asymmetric.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives\n  copying src/cryptography/hazmat/primitives/_cipheralgorithm.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives\n  copying src/cryptography/hazmat/primitives/keywrap.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives\n  copying src/cryptography/hazmat/primitives/padding.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives\n  copying src/cryptography/hazmat/primitives/poly1305.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives\n  copying src/cryptography/hazmat/primitives/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives\n  copying src/cryptography/hazmat/primitives/cmac.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives\n  copying src/cryptography/hazmat/primitives/hmac.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives\n  copying src/cryptography/hazmat/primitives/_serialization.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives\n  creating build/lib.linux-x86_64-3.7/cryptography/hazmat/backends\n  copying src/cryptography/hazmat/backends/interfaces.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends\n  copying src/cryptography/hazmat/backends/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends\n  creating build/lib.linux-x86_64-3.7/cryptography/hazmat/bindings/openssl\n  copying src/cryptography/hazmat/bindings/openssl/binding.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/bindings/openssl\n  copying src/cryptography/hazmat/bindings/openssl/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/bindings/openssl\n  copying src/cryptography/hazmat/bindings/openssl/_conditional.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/bindings/openssl\n  creating build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/serialization\n  copying src/cryptography/hazmat/primitives/serialization/ssh.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/serialization\n  copying src/cryptography/hazmat/primitives/serialization/base.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/serialization\n  copying src/cryptography/hazmat/primitives/serialization/pkcs12.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/serialization\n  copying src/cryptography/hazmat/primitives/serialization/pkcs7.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/serialization\n  copying src/cryptography/hazmat/primitives/serialization/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/serialization\n  creating build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/ciphers\n  copying src/cryptography/hazmat/primitives/ciphers/base.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/ciphers\n  copying src/cryptography/hazmat/primitives/ciphers/aead.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/ciphers\n  copying src/cryptography/hazmat/primitives/ciphers/algorithms.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/ciphers\n  copying src/cryptography/hazmat/primitives/ciphers/modes.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/ciphers\n  copying src/cryptography/hazmat/primitives/ciphers/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/ciphers\n  creating build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/kdf\n  copying src/cryptography/hazmat/primitives/kdf/x963kdf.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/kdf\n  copying src/cryptography/hazmat/primitives/kdf/kbkdf.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/kdf\n  copying src/cryptography/hazmat/primitives/kdf/pbkdf2.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/kdf\n  copying src/cryptography/hazmat/primitives/kdf/hkdf.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/kdf\n  copying src/cryptography/hazmat/primitives/kdf/concatkdf.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/kdf\n  copying src/cryptography/hazmat/primitives/kdf/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/kdf\n  copying src/cryptography/hazmat/primitives/kdf/scrypt.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/kdf\n  creating build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/twofactor\n  copying src/cryptography/hazmat/primitives/twofactor/totp.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/twofactor\n  copying src/cryptography/hazmat/primitives/twofactor/utils.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/twofactor\n  copying src/cryptography/hazmat/primitives/twofactor/hotp.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/twofactor\n  copying src/cryptography/hazmat/primitives/twofactor/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/twofactor\n  creating build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric\n  copying src/cryptography/hazmat/primitives/asymmetric/dh.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric\n  copying src/cryptography/hazmat/primitives/asymmetric/ed448.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric\n  copying src/cryptography/hazmat/primitives/asymmetric/x448.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric\n  copying src/cryptography/hazmat/primitives/asymmetric/utils.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric\n  copying src/cryptography/hazmat/primitives/asymmetric/ed25519.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric\n  copying src/cryptography/hazmat/primitives/asymmetric/x25519.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric\n  copying src/cryptography/hazmat/primitives/asymmetric/rsa.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric\n  copying src/cryptography/hazmat/primitives/asymmetric/ec.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric\n  copying src/cryptography/hazmat/primitives/asymmetric/padding.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric\n  copying src/cryptography/hazmat/primitives/asymmetric/dsa.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric\n  copying src/cryptography/hazmat/primitives/asymmetric/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/primitives/asymmetric\n  creating build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl\n  copying src/cryptography/hazmat/backends/openssl/dh.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl\n  copying src/cryptography/hazmat/backends/openssl/ocsp.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl\n  copying src/cryptography/hazmat/backends/openssl/ed448.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl\n  copying src/cryptography/hazmat/backends/openssl/x509.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl\n  copying src/cryptography/hazmat/backends/openssl/ciphers.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl\n  copying src/cryptography/hazmat/backends/openssl/decode_asn1.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl\n  copying src/cryptography/hazmat/backends/openssl/x448.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl\n  copying src/cryptography/hazmat/backends/openssl/utils.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl\n  copying src/cryptography/hazmat/backends/openssl/encode_asn1.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl\n  copying src/cryptography/hazmat/backends/openssl/ed25519.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl\n  copying src/cryptography/hazmat/backends/openssl/hashes.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl\n  copying src/cryptography/hazmat/backends/openssl/x25519.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl\n  copying src/cryptography/hazmat/backends/openssl/rsa.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl\n  copying src/cryptography/hazmat/backends/openssl/ec.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl\n  copying src/cryptography/hazmat/backends/openssl/aead.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl\n  copying src/cryptography/hazmat/backends/openssl/backend.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl\n  copying src/cryptography/hazmat/backends/openssl/poly1305.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl\n  copying src/cryptography/hazmat/backends/openssl/dsa.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl\n  copying src/cryptography/hazmat/backends/openssl/__init__.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl\n  copying src/cryptography/hazmat/backends/openssl/cmac.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl\n  copying src/cryptography/hazmat/backends/openssl/hmac.py -> build/lib.linux-x86_64-3.7/cryptography/hazmat/backends/openssl\n  running egg_info\n  writing src/cryptography.egg-info/PKG-INFO\n  writing dependency_links to src/cryptography.egg-info/dependency_links.txt\n  writing requirements to src/cryptography.egg-info/requires.txt\n  writing top-level names to src/cryptography.egg-info/top_level.txt\n  reading manifest file 'src/cryptography.egg-info/SOURCES.txt'\n  reading manifest template 'MANIFEST.in'\n  no previously-included directories found matching 'docs/_build'\n  warning: no previously-included files found matching 'vectors'\n  warning: no previously-included files matching '*' found under directory 'vectors'\n  warning: no previously-included files matching '*' found under directory '.github'\n  warning: no previously-included files found matching 'release.py'\n  warning: no previously-included files found matching '.coveragerc'\n  warning: no previously-included files found matching 'codecov.yml'\n  warning: no previously-included files found matching '.readthedocs.yml'\n  warning: no previously-included files found matching 'dev-requirements.txt'\n  warning: no previously-included files found matching 'tox.ini'\n  warning: no previously-included files found matching 'mypy.ini'\n  warning: no previously-included files matching '*' found under directory '.zuul.d'\n  warning: no previously-included files matching '*' found under directory '.zuul.playbooks'\n  adding license file 'LICENSE'\n  adding license file 'LICENSE.APACHE'\n  adding license file 'LICENSE.BSD'\n  adding license file 'LICENSE.PSF'\n  writing manifest file 'src/cryptography.egg-info/SOURCES.txt'\n  copying src/cryptography/py.typed -> build/lib.linux-x86_64-3.7/cryptography\n  running build_ext\n  generating cffi module 'build/temp.linux-x86_64-3.7/_padding.c'\n  creating build/temp.linux-x86_64-3.7\n  generating cffi module 'build/temp.linux-x86_64-3.7/_openssl.c'\n  running build_rust\n  \n      =============================DEBUG ASSISTANCE=============================\n      If you are seeing a compilation error please try the following steps to\n      successfully install cryptography:\n      1) Upgrade to the latest pip and try again. This will fix errors for most\n         users. See: https://pip.pypa.io/en/stable/installing/#upgrading-pip\n      2) Read https://cryptography.io/en/latest/installation.html for specific\n         instructions for your platform.\n      3) Check our frequently asked questions for more information:\n         https://cryptography.io/en/latest/faq.html\n      4) Ensure you have a recent Rust toolchain installed:\n         https://cryptography.io/en/latest/installation.html#rust\n      5) If you are experiencing issues with Rust for *this release only* you may\n         set the environment variable `CRYPTOGRAPHY_DONT_BUILD_RUST=1`.\n      =============================DEBUG ASSISTANCE=============================\n  \n  error: can't find Rust compiler\n  \n  If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler.\n  \n  To update pip, run:\n  \n      pip install --upgrade pip\n  \n  and then retry package installation.\n  \n  If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain.\n  \n  This package requires Rust >=1.41.0.\n  ----------------------------------------\n  ERROR: Failed building wheel for cryptography\nERROR: Could not build wheels for cryptography which use PEP 517 and cannot be installed directly\n"}

Underlying error appears to be: This package requires Rust >=1.41.0.

Node.js 10.x PROBLEM NUMBER 2 of 4: Likewise Node-RED 2.0.1 does not install, as a result of:

TASK [nodered : Globally 'npm install' 3 Node-RED packages: node-red, node-red-admin, node-red-dashboard] **************************************************************
fatal: [127.0.0.1]: FAILED! => {"changed": true, "cmd": ["npm", "install", "-g", "--unsafe-perm", "node-red", "node-red-admin", "node-red-dashboard"], "delta": "0:00:03.559145", "end": "2021-07-21 11:13:37.496275", "msg": "non-zero return code", "rc": -11, "start": "2021-07-21 11:13:33.937130", "stderr": "npm WARN npm npm does not support Node.js v10.24.0\nnpm WARN npm You should probably upgrade to a newer version of node as we\nnpm WARN npm can't make any promises that npm will work with this version.\nnpm WARN npm Supported releases of Node.js are the latest release of 4, 6, 7, 8, 9.\nnpm WARN npm You can find the latest version at https://nodejs.org/\nnpm WARN notice [SECURITY] bcrypt has the following vulnerability: 1 low. Go here for more details: https://www.npmjs.com/advisories?search=bcrypt&version=5.0.1 - Run `npm i npm@latest -g` to upgrade your npm version, and then `npm audit` to get more info.", "stderr_lines": ["npm WARN npm npm does not support Node.js v10.24.0", "npm WARN npm You should probably upgrade to a newer version of node as we", "npm WARN npm can't make any promises that npm will work with this version.", "npm WARN npm Supported releases of Node.js are the latest release of 4, 6, 7, 8, 9.", "npm WARN npm You can find the latest version at https://nodejs.org/", "npm WARN notice [SECURITY] bcrypt has the following vulnerability: 1 low. Go here for more details: https://www.npmjs.com/advisories?search=bcrypt&version=5.0.1 - Run `npm i npm@latest -g` to upgrade your npm version, and then `npm audit` to get more info."], "stdout": "", "stdout_lines": []}

Underlying error appears to be: npm npm does not support Node.js v10.24.0

Running npm i npm@latest -g moved things forward a bit until this next failure:

TASK [nodered : Download/Install 4 useful items for RPi: Node-RED icon, start menu item, /etc/logrotate.d/nodered, tweaked "Pi cpu temperature.json"] ******************
changed: [127.0.0.1] => (item={'url': 'https://raw.githubusercontent.com/node-red/raspbian-deb-package/master/resources/node-red-icon.svg', 'dest': '/usr/share/icons/hicolor/scalable/apps/node-red-icon.svg'})
changed: [127.0.0.1] => (item={'url': 'https://raw.githubusercontent.com/node-red/raspbian-deb-package/master/resources/Node-RED.desktop', 'dest': '/usr/share/applications/Node-RED.desktop'})
changed: [127.0.0.1] => (item={'url': 'https://raw.githubusercontent.com/node-red/raspbian-deb-package/master/resources/nodered.rotate', 'dest': '/etc/logrotate.d/nodered'})
failed: [127.0.0.1] (item={'url': 'https://raw.githubusercontent.com/node-red/raspbian-deb-package/master/resources/Pi%20cpu%20temperature.json', 'dest': '/usr/lib/node_modules/node-red-contrib-ibm-watson-iot/examples/Pi cpu temperature.json'}) => {"ansible_loop_var": "item", "changed": false, "checksum_dest": null, "checksum_src": "6cc6bdd68ee41fcd184d10f7a457037fad535d71", "dest": "/usr/lib/node_modules/node-red-contrib-ibm-watson-iot/examples/Pi cpu temperature.json", "elapsed": 0, "item": {"dest": "/usr/lib/node_modules/node-red-contrib-ibm-watson-iot/examples/Pi cpu temperature.json", "url": "https://raw.githubusercontent.com/node-red/raspbian-deb-package/master/resources/Pi%20cpu%20temperature.json"}, "msg": "Destination /usr/lib/node_modules/node-red-contrib-ibm-watson-iot/examples does not exist", "src": "/root/.ansible/tmp/ansible-tmp-1626880872.3256578-8693-185337324085903/tmp61nv5ft8", "url": "https://raw.githubusercontent.com/node-red/raspbian-deb-package/master/resources/Pi%20cpu%20temperature.json"}

Node.js 10.x PROBLEM NUMBER 3 OF 4: Curiously MongoDB can be made to install using amd64 by running apt install mongodb-org at the command-line. Even despite this Ansible failure: (!)

TASK [mongodb : Install packages: mongodb-org, mongodb-org-server] *****************************************************************************************************
fatal: [127.0.0.1]: FAILED! => {"changed": false, "msg": "No package matching 'mongodb-org' is available"}

CLI's apt install is able to work with this, even while Ansible refuses to move forward with the i386 / amd64 ambiguity:

root@raspios10-desk-vm:~# more /etc/apt/sources.list.d/mongodb-org.list
deb http://repo.mongodb.org/apt/debian buster/mongodb-org/4.4 main

The i386 / amd64 ambiguity's shown here:

root@raspios10-desk-vm:~# apt update
...
Hit:8 http://repo.mongodb.org/apt/debian buster/mongodb-org/4.4 Release
...
N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'http://repo.mongodb.org/apt/debian buster/mongodb-org/4.4 InRelease' doesn't support architecture 'i386'

In any case, the CLI approach works (apt install mongodb-org) allowing Sugarizer to fully install, as a result of:

root@raspios10-desk-vm:~# apt list "mongodb*"
Listing... Done
mongodb-database-tools/buster,now 100.4.0 amd64 [installed,automatic]
mongodb-dev/stable,stable 2:1.1.3-3 all
mongodb-mongosh/buster 1.0.1 amd64
mongodb-org-database-tools-extra/buster,now 4.4.7 amd64 [installed,automatic]
mongodb-org-mongos/buster,now 4.4.7 amd64 [installed,automatic]
mongodb-org-server/buster,now 4.4.7 amd64 [installed,automatic]
mongodb-org-shell/buster,now 4.4.7 amd64 [installed,automatic]
mongodb-org-tools/buster,now 4.4.7 amd64 [installed,automatic]
mongodb-org/buster,now 4.4.7 amd64 [installed]

Node.js 10.x PROBLEM NUMBER 4 OF 4: Internet Archive doesn't install as a result of...

TASK [internetarchive : Run 'yarn add @internetarchive/dweb-mirror' to download/populate /opt/iiab/internetarchive/node_modules (CAN TAKE ~5 MINUTES)] *****************
fatal: [127.0.0.1]: FAILED! => {"changed": true, "cmd": "yarn config set child-concurrency 1 && yarn add @internetarchive/dweb-mirror", "delta": "0:01:01.438868", "end": "2021-07-21 12:03:03.547696", "msg": "non-zero return code", "rc": 1, "start": "2021-07-21 12:02:02.108828", "stderr": "warning @internetarchive/dweb-mirror > @internetarchive/dweb-archive-dist > react > fbjs > core-js@1.2.7: core-js@<3.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js.\nwarning @internetarchive/dweb-mirror > @futurepress/epubjs-reader > epubjs > xmldom@0.3.0: Deprecated due to CVE-2021-21366 resolved in 0.5.0\nwarning @internetarchive/dweb-mirror > @futurepress/epubjs-reader > epubjs > @types/localforage@0.0.34: This is a stub types definition for localforage (https://github.com/localForage/localForage). localforage provides its own type definitions, so you don't need @types/localforage installed!\nerror /opt/iiab/internetarchive/node_modules/sharp: Command failed.\nExit code: 1\nCommand: (node install/libvips && node install/dll-copy && prebuild-install) || (node install/can-compile && node-gyp rebuild && node install/dll-copy)\nArguments: \nDirectory: /opt/iiab/internetarchive/node_modules/sharp\nOutput:\nsharp: Installation error: Intel Architecture 32-bit systems require manual installation of libvips >= 8.10.6\nsharp: Please see https://sharp.pixelplumbing.com/install for required dependencies", "stderr_lines": ["warning @internetarchive/dweb-mirror > @internetarchive/dweb-archive-dist > react > fbjs > core-js@1.2.7: core-js@<3.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js.", "warning @internetarchive/dweb-mirror > @futurepress/epubjs-reader > epubjs > xmldom@0.3.0: Deprecated due to CVE-2021-21366 resolved in 0.5.0", "warning @internetarchive/dweb-mirror > @futurepress/epubjs-reader > epubjs > @types/localforage@0.0.34: This is a stub types definition for localforage (https://github.com/localForage/localForage). localforage provides its own type definitions, so you don't need @types/localforage installed!", "error /opt/iiab/internetarchive/node_modules/sharp: Command failed.", "Exit code: 1", "Command: (node install/libvips && node install/dll-copy && prebuild-install) || (node install/can-compile && node-gyp rebuild && node install/dll-copy)", "Arguments: ", "Directory: /opt/iiab/internetarchive/node_modules/sharp", "Output:", "sharp: Installation error: Intel Architecture 32-bit systems require manual installation of libvips >= 8.10.6", "sharp: Please see https://sharp.pixelplumbing.com/install for required dependencies"], "stdout": "yarn config v1.22.5\nsuccess Set \"child-concurrency\" to \"1\".\nDone in 0.06s.\nyarn add v1.22.5\ninfo No lockfile found.\n[1/4] Resolving packages...\n[2/4] Fetching packages...\n[3/4] Linking dependencies...\n[4/4] Building fresh packages...\ninfo Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.", "stdout_lines": ["yarn config v1.22.5", "success Set \"child-concurrency\" to \"1\".", "Done in 0.06s.", "yarn add v1.22.5", "info No lockfile found.", "[1/4] Resolving packages...", "[2/4] Fetching packages...", "[3/4] Linking dependencies...", "[4/4] Building fresh packages...", "info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command."]}

CONTEXT

The usual https://github.com/nodesource/distributions/blob/master/README.md#debian-and-ubuntu-based-distributions method to install Node.js and npm do not work.

As reconfirmed by https://deb.nodesource.com/node_16.x/pool/main/n/nodejs/nodejs_16.4.1-deb-1nodesource1_amd64.deb installing on Debian 10 VM but it won't install on RaspiOS 10 VM -- despite these 2 distros being nearly identical in (almost!) every way.

Details: apt install (or dpkg -i) of above .deb fails on RaspiOS 10 VM, as a result of packages {python3-minimal, python3} being i386 (on RaspiOS 10 VM), instead of amd64 (on real Debian 10 VM!)

I'll bypass this quagmire and use RaspiOS 10's own Node.js 10.x -- with the usual https://github.com/iiab/iiab/wiki/IIAB-Platforms hack of running:

apt install nodejs npm
echo 'nodejs_installed: True' >> /etc/iiab/iiab_state.yml

Just FYI these are the versions I ended up with:

root@raspios10-desk-vm:~# apt list "nodejs*" "npm*"
Listing... Done
nodejs-doc/stable,stable,stable,stable,now 10.24.0~dfsg-1~deb10u1 all [installed,automatic]
nodejs/unknown 16.4.1-1nodesource1 amd64
nodejs/stable,stable,now 10.24.0~dfsg-1~deb10u1 i386 [installed]
npm2deb/stable,stable 0.2.8-5 all
npm/stable,stable,now 5.8.0+ds6-4+deb10u2 all [installed]

Sure one could compile nodejs & npm 16.x for this eccentric i386/amd64 hybrid OS (instructions are straightforward) but not worth it. As I'm just trying to understand whether RaspiOS-for-PC/VM is tolerable or not (:

CONCLUSION: I set the following in /etc/iiab/local_vars.yml — and completed the IIAB install experiment, by repeatedly running sudo iiab

jupyterhub_install: False
jupyterhub_enabled: False

nodered_install: False
nodered_enabled: False

internetarchive_install: False
internetarchive_enabled: False

This experiment is thanks to @deltacloud9 and @jvonau's work yesterday on:

holta commented 3 years ago

An "ENTIRELY AT YOUR OWN RISK" WARNING summarizing this entire RaspiOS-on-PC situation is now posted at the bottom of SECTION 2 here: https://github.com/iiab/iiab/wiki/IIAB-Platforms

Specifically:

Debian Buster with Raspberry Pi Desktop (i.e. for x86_64 PC/VM) will NOT work with modern Node.js apps — as a result of this distro's hybrid 32-bit and 64-bit CPU arch legacy (specifically, i386-instead-of-amd64 versions of python3 packages) which lead to serious Node.js 10.x problems across the board. Sugarizer can be made to work if absolutely necessary. But this is ENTIRELY AT YOUR OWN RISK. Extensive details written up on 2021-07-21: #2873

jvonau commented 3 years ago

What does dpkg --print-architecture and dpkg --print-foreign-architectures return? Think that image was build with a i386 userspace see https://github.com/RPi-Distro/pi-gen/pull/415/files. On a side note the /etc/rpi-issue's git hash is nowhere to be found on github

holta commented 3 years ago

What does dpkg --print-architecture and dpkg --print-foreign-architectures return?

root@raspios10-desk-vm:~# dpkg --print-architecture
i386
root@raspios10-desk-vm:~# dpkg --print-foreign-architectures
amd64

Interesting!

jvonau commented 3 years ago

Please add both dpkg --print-architecture dpkg --print-foreign-architectures to iiab-diagnostics to add future debugging of other goofy oddball combinations that show up out of the blue.

holta commented 3 years ago

Please add both dpkg --print-architecture dpkg --print-foreign-architectures to iiab-diagnostics to add future debugging of other goofy oddball combinations that show up out of the blue.

Done. See:

If you would like the ordering changed (within the pastebins) please LMK.