Read the statement by Michael Teeuw here.
Error EBADENGINE when installing MM v2.28.0
-
@Ix rename the MagicMirror folder and run my install script
-
@Ix then rename new out and old back in and do the npm run install-mm
-
Tried that, but the script failed. I have attached the install.log
install starting - Mon Aug 5 18:37:16 CEST 2024 installing on aarch64 processor system the os is Distributor ID: Raspbian Description: Raspbian GNU/Linux 11 (bullseye) Release: 11 Codename: bullseye total used free shared buff/cache available Mem: 1849 228 1116 30 504 1527 Swap: 2047 0 2047 [96mUpdating packages ...[0m Hit:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease Hit:2 http://archive.raspberrypi.org/debian bullseye InRelease Hit:3 https://deb.nodesource.com/node_18.x bullseye InRelease Reading package lists... apt-get update completed ok Reading package lists... Building dependency tree... Reading state information... pv is already the newest version (1.6.6-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. apt-get upgrade started apt-get upgrade result =rc=0 Reading package lists... Building dependency tree... Reading state information... Calculating upgrade... 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. [96mInstalling helper tools ...[0m Reading package lists... Building dependency tree... Reading state information... build-essential is already the newest version (12.9). curl is already the newest version (7.74.0-1.3+deb11u12). git is already the newest version (1:2.30.2-1+deb11u2). unzip is already the newest version (6.0-26+deb11u1). wget is already the newest version (1.21-1+deb11u1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. node not installed, trying via apt-get Reading package lists... Building dependency tree... Reading state information... E: Unable to locate package nodejs:armv7l E: Unable to locate package npm:armv7l npm not installed, trying via apt-get npm installed now, install n Reading package lists... Building dependency tree... Reading state information... Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: libnode72 : Conflicts: nodejs-legacy nodejs : Conflicts: npm E: Unable to correct problems, you have held broken packages. installing on bullseye [92mnode failed to execute, please check the error message and resolve before trying again[0m install aborted - Mon Aug 5 18:37:59 CEST 2024
-
@Ix do node -v
-
@sdetweil said in Error EBADENGINE when installing MM v2.28.0:
@Ix do node -v
mirror@raspberrypi:~ $ node -v bash: node: command not found
-
@Ix do
which node
Or
Find /usr -type f -name node -
@sdetweil said in Error EBADENGINE when installing MM v2.28.0:
@Ix do
which node
Or
Find /usr -type f -name nodethese commands don’t output anything.
-
-
@sdetweil you’re so patient! Thank you!
mirror@raspberrypi:~ $ sudo apt update Hit:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease Hit:2 http://archive.raspberrypi.org/debian bullseye InRelease Hit:3 https://deb.nodesource.com/node_18.x bullseye InRelease Reading package lists... Done Building dependency tree... Done Reading state information... Done All packages are up to date. mirror@raspberrypi:~ $ sudo apt install node.js Reading package lists... Done Building dependency tree... Done Reading state information... Done E: Unable to locate package node.js E: Couldn't find any package by glob 'node.js' mirror@raspberrypi:~ $ node -v bash: node: command not found
rebooted beforehand
-
@sdetweil said in Error EBADENGINE when installing MM v2.28.0:
sudo apt install nodejs
node -v
ah snap, I made a small mistake here. I redid it without typo:
mirror@raspberrypi:~ $ sudo apt install nodejs Reading package lists... Done Building dependency tree... Done Reading state information... Done nodejs is already the newest version (18.17.1-deb-1nodesource1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
somewhere in my OS must still remain some node debris…
Edit: tried this:
mirror@raspberrypi:~ $ sudo apt remove nodejs Reading package lists... Done Building dependency tree... Done Reading state information... Done The following packages will be REMOVED: nodejs 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. After this operation, 177 MB disk space will be freed. Do you want to continue? [Y/n] y (Reading database ... 114411 files and directories currently installed.) Removing nodejs (18.17.1-deb-1nodesource1) ... dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/yallist' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/write-file-atomic' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/wrap-ansi/node_modules/emoji-regex' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/wrap-ansi-cjs' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/which' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/walk-up-path' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/validate-npm-package-name' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/validate-npm-package-license' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/util-deprecate' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/unique-slug' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/unique-filename' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/tuf-js' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/treeverse' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/tiny-relative-date' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/text-table' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/tar/node_modules/fs-minipass/node_modules/minipass' not empty so not rem oved dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/ssri' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/spdx-expression-parse' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/spdx-exceptions' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/spdx-correct' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/socks' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/socks-proxy-agent' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/smart-buffer' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/sigstore' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/signal-exit' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/semver/internal' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/safer-buffer' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/retry' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/read' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/read-package-json-fast' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/read-cmd-shim' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/qrcode-terminal' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/promzard' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/promise-retry' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/promise-inflight' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/promise-call-limit' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/promise-all-reject-late' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/proc-log' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/postcss-selector-parser' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/path-scurry/dist' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/parse-conflict-json' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/pacote/lib/util' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/npm-user-validate' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/npm-registry-fetch' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/npm-profile' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/npm-pick-manifest' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/npm-packlist' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/npm-package-arg' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/npm-normalize-package-bin' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/npm-install-checks' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/npm-bundled' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/npm-audit-report' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/normalize-package-data' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/nopt' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/node-gyp/node_modules' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/node-gyp/lib' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/node-gyp/gyp/pylib' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/negotiator' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/mute-stream' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/ms' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/mkdirp' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/minizlib/node_modules/minipass' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/minipass' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/minipass-sized/node_modules/minipass' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/minipass-pipeline/node_modules/minipass' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/minipass-json-stream/node_modules/minipass' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/minipass-flush/node_modules/minipass' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/minipass-fetch' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/minipass-collect' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/minimatch/dist' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/make-fetch-happen' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/lru-cache' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/libnpmversion' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/libnpmteam' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/libnpmsearch' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/libnpmpublish' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/libnpmpack' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/libnpmorg' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/libnpmhook' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/libnpmfund' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/libnpmexec' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/libnpmdiff' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/libnpmaccess' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/just-diff' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/just-diff-apply' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/jsonparse' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/json-stringify-nice' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/json-parse-even-better-errors' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/jackspeak/dist' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/isexe' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/is-lambda' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/is-core-module' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/init-package-json' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/ini' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/ignore-walk' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/iconv-lite' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/https-proxy-agent' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/http-proxy-agent' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/http-cache-semantics' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/hosted-git-info' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/graceful-fs' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/glob/dist' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/function-bind' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/fs-minipass' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/foreground-child' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/fastest-levenshtein' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/err-code' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/encoding' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/emoji-regex' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/diff/lib/patch' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/debug/node_modules/ms' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/cssesc' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/cross-spawn/node_modules/which' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/common-ancestor-path' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/color-name' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/color-convert' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/cmd-shim' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/cidr-regex' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/ci-info' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/chownr' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/chalk/source' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/cacache' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/brace-expansion' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/bin-links' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/balanced-match' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/archy' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/aproba' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/agent-base/dist' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/abbrev' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/@tufjs/models' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/@tufjs/canonical-json' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/@sigstore/protobuf-specs/dist/__generated__/google/protobuf' not empty s o not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/@pkgjs/parseargs' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/@npmcli/run-script' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/@npmcli/query' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/@npmcli/promise-spawn' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/@npmcli/package-json' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/@npmcli/name-from-folder' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/@npmcli/metavuln-calculator' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/@npmcli/map-workspaces' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/@npmcli/installed-package-contents' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/@npmcli/git' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/@npmcli/fs/lib/cp' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/@npmcli/config/lib' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/@npmcli/arborist/lib' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/@isaacs/string-locale-compare' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_ modules/@isaacs/cliui/node_modules/emoji-regex' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/man/m an1' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/lib/u tils' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/lib/c ommands' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/docs/ output/configuring-npm' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/docs/ output/commands' not empty so not removed dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/bin' not empty so not removed Processing triggers for man-db (2.9.4-2) ... mirror@raspberrypi:~ $ node -v bash: node: command not found