Installation des dépendances impossible

Bonjour, suite réinitialisation de mon orangePiPc, j’ai réinstaller ArmBian 5.10, et un jeedom tout propre.
j’ai importé mon backup, et mon plugin GSH ne veut pas s’installer, alors qu’il fonctionne, sachant que le pilotage à la voix est Ok !
Jeedom : V4.1.18 Stable
node : 12.20.1
npm : 6.14.10
Armbian : 5.10 Focal
Plugin Gsh : version stable
Log Gshd :



 Accueil 
 Analyse 
 Outils 
 Plugins 
 Réglages 
11:17:01
lolvince-1
 Google Smarthome (gsh) - stable
 Etat

StatutActifAction

AuteurLoïcVersion 2020-09-26 01:03:52
LicenseAGPLPrérequis 3.2.1
 Logs et surveillance

Niveau logAucunDefautDebugInfoWarningError
Logs 
Heartbeat (min)
Redémarrer démon
 Dépendances
Nom	Statut	Installation	Dernière installation
Local	NOK		2021-01-26 11:15:07
 Démon
Nom	Statut	Configuration	(Re)Démarrer	Arrêter	Gestion automatique	Dernier lancement
Local	NOK	NOK Dépendances non installées				2021-01-14 12:27:33
 Configuration
Serveur Google smarthome
Mode
Cloud
Abonnement service assistant vocaux
Votre abonnement aux services assistant vocaux fini le 2021-02-27. Pour le prolonger, allez ici
Envoyer configuration au market
Activer l'éxecution local
 Fonctionnalités

interactNon
cronNon
cron5Non
cron10Non
cron15Non
cron30Non
cronHourlyOuiActiver
cronDailyOuiActiver
deadcmdNon
healthNon
Log du plugin
Rechercher


