******************************************************** * Installation des dépendances * ******************************************************** WARNING: apt does not have a stable CLI interface. Use with caution in scripts. Hit:1 http://raspbian.raspberrypi.org/raspbian stretch InRelease Hit:2 http://archive.raspberrypi.org/debian stretch InRelease Hit:3 https://deb.nodesource.com/node_10.x stretch InRelease Reading package lists... Building dependency tree... Reading state information... 77 packages can be upgraded. Run 'apt list --upgradable' to see them. E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. /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é E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. /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 10.x repo... ## Populating apt-get cache... + apt-get update Hit:1 http://raspbian.raspberrypi.org/raspbian stretch InRelease Hit:2 http://archive.raspberrypi.org/debian stretch InRelease Hit:3 https://deb.nodesource.com/node_10.x stretch InRelease Reading package lists... ## Confirming "stretch" is supported... + curl -sLf -o /dev/null 'https://deb.nodesource.com/node_10.x/dists/stretch/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 10.x repo... + echo 'deb https://deb.nodesource.com/node_10.x stretch main' > /etc/apt/sources.list.d/nodesource.list + echo 'deb-src https://deb.nodesource.com/node_10.x stretch main' >> /etc/apt/sources.list.d/nodesource.list ## Running `apt-get update` for you... + apt-get update Hit:1 http://raspbian.raspberrypi.org/raspbian stretch InRelease Hit:2 http://archive.raspberrypi.org/debian stretch InRelease Hit:3 https://deb.nodesource.com/node_10.x stretch InRelease Reading package lists... ## Run `sudo apt-get install -y nodejs` to install Node.js 10.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 E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. /var/www/html/plugins/gsh/core/class/../../resources/install_apt.sh: line 38: nodejs: command not found Version actuelle : /var/www/html/plugins/gsh/core/class/../../resources/install_apt.sh: line 41: ${PROGRESS_FILE}: ambiguous redirect E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. sudo: npm: command not found ******************************************************** * Installation terminée * ********************************************************