OLD nodejs 0 : NEW nodejs 16 : *************************************** Started : Sun 17 Jul 2022 04:40:57 PM EDT Running for user sonyvaio at /home/sonyvaio Failed to stop nodered.service: Unit nodered.service not loaded. Found global nodes: : WARNING: apt does not have a stable CLI interface. Use with caution in scripts. Reading package lists... Building dependency tree... Reading state information... E: Unable to locate package nodered Installing nodejs 16 WARNING: apt does not have a stable CLI interface. Use with caution in scripts. Reading package lists... Building dependency tree... Reading state information... Package 'nodejs-legacy' is not installed, so not removed Package 'npm' is not installed, so not removed Package 'nodejs' is not installed, so not removed 0 upgraded, 0 newly installed, 0 to remove and 93 not upgraded. dpkg: warning: ignoring request to remove nodejs which isn't installed dpkg: warning: ignoring request to remove node which isn't installed WARNING: apt does not have a stable CLI interface. Use with caution in scripts. Reading package lists... Building dependency tree... Reading state information... 0 upgraded, 0 newly installed, 0 to remove and 93 not upgraded. Grab the LTS bundle WARNING: apt does not have a stable CLI interface. Use with caution in scripts. Reading package lists... Building dependency tree... Reading state information... curl is already the newest version (7.74.0-1.3+deb11u1). 0 upgraded, 0 newly installed, 0 to remove and 93 not upgraded. ## Installing the NodeSource Node.js 16.x repo... ## Populating apt-get cache... + apt-get update Hit:1 http://deb.debian.org/debian bullseye InRelease Hit:2 http://deb.debian.org/debian-security bullseye-security InRelease Hit:3 http://deb.debian.org/debian bullseye-updates InRelease Hit:4 http://archive.raspberrypi.org/debian bullseye InRelease Reading package lists... ## Confirming "bullseye" is supported... + curl -sLf -o /dev/null 'https://deb.nodesource.com/node_16.x/dists/bullseye/Release' ## Adding the NodeSource signing key to your keyring... + curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | gpg --dearmor | tee /usr/share/keyrings/nodesource.gpg >/dev/null ## Creating apt sources list file for the NodeSource Node.js 16.x repo... + echo 'deb [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_16.x bullseye main' > /etc/apt/sources.list.d/nodesource.list + echo 'deb-src [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_16.x bullseye main' >> /etc/apt/sources.list.d/nodesource.list ## Running `apt-get update` for you... + apt-get update Hit:1 http://deb.debian.org/debian bullseye InRelease Hit:2 http://deb.debian.org/debian-security bullseye-security InRelease Hit:3 http://deb.debian.org/debian bullseye-updates InRelease Hit:4 http://archive.raspberrypi.org/debian bullseye InRelease Get:5 https://deb.nodesource.com/node_16.x bullseye InRelease [4,586 B] Get:6 https://deb.nodesource.com/node_16.x bullseye/main amd64 Packages [774 B] Fetched 5,360 B in 1s (5,653 B/s) Reading package lists... ## Run `sudo apt-get install -y nodejs` to install Node.js 16.x and npm ## You may also need development tools to build native addons: sudo apt-get install gcc g++ make ## To install the Yarn package manager, run: curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | gpg --dearmor | sudo tee /usr/share/keyrings/yarnkey.gpg >/dev/null echo "deb [signed-by=/usr/share/keyrings/yarnkey.gpg] https://dl.yarnpkg.com/debian stable main" | sudo tee /etc/apt/sources.list.d/yarn.list sudo apt-get update && sudo apt-get install yarn WARNING: apt does not have a stable CLI interface. Use with caution in scripts. Reading package lists... Building dependency tree... Reading state information... The following additional packages will be installed: libc-ares2 libjs-highlight.js libnode72 nodejs-doc sse2-support Suggested packages: npm The following NEW packages will be installed: libc-ares2 libjs-highlight.js libnode72 nodejs nodejs-doc sse2-support 0 upgraded, 6 newly installed, 0 to remove and 93 not upgraded. Need to get 11.7 MB of archives. After this operation, 49.6 MB of additional disk space will be used. Get:1 http://deb.debian.org/debian bullseye/main i386 sse2-support i386 6 [8,544 B] Get:2 http://deb.debian.org/debian bullseye/main i386 libc-ares2 i386 1.17.1-1+deb11u1 [106 kB] Get:3 http://deb.debian.org/debian bullseye/main i386 libjs-highlight.js all 9.18.5+dfsg1-1 [397 kB] Get:4 http://deb.debian.org/debian-security bullseye-security/main i386 libnode72 i386 12.22.12~dfsg-1~deb11u1 [8,482 kB] Get:5 http://deb.debian.org/debian-security bullseye-security/main i386 nodejs i386 12.22.12~dfsg-1~deb11u1 [147 kB] Get:6 http://deb.debian.org/debian-security bullseye-security/main i386 nodejs-doc all 12.22.12~dfsg-1~deb11u1 [2,547 kB] Preconfiguring packages ... Fetched 11.7 MB in 29s (398 kB/s) Selecting previously unselected package sse2-support. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 152846 files and directories currently installed.) Preparing to unpack .../0-sse2-support_6_i386.deb ... Unpacking sse2-support (6) ... Selecting previously unselected package libc-ares2:i386. Preparing to unpack .../1-libc-ares2_1.17.1-1+deb11u1_i386.deb ... Unpacking libc-ares2:i386 (1.17.1-1+deb11u1) ... Selecting previously unselected package libjs-highlight.js. Preparing to unpack .../2-libjs-highlight.js_9.18.5+dfsg1-1_all.deb ... Unpacking libjs-highlight.js (9.18.5+dfsg1-1) ... Selecting previously unselected package libnode72:i386. Preparing to unpack .../3-libnode72_12.22.12~dfsg-1~deb11u1_i386.deb ... Unpacking libnode72:i386 (12.22.12~dfsg-1~deb11u1) ... Selecting previously unselected package nodejs. Preparing to unpack .../4-nodejs_12.22.12~dfsg-1~deb11u1_i386.deb ... Unpacking nodejs (12.22.12~dfsg-1~deb11u1) ... Selecting previously unselected package nodejs-doc. Preparing to unpack .../5-nodejs-doc_12.22.12~dfsg-1~deb11u1_all.deb ... Unpacking nodejs-doc (12.22.12~dfsg-1~deb11u1) ... Setting up libc-ares2:i386 (1.17.1-1+deb11u1) ... Setting up sse2-support (6) ... Setting up libnode72:i386 (12.22.12~dfsg-1~deb11u1) ... Setting up libjs-highlight.js (9.18.5+dfsg1-1) ... Setting up nodejs (12.22.12~dfsg-1~deb11u1) ... update-alternatives: using /usr/bin/nodejs to provide /usr/bin/js (js) in auto mode Setting up nodejs-doc (12.22.12~dfsg-1~deb11u1) ... Processing triggers for man-db (2.9.4-2) ... Processing triggers for libc-bin (2.31-13+deb11u3) ... Versions: node:v12.22.12 npm:missing