********************************************************
*             Installation des dépendances             *
********************************************************
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Hit:1 http://ports.ubuntu.com focal InRelease
Hit:2 http://ports.ubuntu.com focal-security InRelease
Hit:3 http://ports.ubuntu.com focal-updates InRelease
Hit:4 http://ports.ubuntu.com focal-backports InRelease
Hit:5 https://deb.nodesource.com/node_12.x focal InRelease
Get:7 https://repository.salamek.cz/deb/pub all InRelease [2,940 B]
Get:6 https://armbian.hosthatch.com/apt focal InRelease [18.2 kB]
Fetched 21.2 kB in 7s (3,034 B/s)
Reading package lists...
Building dependency tree...
Reading state information...
All packages are up to date.
Reading package lists...
Building dependency tree...
Reading state information...
lsb-release is already the newest version (11.1.0ubuntu2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
/var/www/html/plugins/gsh/core/class/../../resources/install_apt.sh: line 10: ${PROGRESS_FILE}: ambiguous redirect
Nodejs non installé
KO, version obsolète à upgrader
Suppression du Nodejs existant et installation du paquet recommandé
Reading package lists...
Building dependency tree...
Reading state information...
Package 'npm' is not installed, so not removed
The following packages will be REMOVED:
nodejs*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 85.8 MB disk space will be freed.
(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 ... 50501 files and directories currently installed.)
Removing nodejs (12.20.1-deb-1nodesource1) ...
dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules' not empty so not removed
Processing triggers for man-db (2.9.1-1) ...
/var/www/html/plugins/gsh/core/class/../../resources/install_apt.sh: line 25: $LOG: ambiguous redirect
Utilisation du dépot officiel
## Installing the NodeSource Node.js 12.x repo...
## Populating apt-get cache...
+ apt-get update
Hit:1 http://ports.ubuntu.com focal InRelease
Hit:2 http://ports.ubuntu.com focal-security InRelease
Hit:3 http://ports.ubuntu.com focal-updates InRelease
Hit:4 http://ports.ubuntu.com focal-backports InRelease
Hit:5 https://deb.nodesource.com/node_12.x focal InRelease
Get:7 https://repository.salamek.cz/deb/pub all InRelease [2,940 B]
Get:6 https://armbian.hosthatch.com/apt focal InRelease [18.2 kB]
Fetched 21.2 kB in 4s (5,899 B/s)
Reading package lists...
## Confirming "focal" is supported...
+ curl -sLf -o /dev/null 'https://deb.nodesource.com/node_12.x/dists/focal/Release'
## Adding the NodeSource signing key to your keyring...
+ curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -
Warning: apt-key output should not be parsed (stdout is not a terminal)
OK
## Creating apt sources list file for the NodeSource Node.js 12.x repo...
+ echo 'deb https://deb.nodesource.com/node_12.x focal main' > /etc/apt/sources.list.d/nodesource.list
+ echo 'deb-src https://deb.nodesource.com/node_12.x focal main' >> /etc/apt/sources.list.d/nodesource.list
## Running `apt-get update` for you...
+ apt-get update
Hit:1 https://deb.nodesource.com/node_12.x focal InRelease
Get:3 https://repository.salamek.cz/deb/pub all InRelease [2,940 B]
Hit:2 https://mirrors.dotsrc.org/armbian-apt focal InRelease
Hit:4 http://ports.ubuntu.com focal InRelease
Hit:5 http://ports.ubuntu.com focal-security InRelease
Hit:6 http://ports.ubuntu.com focal-updates InRelease
Hit:7 http://ports.ubuntu.com focal-backports InRelease
Fetched 2,940 B in 10s (308 B/s)
Reading package lists...
## Run `sudo apt-get install -y nodejs` to install Node.js 12.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 | sudo apt-key add -
echo "deb 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
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
nodejs
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin:
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/15.9 MB of archives.
After this operation, 85.8 MB of additional disk space will be used.
Selecting previously unselected package nodejs.
(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 ... 45616 files and directories currently installed.)
Preparing to unpack .../nodejs_12.20.1-deb-1nodesource1_armhf.deb ...
Unpacking nodejs (12.20.1-deb-1nodesource1) ...
Setting up nodejs (12.20.1-deb-1nodesource1) ...
Processing triggers for man-db (2.9.1-1) ...
/var/www/html/plugins/gsh/core/class/../../resources/install_apt.sh: line 38: nodejs: command not found
Version actuelle :
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:
npm : Depends: nodejs (>= 6.11~)
Depends: node-abbrev (>= 1.1.1~) but it is not going to be installed
Depends: node-ajv but it is not going to be installed
Depends: node-ansi but it is not going to be installed
Depends: node-ansi-regex (>= 3.0~) but it is not going to be installed
Depends: node-ansi-styles but it is not going to be installed
Depends: node-ansistyles but it is not going to be installed
Depends: node-aproba but it is not going to be installed
Depends: node-archy (>= 1.0~) but it is not going to be installed
Depends: node-are-we-there-yet but it is not going to be installed
Depends: node-asap but it is not going to be installed
Depends: node-asn1 but it is not going to be installed
Depends: node-assert-plus but it is not going to be installed
Depends: node-asynckit but it is not going to be installed
Depends: node-aws4 but it is not going to be installed
Depends: node-aws-sign2 but it is not going to be installed
Depends: node-balanced-match but it is not going to be installed
Depends: node-bcrypt-pbkdf but it is not going to be installed
Depends: node-bl but it is not going to be installed
Depends: node-bluebird but it is not going to be installed
Depends: node-boxen but it is not going to be installed
Depends: node-brace-expansion but it is not going to be installed
Depends: node-builtin-modules but it is not going to be installed
Depends: node-builtins but it is not going to be installed
Depends: node-cacache but it is not going to be installed
Depends: node-call-limit but it is not going to be installed
Depends: node-camelcase but it is not going to be installed
Depends: node-caseless but it is not going to be installed
Depends: node-chalk but it is not going to be installed
Depends: node-chownr but it is not going to be installed
Depends: node-ci-info but it is not going to be installed
Depends: node-cli-boxes but it is not going to be installed
Depends: node-cliui but it is not going to be installed
Depends: node-clone but it is not going to be installed
Depends: node-co but it is not going to be installed
Depends: node-color-convert but it is not going to be installed
Depends: node-color-name but it is not going to be installed
Depends: node-colors but it is not going to be installed
Depends: node-columnify but it is not going to be installed
Depends: node-combined-stream but it is not going to be installed
Depends: node-concat-map but it is not going to be installed
Depends: node-concat-stream but it is not going to be installed
Depends: node-config-chain but it is not going to be installed
Depends: node-configstore but it is not going to be installed
Depends: node-console-control-strings but it is not going to be installed
Depends: node-copy-concurrently but it is not going to be installed
Depends: node-core-util-is but it is not going to be installed
Depends: node-cross-spawn but it is not going to be installed
Depends: node-crypto-random-string but it is not going to be installed
Depends: node-cyclist but it is not going to be installed
Depends: node-dashdash but it is not going to be installed
Depends: node-debug but it is not going to be installed
Depends: node-decamelize but it is not going to be installed
Depends: node-deep-extend but it is not going to be installed
Depends: node-defaults but it is not going to be installed
Depends: node-define-properties but it is not going to be installed
Depends: node-delayed-stream but it is not going to be installed
Depends: node-delegates but it is not going to be installed
Depends: node-detect-indent but it is not going to be installed
Depends: node-detect-newline but it is not going to be installed
Depends: node-dot-prop but it is not going to be installed
Depends: node-duplexer3 but it is not going to be installed
Depends: node-duplexify but it is not going to be installed
Depends: node-ecc-jsbn but it is not going to be installed
Depends: node-editor but it is not going to be installed
Depends: node-encoding but it is not going to be installed
Depends: node-end-of-stream but it is not going to be installed
Depends: node-err-code but it is not going to be installed
Depends: node-errno but it is not going to be installed
Depends: node-es6-promise but it is not going to be installed
Depends: node-escape-string-regexp but it is not going to be installed
Depends: node-execa but it is not going to be installed
Depends: node-extend but it is not going to be installed
Depends: node-extsprintf but it is not going to be installed
Depends: node-fast-deep-equal but it is not going to be installed
Depends: node-find-up but it is not going to be installed
Depends: node-flush-write-stream but it is not going to be installed
Depends: node-forever-agent but it is not going to be installed
Depends: node-form-data but it is not going to be installed
Depends: node-from2 but it is not going to be installed
Depends: node-fs.realpath but it is not going to be installed
Depends: node-fs-vacuum but it is not going to be installed
Depends: node-fs-write-stream-atomic but it is not going to be installed
Depends: node-function-bind but it is not going to be installed
Depends: node-gauge but it is not going to be installed
Depends: node-genfun but it is not going to be installed
Depends: node-get-caller-file but it is not going to be installed
Depends: node-getpass but it is not going to be installed
Depends: node-glob (>= 7.1.2~) but it is not going to be installed
Depends: node-got but it is not going to be installed
Depends: node-graceful-fs (>= 4.1.11~) but it is not going to be installed
Depends: node-gyp (>= 3.6.2~) but it is not going to be installed
Depends: node-har-schema but it is not going to be installed
Depends: node-har-validator but it is not going to be installed
Depends: node-has-flag but it is not going to be installed
Depends: node-has-unicode but it is not going to be installed
Depends: node-hosted-git-info (>= 2.6~) but it is not going to be installed
Depends: node-http-signature but it is not going to be installed
Depends: node-iconv-lite but it is not going to be installed
Depends: node-iferr but it is not going to be installed
Depends: node-import-lazy but it is not going to be installed
Depends: node-imurmurhash but it is not going to be installed
Depends: node-inflight but it is not going to be installed
Depends: node-inherits (>= 2.0.3~) but it is not going to be installed
Depends: node-ini (>= 1.3.5~) but it is not going to be installed
Depends: node-invert-kv but it is not going to be installed
Depends: node-ip but it is not going to be installed
Depends: node-ip-regex but it is not going to be installed
Depends: node-isarray but it is not going to be installed
Depends: node-isexe but it is not going to be installed
Depends: node-is-npm but it is not going to be installed
Depends: node-is-obj but it is not going to be installed
Depends: node-is-path-inside but it is not going to be installed
Depends: node-is-retry-allowed but it is not going to be installed
Depends: node-is-stream but it is not going to be installed
Depends: node-isstream but it is not going to be installed
Depends: node-is-typedarray but it is not going to be installed
Depends: node-jsbn but it is not going to be installed
Depends: node-jsonparse but it is not going to be installed
Depends: node-json-parse-better-errors but it is not going to be installed
Depends: node-json-schema but it is not going to be installed
Depends: node-json-schema-traverse but it is not going to be installed
Depends: node-jsonstream (>= 1.3.2~) but it is not going to be installed
Depends: node-json-stringify-safe but it is not going to be installed
Depends: node-jsprim but it is not going to be installed
Depends: node-latest-version but it is not going to be installed
Depends: node-lazy-property but it is not going to be installed
Depends: node-lcid but it is not going to be installed
Depends: node-libnpx but it is not going to be installed
Depends: node-locate-path but it is not going to be installed
Depends: node-lodash but it is not going to be installed
Depends: node-lockfile (>= 1.0.3~) but it is not going to be installed
Depends: node-lowercase-keys but it is not going to be installed
Depends: node-lru-cache (>= 4.1.1~) but it is not going to be installed
Depends: node-make-dir but it is not going to be installed
Depends: node-mem but it is not going to be installed
Depends: node-mime but it is not going to be installed
Depends: node-mime-types but it is not going to be installed
Depends: node-mimic-fn but it is not going to be installed
Depends: node-minimatch but it is not going to be installed
Depends: node-minimist but it is not going to be installed
Depends: node-mississippi but it is not going to be installed
Depends: node-mkdirp (>= 0.5.1~) but it is not going to be installed
Depends: node-move-concurrently but it is not going to be installed
Depends: node-ms but it is not going to be installed
Depends: node-mute-stream but it is not going to be installed
Depends: node-nopt but it is not going to be installed
Depends: node-normalize-package-data (>= 2.4~) but it is not going to be installed
Depends: node-npm-bundled but it is not going to be installed
Depends: node-npm-package-arg (>= 6.1.1) but it is not going to be installed
Depends: node-npmlog (>= 4.1.2~) but it is not going to be installed
Depends: node-number-is-nan but it is not going to be installed
Depends: node-oauth-sign but it is not going to be installed
Depends: node-object-assign but it is not going to be installed
Depends: node-once (>= 1.4~) but it is not going to be installed
Depends: node-opener but it is not going to be installed
Depends: node-osenv (>= 0.1.5~) but it is not going to be installed
Depends: node-os-locale but it is not going to be installed
Depends: node-os-tmpdir but it is not going to be installed
Depends: node-package-json but it is not going to be installed
Depends: node-parallel-transform but it is not going to be installed
Depends: node-path-exists but it is not going to be installed
Depends: node-path-is-absolute but it is not going to be installed
Depends: node-path-is-inside but it is not going to be installed
Depends: node-promise-inflight but it is not going to be installed
Depends: node-promise-retry but it is not going to be installed
Depends: node-promzard but it is not going to be installed
Depends: node-performance-now but it is not going to be installed
Depends: node-p-finally but it is not going to be installed
Depends: node-p-is-promise but it is not going to be installed
Depends: node-pify but it is not going to be installed
Depends: node-p-limit but it is not going to be installed
Depends: node-p-locate but it is not going to be installed
Depends: node-prepend-http but it is not going to be installed
Depends: node-process-nextick-args but it is not going to be installed
Depends: node-proto-list but it is not going to be installed
Depends: node-prr but it is not going to be installed
Depends: node-pseudomap but it is not going to be installed
Depends: node-psl but it is not going to be installed
Depends: node-pump but it is not going to be installed
Depends: node-pumpify but it is not going to be installed
Depends: node-punycode but it is not going to be installed
Depends: node-qs but it is not going to be installed
Depends: node-qw but it is not going to be installed
Depends: node-rc but it is not going to be installed
Depends: node-read (>= 1.0.7~) but it is not going to be installed
Depends: node-readable-stream but it is not going to be installed
Depends: node-read-package-json (>= 2.0.13~) but it is not going to be installed
Depends: node-registry-auth-token but it is not going to be installed
Depends: node-registry-url but it is not going to be installed
Depends: node-request (>= 2.83~) but it is not going to be installed
Depends: node-require-main-filename but it is not going to be installed
Depends: node-require-directory but it is not going to be installed
Depends: node-resolve-from (>= 4.0~) but it is not going to be installed
Depends: node-retry (>= 0.10.1~) but it is not going to be installed
Depends: node-rimraf (>= 2.6.2~) but it is not going to be installed
Depends: node-run-queue but it is not going to be installed
Depends: node-safe-buffer but it is not going to be installed
Depends: node-semver (>= 5.5~) but it is not going to be installed
Depends: node-set-blocking but it is not going to be installed
Depends: node-sha (>= 2.0.1~) but it is not going to be installed
Depends: node-shebang-command but it is not going to be installed
Depends: node-shebang-regex but it is not going to be installed
Depends: node-signal-exit but it is not going to be installed
Depends: node-slide (>= 1.1.6~) but it is not going to be installed
Depends: node-sorted-object but it is not going to be installed
Depends: node-slash but it is not going to be installed
Depends: node-semver-diff but it is not going to be installed
Depends: node-spdx-correct but it is not going to be installed
Depends: node-spdx-exceptions but it is not going to be installed
Depends: node-spdx-expression-parse but it is not going to be installed
Depends: node-spdx-license-ids but it is not going to be installed
Depends: node-sshpk but it is not going to be installed
Depends: node-ssri but it is not going to be installed
Depends: node-stream-each but it is not going to be installed
Depends: node-stream-iterate but it is not going to be installed
Depends: node-stream-shift but it is not going to be installed
Depends: node-strict-uri-encode but it is not going to be installed
Depends: node-string-decoder but it is not going to be installed
Depends: node-string-width but it is not going to be installed
Depends: node-strip-ansi (>= 4.0~) but it is not going to be installed
Depends: node-strip-json-comments but it is not going to be installed
Depends: node-strip-eof but it is not going to be installed
Depends: node-supports-color but it is not going to be installed
Depends: node-tar (>= 4.4~) but it is not going to be installed
Depends: node-term-size but it is not going to be installed
Depends: node-text-table but it is not going to be installed
Depends: node-through but it is not going to be installed
Depends: node-through2 but it is not going to be installed
Depends: node-timed-out but it is not going to be installed
Depends: node-tough-cookie but it is not going to be installed
Depends: node-tunnel-agent but it is not going to be installed
Depends: node-tweetnacl but it is not going to be installed
Depends: node-typedarray but it is not going to be installed
Depends: node-uid-number but it is not going to be installed
Depends: node-unique-filename but it is not going to be installed
Depends: node-unique-string but it is not going to be installed
Depends: node-unpipe but it is not going to be installed
Depends: node-url-parse-lax but it is not going to be installed
Depends: node-util-deprecate but it is not going to be installed
Depends: node-uuid but it is not going to be installed
Depends: node-validate-npm-package-name but it is not going to be installed
Depends: node-verror but it is not going to be installed
Depends: node-which (>= 1.3~) but it is not going to be installed
Depends: node-which-module but it is not going to be installed
Depends: node-wide-align but it is not going to be installed
Depends: node-widest-line but it is not going to be installed
Depends: node-wrap-ansi but it is not going to be installed
Depends: node-wrappy but it is not going to be installed
Depends: node-wcwidth.js but it is not going to be installed
Depends: node-write-file-atomic but it is not going to be installed
Depends: node-xdg-basedir but it is not going to be installed
Depends: node-xtend but it is not going to be installed
Depends: node-yargs but it is not going to be installed
Depends: node-yargs-parser but it is not going to be installed
Depends: node-yallist but it is not going to be installed
Depends: node-y18n but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
npm WARN ts-node@8.2.0 requires a peer of typescript@>=2.0 but none is installed. You must install peer dependencies yourself.
audited 73 packages in 4.469s
found 1 low severity vulnerability
run `npm audit fix` to fix them, or `npm audit` for details
********************************************************
*             Installation terminée                    *
********************************************************

Tu n’es pas sous debian mais ubuntu…
Il faut lire le log et faire ce qu’il demande de faire…

j’ai déjà tenté de lancer ses lignes de commandes, le résultat est identique :

root@orangepipc:~# sudo apt-get install -y nodejs
Reading package lists... Done
Building dependency tree
Reading state information... Done
nodejs is already the newest version (12.20.1-deb-1nodesource1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@orangepipc:~# sudo apt-get install gcc g++ make
Reading package lists... Done
Building dependency tree
Reading state information... Done
g++ is already the newest version (4:9.3.0-1ubuntu2).
gcc is already the newest version (4:9.3.0-1ubuntu2).
make is already the newest version (4.2.1-1.2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@orangepipc:~# curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
OK
root@orangepipc:~# echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
deb https://dl.yarnpkg.com/debian/ stable main

********************************************************
*             Installation des dépendances             *
********************************************************
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Hit:1 http://ports.ubuntu.com focal InRelease
Hit:2 http://ports.ubuntu.com focal-security InRelease
Hit:3 http://ports.ubuntu.com focal-updates InRelease
Hit:4 https://dl.yarnpkg.com/debian stable InRelease
Hit:6 http://ports.ubuntu.com focal-backports InRelease
Hit:7 https://deb.nodesource.com/node_12.x focal InRelease
Get:8 https://repository.salamek.cz/deb/pub all InRelease [2,940 B]
Hit:5 https://mirrors.dotsrc.org/armbian-apt focal InRelease
Fetched 2,940 B in 10s (283 B/s)
Reading package lists...
Building dependency tree...
Reading state information...
All packages are up to date.
Reading package lists...
Building dependency tree...
Reading state information...
lsb-release is already the newest version (11.1.0ubuntu2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
/var/www/html/plugins/gsh/core/class/../../resources/install_apt.sh: line 10: ${PROGRESS_FILE}: ambiguous redirect
Nodejs non installé
KO, version obsolète à upgrader
Suppression du Nodejs existant et installation du paquet recommandé
Reading package lists...
Building dependency tree...
Reading state information...
Package 'npm' is not installed, so not removed
The following packages will be REMOVED:
nodejs*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 85.8 MB disk space will be freed.
(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 ... 51104 files and directories currently installed.)
Removing nodejs (12.20.1-deb-1nodesource1) ...
dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules' not empty so not removed
Processing triggers for man-db (2.9.1-1) ...
/var/www/html/plugins/gsh/core/class/../../resources/install_apt.sh: line 25: $LOG: ambiguous redirect
Utilisation du dépot officiel
## Installing the NodeSource Node.js 12.x repo...
## Populating apt-get cache...
+ apt-get update
Hit:1 http://ports.ubuntu.com focal InRelease
Hit:2 http://ports.ubuntu.com focal-security InRelease
Hit:3 http://ports.ubuntu.com focal-updates InRelease
Hit:4 http://ports.ubuntu.com focal-backports InRelease
Hit:5 https://dl.yarnpkg.com/debian stable InRelease
Hit:6 https://deb.nodesource.com/node_12.x focal InRelease
Get:8 https://repository.salamek.cz/deb/pub all InRelease [2,940 B]
Hit:7 https://mirrors.dotsrc.org/armbian-apt focal InRelease
Fetched 2,940 B in 9s (319 B/s)
Reading package lists...
## Confirming "focal" is supported...
+ curl -sLf -o /dev/null 'https://deb.nodesource.com/node_12.x/dists/focal/Release'
## Adding the NodeSource signing key to your keyring...
+ curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -
Warning: apt-key output should not be parsed (stdout is not a terminal)
OK
## Creating apt sources list file for the NodeSource Node.js 12.x repo...
+ echo 'deb https://deb.nodesource.com/node_12.x focal main' > /etc/apt/sources.list.d/nodesource.list
+ echo 'deb-src https://deb.nodesource.com/node_12.x focal main' >> /etc/apt/sources.list.d/nodesource.list
## Running `apt-get update` for you...
+ apt-get update
Hit:1 http://ports.ubuntu.com focal InRelease
Hit:2 http://ports.ubuntu.com focal-security InRelease
Hit:3 http://ports.ubuntu.com focal-updates InRelease
Hit:4 http://ports.ubuntu.com focal-backports InRelease
Hit:5 https://dl.yarnpkg.com/debian stable InRelease
Hit:7 https://deb.nodesource.com/node_12.x focal InRelease
Get:8 https://repository.salamek.cz/deb/pub all InRelease [2,940 B]
Hit:6 https://mirrors.netix.net/armbian/apt focal InRelease
Fetched 2,940 B in 4s (714 B/s)
Reading package lists...
## Run `sudo apt-get install -y nodejs` to install Node.js 12.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 | sudo apt-key add -
echo "deb 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
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
nodejs
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin:
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/15.9 MB of archives.
After this operation, 85.8 MB of additional disk space will be used.
Selecting previously unselected package nodejs.
(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 ... 46219 files and directories currently installed.)
Preparing to unpack .../nodejs_12.20.1-deb-1nodesource1_armhf.deb ...
Unpacking nodejs (12.20.1-deb-1nodesource1) ...
Setting up nodejs (12.20.1-deb-1nodesource1) ...
Processing triggers for man-db (2.9.1-1) ...
/var/www/html/plugins/gsh/core/class/../../resources/install_apt.sh: line 38: nodejs: command not found
Version actuelle :
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:
npm : Depends: nodejs (>= 6.11~)
Depends: node-abbrev (>= 1.1.1~) but it is not going to be installed
Depends: node-ajv but it is not going to be installed
Depends: node-ansi but it is not going to be installed
Depends: node-ansi-regex (>= 3.0~) but it is not going to be installed
Depends: node-ansi-styles but it is not going to be installed
Depends: node-ansistyles but it is not going to be installed
Depends: node-aproba but it is not going to be installed
Depends: node-archy (>= 1.0~) but it is not going to be installed
Depends: node-are-we-there-yet but it is not going to be installed
Depends: node-asap but it is not going to be installed
Depends: node-asn1 but it is not going to be installed
Depends: node-assert-plus but it is not going to be installed
Depends: node-asynckit but it is not going to be installed
Depends: node-aws4 but it is not going to be installed
Depends: node-aws-sign2 but it is not going to be installed
Depends: node-balanced-match but it is not going to be installed
Depends: node-bcrypt-pbkdf but it is not going to be installed
Depends: node-bl but it is not going to be installed
Depends: node-bluebird but it is not going to be installed
Depends: node-boxen but it is not going to be installed
Depends: node-brace-expansion but it is not going to be installed
Depends: node-builtin-modules but it is not going to be installed
Depends: node-builtins but it is not going to be installed
Depends: node-cacache but it is not going to be installed
Depends: node-call-limit but it is not going to be installed
Depends: node-camelcase but it is not going to be installed
Depends: node-caseless but it is not going to be installed
Depends: node-chalk but it is not going to be installed
Depends: node-chownr but it is not going to be installed
Depends: node-ci-info but it is not going to be installed
Depends: node-cli-boxes but it is not going to be installed
Depends: node-cliui but it is not going to be installed
Depends: node-clone but it is not going to be installed
Depends: node-co but it is not going to be installed
Depends: node-color-convert but it is not going to be installed
Depends: node-color-name but it is not going to be installed
Depends: node-colors but it is not going to be installed
Depends: node-columnify but it is not going to be installed
Depends: node-combined-stream but it is not going to be installed
Depends: node-concat-map but it is not going to be installed
Depends: node-concat-stream but it is not going to be installed
Depends: node-config-chain but it is not going to be installed
Depends: node-configstore but it is not going to be installed
Depends: node-console-control-strings but it is not going to be installed
Depends: node-copy-concurrently but it is not going to be installed
Depends: node-core-util-is but it is not going to be installed
Depends: node-cross-spawn but it is not going to be installed
Depends: node-crypto-random-string but it is not going to be installed
Depends: node-cyclist but it is not going to be installed
Depends: node-dashdash but it is not going to be installed
Depends: node-debug but it is not going to be installed
Depends: node-decamelize but it is not going to be installed
Depends: node-deep-extend but it is not going to be installed
Depends: node-defaults but it is not going to be installed
Depends: node-define-properties but it is not going to be installed
Depends: node-delayed-stream but it is not going to be installed
Depends: node-delegates but it is not going to be installed
Depends: node-detect-indent but it is not going to be installed
Depends: node-detect-newline but it is not going to be installed
Depends: node-dot-prop but it is not going to be installed
Depends: node-duplexer3 but it is not going to be installed
Depends: node-duplexify but it is not going to be installed
Depends: node-ecc-jsbn but it is not going to be installed
Depends: node-editor but it is not going to be installed
Depends: node-encoding but it is not going to be installed
Depends: node-end-of-stream but it is not going to be installed
Depends: node-err-code but it is not going to be installed
Depends: node-errno but it is not going to be installed
Depends: node-es6-promise but it is not going to be installed
Depends: node-escape-string-regexp but it is not going to be installed
Depends: node-execa but it is not going to be installed
Depends: node-extend but it is not going to be installed
Depends: node-extsprintf but it is not going to be installed
Depends: node-fast-deep-equal but it is not going to be installed
Depends: node-find-up but it is not going to be installed
Depends: node-flush-write-stream but it is not going to be installed
Depends: node-forever-agent but it is not going to be installed
Depends: node-form-data but it is not going to be installed
Depends: node-from2 but it is not going to be installed
Depends: node-fs.realpath but it is not going to be installed
Depends: node-fs-vacuum but it is not going to be installed
Depends: node-fs-write-stream-atomic but it is not going to be installed
Depends: node-function-bind but it is not going to be installed
Depends: node-gauge but it is not going to be installed
Depends: node-genfun but it is not going to be installed
Depends: node-get-caller-file but it is not going to be installed
Depends: node-getpass but it is not going to be installed
Depends: node-glob (>= 7.1.2~) but it is not going to be installed
Depends: node-got but it is not going to be installed
Depends: node-graceful-fs (>= 4.1.11~) but it is not going to be installed
Depends: node-gyp (>= 3.6.2~) but it is not going to be installed
Depends: node-har-schema but it is not going to be installed
Depends: node-har-validator but it is not going to be installed
Depends: node-has-flag but it is not going to be installed
Depends: node-has-unicode but it is not going to be installed
Depends: node-hosted-git-info (>= 2.6~) but it is not going to be installed
Depends: node-http-signature but it is not going to be installed
Depends: node-iconv-lite but it is not going to be installed
Depends: node-iferr but it is not going to be installed
Depends: node-import-lazy but it is not going to be installed
Depends: node-imurmurhash but it is not going to be installed
Depends: node-inflight but it is not going to be installed
Depends: node-inherits (>= 2.0.3~) but it is not going to be installed
Depends: node-ini (>= 1.3.5~) but it is not going to be installed
Depends: node-invert-kv but it is not going to be installed
Depends: node-ip but it is not going to be installed
Depends: node-ip-regex but it is not going to be installed
Depends: node-isarray but it is not going to be installed
Depends: node-isexe but it is not going to be installed
Depends: node-is-npm but it is not going to be installed
Depends: node-is-obj but it is not going to be installed
Depends: node-is-path-inside but it is not going to be installed
Depends: node-is-retry-allowed but it is not going to be installed
Depends: node-is-stream but it is not going to be installed
Depends: node-isstream but it is not going to be installed
Depends: node-is-typedarray but it is not going to be installed
Depends: node-jsbn but it is not going to be installed
Depends: node-jsonparse but it is not going to be installed
Depends: node-json-parse-better-errors but it is not going to be installed
Depends: node-json-schema but it is not going to be installed
Depends: node-json-schema-traverse but it is not going to be installed
Depends: node-jsonstream (>= 1.3.2~) but it is not going to be installed
Depends: node-json-stringify-safe but it is not going to be installed
Depends: node-jsprim but it is not going to be installed
Depends: node-latest-version but it is not going to be installed
Depends: node-lazy-property but it is not going to be installed
Depends: node-lcid but it is not going to be installed
Depends: node-libnpx but it is not going to be installed
Depends: node-locate-path but it is not going to be installed
Depends: node-lodash but it is not going to be installed
Depends: node-lockfile (>= 1.0.3~) but it is not going to be installed
Depends: node-lowercase-keys but it is not going to be installed
Depends: node-lru-cache (>= 4.1.1~) but it is not going to be installed
Depends: node-make-dir but it is not going to be installed
Depends: node-mem but it is not going to be installed
Depends: node-mime but it is not going to be installed
Depends: node-mime-types but it is not going to be installed
Depends: node-mimic-fn but it is not going to be installed
Depends: node-minimatch but it is not going to be installed
Depends: node-minimist but it is not going to be installed
Depends: node-mississippi but it is not going to be installed
Depends: node-mkdirp (>= 0.5.1~) but it is not going to be installed
Depends: node-move-concurrently but it is not going to be installed
Depends: node-ms but it is not going to be installed
Depends: node-mute-stream but it is not going to be installed
Depends: node-nopt but it is not going to be installed
Depends: node-normalize-package-data (>= 2.4~) but it is not going to be installed
Depends: node-npm-bundled but it is not going to be installed
Depends: node-npm-package-arg (>= 6.1.1) but it is not going to be installed
Depends: node-npmlog (>= 4.1.2~) but it is not going to be installed
Depends: node-number-is-nan but it is not going to be installed
Depends: node-oauth-sign but it is not going to be installed
Depends: node-object-assign but it is not going to be installed
Depends: node-once (>= 1.4~) but it is not going to be installed
Depends: node-opener but it is not going to be installed
Depends: node-osenv (>= 0.1.5~) but it is not going to be installed
Depends: node-os-locale but it is not going to be installed
Depends: node-os-tmpdir but it is not going to be installed
Depends: node-package-json but it is not going to be installed
Depends: node-parallel-transform but it is not going to be installed
Depends: node-path-exists but it is not going to be installed
Depends: node-path-is-absolute but it is not going to be installed
Depends: node-path-is-inside but it is not going to be installed
Depends: node-promise-inflight but it is not going to be installed
Depends: node-promise-retry but it is not going to be installed
Depends: node-promzard but it is not going to be installed
Depends: node-performance-now but it is not going to be installed
Depends: node-p-finally but it is not going to be installed
Depends: node-p-is-promise but it is not going to be installed
Depends: node-pify but it is not going to be installed
Depends: node-p-limit but it is not going to be installed
Depends: node-p-locate but it is not going to be installed
Depends: node-prepend-http but it is not going to be installed
Depends: node-process-nextick-args but it is not going to be installed
Depends: node-proto-list but it is not going to be installed
Depends: node-prr but it is not going to be installed
Depends: node-pseudomap but it is not going to be installed
Depends: node-psl but it is not going to be installed
Depends: node-pump but it is not going to be installed
Depends: node-pumpify but it is not going to be installed
Depends: node-punycode but it is not going to be installed
Depends: node-qs but it is not going to be installed
Depends: node-qw but it is not going to be installed
Depends: node-rc but it is not going to be installed
Depends: node-read (>= 1.0.7~) but it is not going to be installed
Depends: node-readable-stream but it is not going to be installed
Depends: node-read-package-json (>= 2.0.13~) but it is not going to be installed
Depends: node-registry-auth-token but it is not going to be installed
Depends: node-registry-url but it is not going to be installed
Depends: node-request (>= 2.83~) but it is not going to be installed
Depends: node-require-main-filename but it is not going to be installed
Depends: node-require-directory but it is not going to be installed
Depends: node-resolve-from (>= 4.0~) but it is not going to be installed
Depends: node-retry (>= 0.10.1~) but it is not going to be installed
Depends: node-rimraf (>= 2.6.2~) but it is not going to be installed
Depends: node-run-queue but it is not going to be installed
Depends: node-safe-buffer but it is not going to be installed
Depends: node-semver (>= 5.5~) but it is not going to be installed
Depends: node-set-blocking but it is not going to be installed
Depends: node-sha (>= 2.0.1~) but it is not going to be installed
Depends: node-shebang-command but it is not going to be installed
Depends: node-shebang-regex but it is not going to be installed
Depends: node-signal-exit but it is not going to be installed
Depends: node-slide (>= 1.1.6~) but it is not going to be installed
Depends: node-sorted-object but it is not going to be installed
Depends: node-slash but it is not going to be installed
Depends: node-semver-diff but it is not going to be installed
Depends: node-spdx-correct but it is not going to be installed
Depends: node-spdx-exceptions but it is not going to be installed
Depends: node-spdx-expression-parse but it is not going to be installed
Depends: node-spdx-license-ids but it is not going to be installed
Depends: node-sshpk but it is not going to be installed
Depends: node-ssri but it is not going to be installed
Depends: node-stream-each but it is not going to be installed
Depends: node-stream-iterate but it is not going to be installed
Depends: node-stream-shift but it is not going to be installed
Depends: node-strict-uri-encode but it is not going to be installed
Depends: node-string-decoder but it is not going to be installed
Depends: node-string-width but it is not going to be installed
Depends: node-strip-ansi (>= 4.0~) but it is not going to be installed
Depends: node-strip-json-comments but it is not going to be installed
Depends: node-strip-eof but it is not going to be installed
Depends: node-supports-color but it is not going to be installed
Depends: node-tar (>= 4.4~) but it is not going to be installed
Depends: node-term-size but it is not going to be installed
Depends: node-text-table but it is not going to be installed
Depends: node-through but it is not going to be installed
Depends: node-through2 but it is not going to be installed
Depends: node-timed-out but it is not going to be installed
Depends: node-tough-cookie but it is not going to be installed
Depends: node-tunnel-agent but it is not going to be installed
Depends: node-tweetnacl but it is not going to be installed
Depends: node-typedarray but it is not going to be installed
Depends: node-uid-number but it is not going to be installed
Depends: node-unique-filename but it is not going to be installed
Depends: node-unique-string but it is not going to be installed
Depends: node-unpipe but it is not going to be installed
Depends: node-url-parse-lax but it is not going to be installed
Depends: node-util-deprecate but it is not going to be installed
Depends: node-uuid but it is not going to be installed
Depends: node-validate-npm-package-name but it is not going to be installed
Depends: node-verror but it is not going to be installed
Depends: node-which (>= 1.3~) but it is not going to be installed
Depends: node-which-module but it is not going to be installed
Depends: node-wide-align but it is not going to be installed
Depends: node-widest-line but it is not going to be installed
Depends: node-wrap-ansi but it is not going to be installed
Depends: node-wrappy but it is not going to be installed
Depends: node-wcwidth.js but it is not going to be installed
Depends: node-write-file-atomic but it is not going to be installed
Depends: node-xdg-basedir but it is not going to be installed
Depends: node-xtend but it is not going to be installed
Depends: node-yargs but it is not going to be installed
Depends: node-yargs-parser but it is not going to be installed
Depends: node-yallist but it is not going to be installed
Depends: node-y18n but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
npm WARN ts-node@8.2.0 requires a peer of typescript@>=2.0 but none is installed. You must install peer dependencies yourself.
audited 73 packages in 4.887s
found 1 low severity vulnerability
run `npm audit fix` to fix them, or `npm audit` for details
********************************************************
*             Installation terminée                    *
********************************************************

installer nodejs oui mais pas npm apparement

Et cela aussi comme c’est demandé dans le log tu l’as fait ?

alors la oui, y a un truc, il me dit que NPM n’est pas installé, alors que je peux l’utiliser

root@orangepipc:~# npm -v
6.14.10
root@orangepipc:~# apt-get remove npm
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'npm' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Oui mais j’ai l’impression que ç atourne en boucle :confused:

root@orangepipc:~# npm install -g typescript
/usr/bin/tsc -> /usr/lib/node_modules/typescript/bin/tsc
/usr/bin/tsserver -> /usr/lib/node_modules/typescript/bin/tsserver
+ typescript@4.1.3
updated 1 package in 7.328s
root@orangepipc:~# npm install -g typescript
/usr/bin/tsc -> /usr/lib/node_modules/typescript/bin/tsc
/usr/bin/tsserver -> /usr/lib/node_modules/typescript/bin/tsserver
+ typescript@4.1.3
updated 1 package in 6.366s

tu as lu mon dernier post ?

répondu ^^

je ne vois pas le resultat de cette commande pourtant

Bon je sais pas si ça a un lien mais il y a un changement relatif à npm (en alpha du moins)

idem, vérifié et RAS :confused:

root@orangepipc:~# npm audit fix
npm WARN root@1.0.0 No description
npm WARN root@1.0.0 No repository field.

up to date in 0.369s
fixed 0 of 0 vulnerabilities in 0 scanned packages

effectivement, peut-être un mauvais timing :frowning:
je peut tenter la V4 en beta ?

Non, beta ça sera pas mieux

Bon en même temps il faut être dans le bon répertoire… probablement dans /var/www/html/plugins/gsh/resources/gshd/

ha ! ok désolé, je ne connait pas npm…


root@orangepipc:/var/www/html/plugins/gsh/resources/gshd# npm audit fix         npm WARN ts-node@8.2.0 requires a peer of typescript@>=2.0 but none is installed. You must install peer dependencies yourself.

updated 1 package in 4.854s
fixed 1 of 1 vulnerability in 73 scanned packages

j’ai donc fait ceci ensuite :

root@orangepipc:/var/www/html/plugins/gsh/resources/gshd# npm install -g typescript
/usr/bin/tsc -> /usr/lib/node_modules/typescript/bin/tsc
/usr/bin/tsserver -> /usr/lib/node_modules/typescript/bin/tsserver
+ typescript@4.1.3
updated 1 package in 7.777s
root@orangepipc:/var/www/html/plugins/gsh/resources/gshd# npm audit fix         npm WARN ts-node@8.2.0 requires a peer of typescript@>=2.0 but none is installed. You must install peer dependencies yourself.

up to date in 5.423s
fixed 0 of 0 vulnerabilities in 73 scanned packages

j’en suis la du coup :

********************************************************
*             Installation des dépendances             *
********************************************************
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Hit:1 https://minio.k-space.ee/armbian/apt focal InRelease
Hit:2 http://ports.ubuntu.com focal InRelease
Hit:3 http://ports.ubuntu.com focal-security InRelease
Hit:4 http://ports.ubuntu.com focal-updates InRelease
Hit:5 https://deb.nodesource.com/node_12.x focal InRelease
Hit:6 http://ports.ubuntu.com focal-backports InRelease
Get:7 https://repository.salamek.cz/deb/pub all InRelease [2,940 B]
Fetched 2,940 B in 8s (354 B/s)
Reading package lists...
Building dependency tree...
Reading state information...
All packages are up to date.
Reading package lists...
Building dependency tree...
Reading state information...
lsb-release is already the newest version (11.1.0ubuntu2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
/var/www/html/plugins/gsh/core/class/../../resources/install_apt.sh: line 10: ${PROGRESS_FILE}: ambiguous redirect
Nodejs non installé
KO, version obsolète à upgrader
Suppression du Nodejs existant et installation du paquet recommandé
Reading package lists...
Building dependency tree...
Reading state information...
Package 'npm' is not installed, so not removed
The following packages will be REMOVED:
nodejs*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 85.8 MB disk space will be freed.
(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 ... 51104 files and directories currently installed.)
Removing nodejs (12.20.1-deb-1nodesource1) ...
dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules' not empty so not removed
Processing triggers for man-db (2.9.1-1) ...
/var/www/html/plugins/gsh/core/class/../../resources/install_apt.sh: line 25: $LOG: ambiguous redirect
Utilisation du dépot officiel
## Installing the NodeSource Node.js 12.x repo...
## Populating apt-get cache...
+ apt-get update
Hit:1 http://ports.ubuntu.com focal InRelease
Hit:2 http://ports.ubuntu.com focal-security InRelease
Hit:3 http://ports.ubuntu.com focal-updates InRelease
Hit:4 https://deb.nodesource.com/node_12.x focal InRelease
Hit:5 http://ports.ubuntu.com focal-backports InRelease
Get:7 https://repository.salamek.cz/deb/pub all InRelease [2,940 B]
Get:6 https://armbian.hosthatch.com/apt focal InRelease [18.2 kB]
Fetched 21.2 kB in 9s (2,435 B/s)
Reading package lists...
## Confirming "focal" is supported...
+ curl -sLf -o /dev/null 'https://deb.nodesource.com/node_12.x/dists/focal/Release'
## Adding the NodeSource signing key to your keyring...
+ curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -
Warning: apt-key output should not be parsed (stdout is not a terminal)
OK
## Creating apt sources list file for the NodeSource Node.js 12.x repo...
+ echo 'deb https://deb.nodesource.com/node_12.x focal main' > /etc/apt/sources.list.d/nodesource.list
+ echo 'deb-src https://deb.nodesource.com/node_12.x focal main' >> /etc/apt/sources.list.d/nodesource.list
## Running `apt-get update` for you...
+ apt-get update
Hit:1 http://ports.ubuntu.com focal InRelease
Hit:2 http://ports.ubuntu.com focal-security InRelease
Hit:3 http://ports.ubuntu.com focal-updates InRelease
Hit:4 http://ports.ubuntu.com focal-backports InRelease
Hit:5 https://deb.nodesource.com/node_12.x focal InRelease
Get:7 https://repository.salamek.cz/deb/pub all InRelease [2,940 B]
Hit:6 https://mirrors.netix.net/armbian/apt focal InRelease
Fetched 2,940 B in 4s (808 B/s)
Reading package lists...
## Run `sudo apt-get install -y nodejs` to install Node.js 12.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 | sudo apt-key add -
echo "deb 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
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
nodejs
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin:
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/15.9 MB of archives.
After this operation, 85.8 MB of additional disk space will be used.
Selecting previously unselected package nodejs.
(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 ... 46219 files and directories currently installed.)
Preparing to unpack .../nodejs_12.20.1-deb-1nodesource1_armhf.deb ...
Unpacking nodejs (12.20.1-deb-1nodesource1) ...
Setting up nodejs (12.20.1-deb-1nodesource1) ...
Processing triggers for man-db (2.9.1-1) ...
/var/www/html/plugins/gsh/core/class/../../resources/install_apt.sh: line 38: nodejs: command not found
Version actuelle :
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:
npm : Depends: nodejs (>= 6.11~)
Depends: node-abbrev (>= 1.1.1~) but it is not going to be installed
Depends: node-ajv but it is not going to be installed
Depends: node-ansi but it is not going to be installed
Depends: node-ansi-regex (>= 3.0~) but it is not going to be installed
Depends: node-ansi-styles but it is not going to be installed
Depends: node-ansistyles but it is not going to be installed
Depends: node-aproba but it is not going to be installed
Depends: node-archy (>= 1.0~) but it is not going to be installed
Depends: node-are-we-there-yet but it is not going to be installed
Depends: node-asap but it is not going to be installed
Depends: node-asn1 but it is not going to be installed
Depends: node-assert-plus but it is not going to be installed
Depends: node-asynckit but it is not going to be installed
Depends: node-aws4 but it is not going to be installed
Depends: node-aws-sign2 but it is not going to be installed
Depends: node-balanced-match but it is not going to be installed
Depends: node-bcrypt-pbkdf but it is not going to be installed
Depends: node-bl but it is not going to be installed
Depends: node-bluebird but it is not going to be installed
Depends: node-boxen but it is not going to be installed
Depends: node-brace-expansion but it is not going to be installed
Depends: node-builtin-modules but it is not going to be installed
Depends: node-builtins but it is not going to be installed
Depends: node-cacache but it is not going to be installed
Depends: node-call-limit but it is not going to be installed
Depends: node-camelcase but it is not going to be installed
Depends: node-caseless but it is not going to be installed
Depends: node-chalk but it is not going to be installed
Depends: node-chownr but it is not going to be installed
Depends: node-ci-info but it is not going to be installed
Depends: node-cli-boxes but it is not going to be installed
Depends: node-cliui but it is not going to be installed
Depends: node-clone but it is not going to be installed
Depends: node-co but it is not going to be installed
Depends: node-color-convert but it is not going to be installed
Depends: node-color-name but it is not going to be installed
Depends: node-colors but it is not going to be installed
Depends: node-columnify but it is not going to be installed
Depends: node-combined-stream but it is not going to be installed
Depends: node-concat-map but it is not going to be installed
Depends: node-concat-stream but it is not going to be installed
Depends: node-config-chain but it is not going to be installed
Depends: node-configstore but it is not going to be installed
Depends: node-console-control-strings but it is not going to be installed
Depends: node-copy-concurrently but it is not going to be installed
Depends: node-core-util-is but it is not going to be installed
Depends: node-cross-spawn but it is not going to be installed
Depends: node-crypto-random-string but it is not going to be installed
Depends: node-cyclist but it is not going to be installed
Depends: node-dashdash but it is not going to be installed
Depends: node-debug but it is not going to be installed
Depends: node-decamelize but it is not going to be installed
Depends: node-deep-extend but it is not going to be installed
Depends: node-defaults but it is not going to be installed
Depends: node-define-properties but it is not going to be installed
Depends: node-delayed-stream but it is not going to be installed
Depends: node-delegates but it is not going to be installed
Depends: node-detect-indent but it is not going to be installed
Depends: node-detect-newline but it is not going to be installed
Depends: node-dot-prop but it is not going to be installed
Depends: node-duplexer3 but it is not going to be installed
Depends: node-duplexify but it is not going to be installed
Depends: node-ecc-jsbn but it is not going to be installed
Depends: node-editor but it is not going to be installed
Depends: node-encoding but it is not going to be installed
Depends: node-end-of-stream but it is not going to be installed
Depends: node-err-code but it is not going to be installed
Depends: node-errno but it is not going to be installed
Depends: node-es6-promise but it is not going to be installed
Depends: node-escape-string-regexp but it is not going to be installed
Depends: node-execa but it is not going to be installed
Depends: node-extend but it is not going to be installed
Depends: node-extsprintf but it is not going to be installed
Depends: node-fast-deep-equal but it is not going to be installed
Depends: node-find-up but it is not going to be installed
Depends: node-flush-write-stream but it is not going to be installed
Depends: node-forever-agent but it is not going to be installed
Depends: node-form-data but it is not going to be installed
Depends: node-from2 but it is not going to be installed
Depends: node-fs.realpath but it is not going to be installed
Depends: node-fs-vacuum but it is not going to be installed
Depends: node-fs-write-stream-atomic but it is not going to be installed
Depends: node-function-bind but it is not going to be installed
Depends: node-gauge but it is not going to be installed
Depends: node-genfun but it is not going to be installed
Depends: node-get-caller-file but it is not going to be installed
Depends: node-getpass but it is not going to be installed
Depends: node-glob (>= 7.1.2~) but it is not going to be installed
Depends: node-got but it is not going to be installed
Depends: node-graceful-fs (>= 4.1.11~) but it is not going to be installed
Depends: node-gyp (>= 3.6.2~) but it is not going to be installed
Depends: node-har-schema but it is not going to be installed
Depends: node-har-validator but it is not going to be installed
Depends: node-has-flag but it is not going to be installed
Depends: node-has-unicode but it is not going to be installed
Depends: node-hosted-git-info (>= 2.6~) but it is not going to be installed
Depends: node-http-signature but it is not going to be installed
Depends: node-iconv-lite but it is not going to be installed
Depends: node-iferr but it is not going to be installed
Depends: node-import-lazy but it is not going to be installed
Depends: node-imurmurhash but it is not going to be installed
Depends: node-inflight but it is not going to be installed
Depends: node-inherits (>= 2.0.3~) but it is not going to be installed
Depends: node-ini (>= 1.3.5~) but it is not going to be installed
Depends: node-invert-kv but it is not going to be installed
Depends: node-ip but it is not going to be installed
Depends: node-ip-regex but it is not going to be installed
Depends: node-isarray but it is not going to be installed
Depends: node-isexe but it is not going to be installed
Depends: node-is-npm but it is not going to be installed
Depends: node-is-obj but it is not going to be installed
Depends: node-is-path-inside but it is not going to be installed
Depends: node-is-retry-allowed but it is not going to be installed
Depends: node-is-stream but it is not going to be installed
Depends: node-isstream but it is not going to be installed
Depends: node-is-typedarray but it is not going to be installed
Depends: node-jsbn but it is not going to be installed
Depends: node-jsonparse but it is not going to be installed
Depends: node-json-parse-better-errors but it is not going to be installed
Depends: node-json-schema but it is not going to be installed
Depends: node-json-schema-traverse but it is not going to be installed
Depends: node-jsonstream (>= 1.3.2~) but it is not going to be installed
Depends: node-json-stringify-safe but it is not going to be installed
Depends: node-jsprim but it is not going to be installed
Depends: node-latest-version but it is not going to be installed
Depends: node-lazy-property but it is not going to be installed
Depends: node-lcid but it is not going to be installed
Depends: node-libnpx but it is not going to be installed
Depends: node-locate-path but it is not going to be installed
Depends: node-lodash but it is not going to be installed
Depends: node-lockfile (>= 1.0.3~) but it is not going to be installed
Depends: node-lowercase-keys but it is not going to be installed
Depends: node-lru-cache (>= 4.1.1~) but it is not going to be installed
Depends: node-make-dir but it is not going to be installed
Depends: node-mem but it is not going to be installed
Depends: node-mime but it is not going to be installed
Depends: node-mime-types but it is not going to be installed
Depends: node-mimic-fn but it is not going to be installed
Depends: node-minimatch but it is not going to be installed
Depends: node-minimist but it is not going to be installed
Depends: node-mississippi but it is not going to be installed
Depends: node-mkdirp (>= 0.5.1~) but it is not going to be installed
Depends: node-move-concurrently but it is not going to be installed
Depends: node-ms but it is not going to be installed
Depends: node-mute-stream but it is not going to be installed
Depends: node-nopt but it is not going to be installed
Depends: node-normalize-package-data (>= 2.4~) but it is not going to be installed
Depends: node-npm-bundled but it is not going to be installed
Depends: node-npm-package-arg (>= 6.1.1) but it is not going to be installed
Depends: node-npmlog (>= 4.1.2~) but it is not going to be installed
Depends: node-number-is-nan but it is not going to be installed
Depends: node-oauth-sign but it is not going to be installed
Depends: node-object-assign but it is not going to be installed
Depends: node-once (>= 1.4~) but it is not going to be installed
Depends: node-opener but it is not going to be installed
Depends: node-osenv (>= 0.1.5~) but it is not going to be installed
Depends: node-os-locale but it is not going to be installed
Depends: node-os-tmpdir but it is not going to be installed
Depends: node-package-json but it is not going to be installed
Depends: node-parallel-transform but it is not going to be installed
Depends: node-path-exists but it is not going to be installed
Depends: node-path-is-absolute but it is not going to be installed
Depends: node-path-is-inside but it is not going to be installed
Depends: node-promise-inflight but it is not going to be installed
Depends: node-promise-retry but it is not going to be installed
Depends: node-promzard but it is not going to be installed
Depends: node-performance-now but it is not going to be installed
Depends: node-p-finally but it is not going to be installed
Depends: node-p-is-promise but it is not going to be installed
Depends: node-pify but it is not going to be installed
Depends: node-p-limit but it is not going to be installed
Depends: node-p-locate but it is not going to be installed
Depends: node-prepend-http but it is not going to be installed
Depends: node-process-nextick-args but it is not going to be installed
Depends: node-proto-list but it is not going to be installed
Depends: node-prr but it is not going to be installed
Depends: node-pseudomap but it is not going to be installed
Depends: node-psl but it is not going to be installed
Depends: node-pump but it is not going to be installed
Depends: node-pumpify but it is not going to be installed
Depends: node-punycode but it is not going to be installed
Depends: node-qs but it is not going to be installed
Depends: node-qw but it is not going to be installed
Depends: node-rc but it is not going to be installed
Depends: node-read (>= 1.0.7~) but it is not going to be installed
Depends: node-readable-stream but it is not going to be installed
Depends: node-read-package-json (>= 2.0.13~) but it is not going to be installed
Depends: node-registry-auth-token but it is not going to be installed
Depends: node-registry-url but it is not going to be installed
Depends: node-request (>= 2.83~) but it is not going to be installed
Depends: node-require-main-filename but it is not going to be installed
Depends: node-require-directory but it is not going to be installed
Depends: node-resolve-from (>= 4.0~) but it is not going to be installed
Depends: node-retry (>= 0.10.1~) but it is not going to be installed
Depends: node-rimraf (>= 2.6.2~) but it is not going to be installed
Depends: node-run-queue but it is not going to be installed
Depends: node-safe-buffer but it is not going to be installed
Depends: node-semver (>= 5.5~) but it is not going to be installed
Depends: node-set-blocking but it is not going to be installed
Depends: node-sha (>= 2.0.1~) but it is not going to be installed
Depends: node-shebang-command but it is not going to be installed
Depends: node-shebang-regex but it is not going to be installed
Depends: node-signal-exit but it is not going to be installed
Depends: node-slide (>= 1.1.6~) but it is not going to be installed
Depends: node-sorted-object but it is not going to be installed
Depends: node-slash but it is not going to be installed
Depends: node-semver-diff but it is not going to be installed
Depends: node-spdx-correct but it is not going to be installed
Depends: node-spdx-exceptions but it is not going to be installed
Depends: node-spdx-expression-parse but it is not going to be installed
Depends: node-spdx-license-ids but it is not going to be installed
Depends: node-sshpk but it is not going to be installed
Depends: node-ssri but it is not going to be installed
Depends: node-stream-each but it is not going to be installed
Depends: node-stream-iterate but it is not going to be installed
Depends: node-stream-shift but it is not going to be installed
Depends: node-strict-uri-encode but it is not going to be installed
Depends: node-string-decoder but it is not going to be installed
Depends: node-string-width but it is not going to be installed
Depends: node-strip-ansi (>= 4.0~) but it is not going to be installed
Depends: node-strip-json-comments but it is not going to be installed
Depends: node-strip-eof but it is not going to be installed
Depends: node-supports-color but it is not going to be installed
Depends: node-tar (>= 4.4~) but it is not going to be installed
Depends: node-term-size but it is not going to be installed
Depends: node-text-table but it is not going to be installed
Depends: node-through but it is not going to be installed
Depends: node-through2 but it is not going to be installed
Depends: node-timed-out but it is not going to be installed
Depends: node-tough-cookie but it is not going to be installed
Depends: node-tunnel-agent but it is not going to be installed
Depends: node-tweetnacl but it is not going to be installed
Depends: node-typedarray but it is not going to be installed
Depends: node-uid-number but it is not going to be installed
Depends: node-unique-filename but it is not going to be installed
Depends: node-unique-string but it is not going to be installed
Depends: node-unpipe but it is not going to be installed
Depends: node-url-parse-lax but it is not going to be installed
Depends: node-util-deprecate but it is not going to be installed
Depends: node-uuid but it is not going to be installed
Depends: node-validate-npm-package-name but it is not going to be installed
Depends: node-verror but it is not going to be installed
Depends: node-which (>= 1.3~) but it is not going to be installed
Depends: node-which-module but it is not going to be installed
Depends: node-wide-align but it is not going to be installed
Depends: node-widest-line but it is not going to be installed
Depends: node-wrap-ansi but it is not going to be installed
Depends: node-wrappy but it is not going to be installed
Depends: node-wcwidth.js but it is not going to be installed
Depends: node-write-file-atomic but it is not going to be installed
Depends: node-xdg-basedir but it is not going to be installed
Depends: node-xtend but it is not going to be installed
Depends: node-yargs but it is not going to be installed
Depends: node-yargs-parser but it is not going to be installed
Depends: node-yallist but it is not going to be installed
Depends: node-y18n but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
npm WARN ts-node@8.2.0 requires a peer of typescript@>=2.0 but none is installed. You must install peer dependencies yourself.
audited 73 packages in 5.151s
found 0 vulnerabilities
********************************************************
*             Installation terminée                    *
********************************************************

Tiens de mon coté, j’étais pas à jour non plus…

image

Pas glop !

ça doit pas mieux marcher

root@orangepipc:/var/www/html/plugins/gsh/resources/gshd# npm update
npm WARN ts-node@8.10.2 requires a peer of typescript@>=2.7 but none is installed. You must install peer dependencies yourself.

+ yargs@13.3.2
+ cbor@4.3.0
+ ts-node@8.10.2
added 1 package from 1 contributor, removed 34 packages, updated 12 packages, moved 7 packages and audited 40 packages in 12.173s

1 package is looking for funding
  run `npm fund` for details

found 0 vulnerabilities

root@orangepipc:/var/www/html/plugins/gsh/resources/gshd# npm fund
gsh-jeedom-local-discover@0.0.1
└─┬ https://github.com/sponsors/sindresorhus
  └── p-limit@2.3.0

Tu peux tenter le plugin gsh en béta, il y a eu une mise à jour cette nuit
2021-01-26 01:10:00