Teggy a écrit :Teggy a écrit : ↑21 août 2019, 11:38
Bonjour a tous
Depuis peu le script de la page 1 ne semble plus fonctionner.
Avec le plugin ALEXA API en version stable, le demon ne se lance plus depuis un moment.
Avec Le plugin ALEXA API en version BETA je n'arrive pas a installer les dépendances ( Ca bloque a 45%)
Je ne peux donc plus du tout faire parler Alexa depuis ma Jeedom.
Quelqu'un peut m'aider ?
Thierry
Bonjour Sigalou
Voici les Log de l'install des dépendances (Maj d'hier)
--0%
--10%
Lancement de l'installation/mise à jour des dépendances
--20%
Hit
http://archive.raspberrypi.org jessie InRelease
Get:1
http://mirrordirector.raspbian.org jessie InRelease [15.0 kB]
Hit
https://deb.nodesource.com jessie InRelease
Hit
http://archive.raspberrypi.org jessie/main armhf Packages
Hit
http://archive.raspberrypi.org jessie/ui armhf Packages
Hit
http://mirrordirector.raspbian.org jessie/main armhf Packages
Hit
http://mirrordirector.raspbian.org jessie/contrib armhf Packages
Hit
http://mirrordirector.raspbian.org jessie/non-free armhf Packages
Hit
http://mirrordirector.raspbian.org jessie/rpi armhf Packages
Ign
http://archive.raspberrypi.org jessie/main Translation-en
Ign
http://archive.raspberrypi.org jessie/ui Translation-en
Hit
https://deb.nodesource.com jessie/main Sources
Hit
https://deb.nodesource.com jessie/main armhf Packages
Get:2
https://deb.nodesource.com jessie/main Translation-en [162 B]
Get:3
https://deb.nodesource.com jessie/main Translation-en [162 B]
Get:4
https://deb.nodesource.com jessie/main Translation-en [162 B]
Get:5
https://deb.nodesource.com jessie/main Translation-en [162 B]
Get:6
https://deb.nodesource.com jessie/main Translation-en [162 B]
Ign
https://deb.nodesource.com jessie/main Translation-en
Ign
http://mirrordirector.raspbian.org jessie/contrib Translation-en
Ign
http://mirrordirector.raspbian.org jessie/main Translation-en
Ign
http://mirrordirector.raspbian.org jessie/non-free Translation-en
Ign
http://mirrordirector.raspbian.org jessie/rpi Translation-en
Fetched 15.0 kB in 19s (753 B/s)
Reading package lists...
--30%
Version actuelle : v8.16.1
--40%
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, 61.0 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 ... 53175 files and directories currently installed.)
Removing nodejs (8.16.1-1nodesource1) ...
dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules/npm/node_modules/node-gyp/node_modules' not empty so not removed
Processing triggers for man-db (2.7.5-1~bpo8+1) ...
--45%
Utilisation du dépot officiel
## Installing the NodeSource Node.js 12.x repo...
## Populating apt-get cache...
+ apt-get update
Hit
http://mirrordirector.raspbian.org jessie InRelease
Hit
https://deb.nodesource.com jessie InRelease
Hit
http://archive.raspberrypi.org jessie InRelease
Hit
http://mirrordirector.raspbian.org jessie/main armhf Packages
Hit
https://deb.nodesource.com jessie/main Sources
Hit
https://deb.nodesource.com jessie/main armhf Packages
Get:1
https://deb.nodesource.com jessie/main Translation-en [162 B]
Hit
http://mirrordirector.raspbian.org jessie/contrib armhf Packages
Get:2
https://deb.nodesource.com jessie/main Translation-en [162 B]
Get:3
https://deb.nodesource.com jessie/main Translation-en [162 B]
Get:4
https://deb.nodesource.com jessie/main Translation-en [162 B]
Hit
http://mirrordirector.raspbian.org jessie/non-free armhf Packages
Get:5
https://deb.nodesource.com jessie/main Translation-en [162 B]
Ign
https://deb.nodesource.com jessie/main Translation-en
Hit
http://mirrordirector.raspbian.org jessie/rpi armhf Packages
Hit
http://archive.raspberrypi.org jessie/main armhf Packages
Hit
http://archive.raspberrypi.org jessie/ui armhf Packages
Ign
http://archive.raspberrypi.org jessie/main Translation-en
Ign
http://archive.raspberrypi.org jessie/ui Translation-en
Ign
http://mirrordirector.raspbian.org jessie/contrib Translation-en
Ign
http://mirrordirector.raspbian.org jessie/main Translation-en
Ign
http://mirrordirector.raspbian.org jessie/non-free Translation-en
Ign
http://mirrordirector.raspbian.org jessie/rpi Translation-en
Reading package lists...
## You seem to be using Devuan version jessie.
## This maps to Debian "jessie"... Adjusting for you...
## Confirming "jessie" is supported...
+ curl -sLf -o /dev/null '
https://deb.nodesource.com/node_12.x/di ... ie/Release'
## Adding the NodeSource signing key to your keyring...
+ curl -s
https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -
OK
## Creating apt sources list file for the NodeSource Node.js 12.x repo...
+ echo 'deb
https://deb.nodesource.com/node_12.x jessie main' > /etc/apt/sources.list.d/nodesource.list
+ echo 'deb-src
https://deb.nodesource.com/node_12.x jessie main' >> /etc/apt/sources.list.d/nodesource.list
## Running `apt-get update` for you...
+ apt-get update
Hit
http://archive.raspberrypi.org jessie InRelease
Hit
http://mirrordirector.raspbian.org jessie InRelease
Get:1
https://deb.nodesource.com jessie InRelease [4584 B]
Hit
http://archive.raspberrypi.org jessie/main armhf Packages
Hit
http://archive.raspberrypi.org jessie/ui armhf Packages
Hit
http://mirrordirector.raspbian.org jessie/main armhf Packages
Hit
http://mirrordirector.raspbian.org jessie/contrib armhf Packages
Hit
http://mirrordirector.raspbian.org jessie/non-free armhf Packages
Hit
http://mirrordirector.raspbian.org jessie/rpi armhf Packages
Ign
http://archive.raspberrypi.org jessie/main Translation-en
Get:2
https://deb.nodesource.com jessie/main Sources [20 B]
Ign
http://archive.raspberrypi.org jessie/ui Translation-en
Get:3
https://deb.nodesource.com jessie/main armhf Packages [763 B]
Get:4
https://deb.nodesource.com jessie/main Translation-en [162 B]
Get:5
https://deb.nodesource.com jessie/main Translation-en [162 B]
Ign
http://mirrordirector.raspbian.org jessie/contrib Translation-en
Ign
http://mirrordirector.raspbian.org jessie/main Translation-en
Ign
http://mirrordirector.raspbian.org jessie/non-free Translation-en
Ign
http://mirrordirector.raspbian.org jessie/rpi Translation-en
Get:6
https://deb.nodesource.com jessie/main Translation-en [162 B]
Get:7
https://deb.nodesource.com jessie/main Translation-en [162 B]
Get:8
https://deb.nodesource.com jessie/main Translation-en [162 B]
Ign
https://deb.nodesource.com jessie/main Translation-en
Fetched 5367 B in 14s (363 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...
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:
nodejs : Depends: libstdc++6 (>= 5.2) but 4.9.2-10+deb8u2 is to be installed
E: Unable to correct problems, you have held broken packages.
/var/www/html/jeedom/plugins/alexaapi/resources/nodejs.sh: line 129: npm: command not found
/var/www/html/jeedom/plugins/alexaapi/resources/nodejs.sh: line 131: 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 but it is not going to be installed
Depends: node-abbrev (>= 1.0.4) but it is not going to be installed
Depends: node-ansi (>= 0.3.0-2) but it is not going to be installed
Depends: node-ansi-color-table but it is not going to be installed
Depends: node-archy but it is not going to be installed
Depends: node-block-stream but it is not going to be installed
Depends: node-fstream (>= 0.1.22) but it is not going to be installed
Depends: node-fstream-ignore but it is not going to be installed
Depends: node-github-url-from-git but it is not going to be installed
Depends: node-glob (>= 3.1.21) but it is not going to be installed
Depends: node-graceful-fs (>= 2.0.0) but it is not going to be installed
Depends: node-inherits but it is not going to be installed
Depends: node-ini (>= 1.1.0) but it is not going to be installed
Depends: node-lockfile but it is not going to be installed
Depends: node-lru-cache (>= 2.3.0) but it is not going to be installed
Depends: node-minimatch (>= 0.2.11) but it is not going to be installed
Depends: node-mkdirp (>= 0.3.3) but it is not going to be installed
Depends: node-gyp (>= 0.10.9) but it is not going to be installed
Depends: node-nopt (>= 3.0.1) but it is not going to be installed
Depends: node-npmlog but it is not going to be installed
Depends: node-once but it is not going to be installed
Depends: node-osenv but it is not going to be installed
Depends: node-read but it is not going to be installed
Depends: node-read-package-json (>= 1.1.0) but it is not going to be installed
Depends: node-request (>= 2.25.0) but it is not going to be installed
Depends: node-retry but it is not going to be installed
Depends: node-rimraf (>= 2.2.2) but it is not going to be installed
Depends: node-semver (>= 2.1.0) but it is not going to be installed
Depends: node-sha but it is not going to be installed
Depends: node-slide but it is not going to be installed
Depends: node-tar (>= 0.1.18) but it is not going to be installed
Depends: node-underscore but it is not going to be installed
Depends: node-which but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
sudo: npm: command not found
--50%
--60%
Installation...
sudo: npm: command not found
chown: cannot access 'node_modules': No such file or directory
--95%
--100%
Installation des dépendances alexaapi terminée, vérifiez qu'il n'y a pas d'erreur