Installation dépendance ESP Easy

Bonjour,

J’ai installé le plugin ESPeasy mais impossible d’installer les dépendances …

voici les log :

Début de l'installation
--2020-03-17 20:34:47--  https://raw.githubusercontent.com/lunarok/jeedom_nodejs/master/nodejs.sh
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.64.133, 151.101.128.133, 151.101.192.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.64.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1491 (1.5K) [text/plain]
Saving to: 'dependencies.sh'
0K .                                                     100% 1.56M=0.001s
2020-03-17 20:34:48 (1.56 MB/s) - 'dependencies.sh' saved [1491/1491]
dependencies.sh: 3: [: espeasy: unexpected operator
Version actuelle : 4
Ign:1 http://ftp.fr.debian.org/debian stretch InRelease
Ign:2 http://ppa.launchpad.net/ekozincew/ppa/ubuntu bionic InRelease
Get:3 http://security.debian.org/debian-security stretch/updates InRelease [94.3 kB]
Ign:4 http://httpredir.debian.org/debian stretch InRelease
Hit:5 http://ftp.fr.debian.org/debian stretch-updates InRelease
Hit:6 http://httpredir.debian.org/debian stretch Release
Ign:7 http://ppa.launchpad.net/ekozincew/ppa/ubuntu bionic Release
Hit:8 http://ftp.fr.debian.org/debian stretch Release
Ign:9 http://ppa.launchpad.net/ekozincew/ppa/ubuntu bionic/main all Packages
Ign:11 http://ppa.launchpad.net/ekozincew/ppa/ubuntu bionic/main amd64 Packages
Ign:13 http://ppa.launchpad.net/ekozincew/ppa/ubuntu bionic/main Translation-fr
Ign:15 http://ppa.launchpad.net/ekozincew/ppa/ubuntu bionic/main Translation-en
Ign:9 http://ppa.launchpad.net/ekozincew/ppa/ubuntu bionic/main all Packages
Ign:11 http://ppa.launchpad.net/ekozincew/ppa/ubuntu bionic/main amd64 Packages
Ign:13 http://ppa.launchpad.net/ekozincew/ppa/ubuntu bionic/main Translation-fr
Ign:15 http://ppa.launchpad.net/ekozincew/ppa/ubuntu bionic/main Translation-en
Ign:9 http://ppa.launchpad.net/ekozincew/ppa/ubuntu bionic/main all Packages
Ign:11 http://ppa.launchpad.net/ekozincew/ppa/ubuntu bionic/main amd64 Packages
Ign:13 http://ppa.launchpad.net/ekozincew/ppa/ubuntu bionic/main Translation-fr
Ign:15 http://ppa.launchpad.net/ekozincew/ppa/ubuntu bionic/main Translation-en
Ign:9 http://ppa.launchpad.net/ekozincew/ppa/ubuntu bionic/main all Packages
Ign:11 http://ppa.launchpad.net/ekozincew/ppa/ubuntu bionic/main amd64 Packages
Hit:10 https://dl.ubnt.com/unifi/debian stable InRelease
Ign:13 http://ppa.launchpad.net/ekozincew/ppa/ubuntu bionic/main Translation-fr
Ign:15 http://ppa.launchpad.net/ekozincew/ppa/ubuntu bionic/main Translation-en
Ign:9 http://ppa.launchpad.net/ekozincew/ppa/ubuntu bionic/main all Packages
Ign:11 http://ppa.launchpad.net/ekozincew/ppa/ubuntu bionic/main amd64 Packages
Ign:13 http://ppa.launchpad.net/ekozincew/ppa/ubuntu bionic/main Translation-fr
Ign:15 http://ppa.launchpad.net/ekozincew/ppa/ubuntu bionic/main Translation-en
Ign:9 http://ppa.launchpad.net/ekozincew/ppa/ubuntu bionic/main all Packages
Err:11 http://ppa.launchpad.net/ekozincew/ppa/ubuntu bionic/main amd64 Packages
404  Not Found
Ign:13 http://ppa.launchpad.net/ekozincew/ppa/ubuntu bionic/main Translation-fr
Ign:15 http://ppa.launchpad.net/ekozincew/ppa/ubuntu bionic/main Translation-en
Fetched 94.3 kB in 3s (28.3 kB/s)
Reading package lists...
W: The repository 'http://ppa.launchpad.net/ekozincew/ppa/ubuntu bionic Release' does not have a Release file.
E: Failed to fetch http://ppa.launchpad.net/ekozincew/ppa/ubuntu/dists/bionic/main/binary-amd64/Packages  404  Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
Reading package lists...
Building dependency tree...
Reading state information...
lsb-release is already the newest version (9.20161125).
0 upgraded, 0 newly installed, 0 to remove and 57 not upgraded.
KO, version obsolète à upgrader
Suppression du Nodejs existant et installation du paquet recommandé
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package npm
dependencies.sh: 37: [: x86_64: unexpected operator
Utilisation du dépot officiel
## Installing the NodeSource Node.js 12.x repo...
## Populating apt-get cache...
+ apt-get update
Hit:1 http://security.debian.org/debian-security stretch/updates InRelease
Ign:2 http://httpredir.debian.org/debian stretch InRelease
Ign:3 http://ppa.launchpad.net/ekozincew/ppa/ubuntu bionic InRelease
Ign:4 http://ftp.fr.debian.org/debian stretch InRelease
Hit:5 http://httpredir.debian.org/debian stretch Release
Hit:6 http://ftp.fr.debian.org/debian stretch-updates InRelease
Ign:7 http://ppa.launchpad.net/ekozincew/ppa/ubuntu bionic Release
Hit:8 http://ftp.fr.debian.org/debian stretch Release
Ign:9 http://ppa.launchpad.net/ekozincew/ppa/ubuntu bionic/main all Packages
Ign:11 http://ppa.launchpad.net/ekozincew/ppa/ubuntu bionic/main amd64 Packages
Ign:13 http://ppa.launchpad.net/ekozincew/ppa/ubuntu bionic/main Translation-en
Ign:14 http://ppa.launchpad.net/ekozincew/ppa/ubuntu bionic/main Translation-fr
Ign:9 http://ppa.launchpad.net/ekozincew/ppa/ubuntu bionic/main all Packages
Ign:11 http://ppa.launchpad.net/ekozincew/ppa/ubuntu bionic/main amd64 Packages
Ign:13 http://ppa.launchpad.net/ekozincew/ppa/ubuntu bionic/main Translation-en
Ign:14 http://ppa.launchpad.net/ekozincew/ppa/ubuntu bionic/main Translation-fr
Ign:9 http://ppa.launchpad.net/ekozincew/ppa/ubuntu bionic/main all Packages
Ign:11 http://ppa.launchpad.net/ekozincew/ppa/ubuntu bionic/main amd64 Packages
Ign:13 http://ppa.launchpad.net/ekozincew/ppa/ubuntu bionic/main Translation-en
Ign:14 http://ppa.launchpad.net/ekozincew/ppa/ubuntu bionic/main Translation-fr
Ign:9 http://ppa.launchpad.net/ekozincew/ppa/ubuntu bionic/main all Packages
Hit:10 https://dl.ubnt.com/unifi/debian stable InRelease
Ign:11 http://ppa.launchpad.net/ekozincew/ppa/ubuntu bionic/main amd64 Packages
Ign:13 http://ppa.launchpad.net/ekozincew/ppa/ubuntu bionic/main Translation-en
Ign:14 http://ppa.launchpad.net/ekozincew/ppa/ubuntu bionic/main Translation-fr
Ign:9 http://ppa.launchpad.net/ekozincew/ppa/ubuntu bionic/main all Packages
Ign:11 http://ppa.launchpad.net/ekozincew/ppa/ubuntu bionic/main amd64 Packages
Ign:13 http://ppa.launchpad.net/ekozincew/ppa/ubuntu bionic/main Translation-en
Ign:14 http://ppa.launchpad.net/ekozincew/ppa/ubuntu bionic/main Translation-fr
Ign:9 http://ppa.launchpad.net/ekozincew/ppa/ubuntu bionic/main all Packages
Err:11 http://ppa.launchpad.net/ekozincew/ppa/ubuntu bionic/main amd64 Packages
404  Not Found
Ign:13 http://ppa.launchpad.net/ekozincew/ppa/ubuntu bionic/main Translation-en
Ign:14 http://ppa.launchpad.net/ekozincew/ppa/ubuntu bionic/main Translation-fr
Reading package lists...
W: The repository 'http://ppa.launchpad.net/ekozincew/ppa/ubuntu bionic Release' does not have a Release file.
E: Failed to fetch http://ppa.launchpad.net/ekozincew/ppa/ubuntu/dists/bionic/main/binary-amd64/Packages  404  Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
Error executing command, exiting
Reading package lists...
Building dependency tree...
Reading state information...
nodejs is already the newest version (4.8.2~dfsg-1).
0 upgraded, 0 newly installed, 0 to remove and 57 not upgraded.
Version actuelle : v4.8.2
dependencies.sh: 59: dependencies.sh: npm: not found
chown: cannot access 'node_modules': No such file or directory
rm: cannot remove '/tmp/espeasy_dep': No such file or directory
Fin de l'installation

Avez vous une idée ?
Merci :slight_smile:

Bonjour, je viens de débuter avec le plugin ESP EASY et une carte ESP8266, mais impossible d’installer les dépendances. L’ erreur est un ptit peu différente mais ressemblante (je ne suis pas doué avec les LOG ni le ssh).

Début de l'installation
--2020-04-05 12:34:51--  https://raw.githubusercontent.com/lunarok/jeedom_nodejs/master/nodejs.sh
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.120.133
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.120.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1491 (1.5K) [text/plain]
Saving to: 'dependencies.sh'
0K .                                                     100% 5.33M=0s
2020-04-05 12:34:51 (5.33 MB/s) - 'dependencies.sh' saved [1491/1491]
dependencies.sh: 3: [: espeasy: unexpected operator
Version actuelle : 4
Hit:1 http://security.debian.org stretch/updates InRelease
Ign:2 http://ftp.debian.org/debian stretch InRelease
Hit:3 http://ftp.debian.org/debian stretch-updates InRelease
Hit:4 http://ftp.debian.org/debian stretch-backports InRelease
Hit:5 http://ftp.debian.org/debian stretch-proposed-updates InRelease
Hit:6 http://www.deb-multimedia.org stretch InRelease
Ign:8 http://ppa.launchpad.net/certbot/certbot/ubuntu focal InRelease
Hit:9 http://ftp.debian.org/debian stretch Release
Ign:10 http://ppa.launchpad.net/certbot/certbot/ubuntu focal Release
Ign:11 http://ppa.launchpad.net/certbot/certbot/ubuntu focal/main arm64 Packages
Ign:12 http://ppa.launchpad.net/certbot/certbot/ubuntu focal/main all Packages
Ign:13 http://ppa.launchpad.net/certbot/certbot/ubuntu focal/main Translation-en
Ign:11 http://ppa.launchpad.net/certbot/certbot/ubuntu focal/main arm64 Packages
Ign:12 http://ppa.launchpad.net/certbot/certbot/ubuntu focal/main all Packages
Hit:7 https://repo.jeedom.com/odroid stable InRelease
Ign:13 http://ppa.launchpad.net/certbot/certbot/ubuntu focal/main Translation-en
Hit:14 https://oph.mdrjr.net/meveric all InRelease
Ign:11 http://ppa.launchpad.net/certbot/certbot/ubuntu focal/main arm64 Packages
Ign:12 http://ppa.launchpad.net/certbot/certbot/ubuntu focal/main all Packages
Hit:15 https://oph.mdrjr.net/meveric stretch InRelease
Ign:13 http://ppa.launchpad.net/certbot/certbot/ubuntu focal/main Translation-en
Ign:11 http://ppa.launchpad.net/certbot/certbot/ubuntu focal/main arm64 Packages
Ign:12 http://ppa.launchpad.net/certbot/certbot/ubuntu focal/main all Packages
Ign:13 http://ppa.launchpad.net/certbot/certbot/ubuntu focal/main Translation-en
Ign:11 http://ppa.launchpad.net/certbot/certbot/ubuntu focal/main arm64 Packages
Ign:12 http://ppa.launchpad.net/certbot/certbot/ubuntu focal/main all Packages
Ign:13 http://ppa.launchpad.net/certbot/certbot/ubuntu focal/main Translation-en
Err:11 http://ppa.launchpad.net/certbot/certbot/ubuntu focal/main arm64 Packages
404  Not Found [IP: 91.189.95.83 80]
Ign:12 http://ppa.launchpad.net/certbot/certbot/ubuntu focal/main all Packages
Ign:13 http://ppa.launchpad.net/certbot/certbot/ubuntu focal/main Translation-en
Reading package lists...
W: The repository 'http://ppa.launchpad.net/certbot/certbot/ubuntu focal Release' does not have a Release file.
E: Failed to fetch http://ppa.launchpad.net/certbot/certbot/ubuntu/dists/focal/main/binary-arm64/Packages  404  Not Found [IP: 91.189.95.83 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
Reading package lists...
Building dependency tree...
Reading state information...
lsb-release is already the newest version (9.20161125).
0 upgraded, 0 newly installed, 0 to remove and 187 not upgraded.
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:
libuv1* nodejs*
0 upgraded, 0 newly installed, 2 to remove and 187 not upgraded.
After this operation, 13.5 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 ... 54107 files and directories currently installed.)
Removing nodejs (4.8.2~dfsg-1) ...
Removing libuv1:arm64 (1.9.1-3) ...
Processing triggers for libc-bin (2.24-11+deb9u3) ...
Processing triggers for man-db (2.7.6.1-2) ...
dependencies.sh: 37: [: aarch64: unexpected operator
Utilisation du dépot officiel
## Installing the NodeSource Node.js 12.x repo...
## Populating apt-get cache...
+ apt-get update
Hit:1 http://security.debian.org stretch/updates InRelease
Hit:2 http://www.deb-multimedia.org stretch InRelease
Ign:4 http://ppa.launchpad.net/certbot/certbot/ubuntu focal InRelease
Ign:5 http://ftp.debian.org/debian stretch InRelease
Hit:6 http://ftp.debian.org/debian stretch-updates InRelease
Hit:7 http://ftp.debian.org/debian stretch-backports InRelease
Ign:8 http://ppa.launchpad.net/certbot/certbot/ubuntu focal Release
Hit:9 http://ftp.debian.org/debian stretch-proposed-updates InRelease
Hit:10 http://ftp.debian.org/debian stretch Release
Ign:11 http://ppa.launchpad.net/certbot/certbot/ubuntu focal/main all Packages
Ign:12 http://ppa.launchpad.net/certbot/certbot/ubuntu focal/main arm64 Packages
Ign:13 http://ppa.launchpad.net/certbot/certbot/ubuntu focal/main Translation-en
Ign:11 http://ppa.launchpad.net/certbot/certbot/ubuntu focal/main all Packages
Ign:12 http://ppa.launchpad.net/certbot/certbot/ubuntu focal/main arm64 Packages
Ign:13 http://ppa.launchpad.net/certbot/certbot/ubuntu focal/main Translation-en
Ign:11 http://ppa.launchpad.net/certbot/certbot/ubuntu focal/main all Packages
Ign:12 http://ppa.launchpad.net/certbot/certbot/ubuntu focal/main arm64 Packages
Ign:13 http://ppa.launchpad.net/certbot/certbot/ubuntu focal/main Translation-en
Ign:11 http://ppa.launchpad.net/certbot/certbot/ubuntu focal/main all Packages
Ign:12 http://ppa.launchpad.net/certbot/certbot/ubuntu focal/main arm64 Packages
Ign:13 http://ppa.launchpad.net/certbot/certbot/ubuntu focal/main Translation-en
Ign:11 http://ppa.launchpad.net/certbot/certbot/ubuntu focal/main all Packages
Ign:12 http://ppa.launchpad.net/certbot/certbot/ubuntu focal/main arm64 Packages
Ign:13 http://ppa.launchpad.net/certbot/certbot/ubuntu focal/main Translation-en
Ign:11 http://ppa.launchpad.net/certbot/certbot/ubuntu focal/main all Packages
Err:12 http://ppa.launchpad.net/certbot/certbot/ubuntu focal/main arm64 Packages
404  Not Found [IP: 91.189.95.83 80]
Ign:13 http://ppa.launchpad.net/certbot/certbot/ubuntu focal/main Translation-en
Hit:15 https://oph.mdrjr.net/meveric all InRelease
Hit:16 https://oph.mdrjr.net/meveric stretch InRelease
Hit:3 https://repo.jeedom.com/odroid stable InRelease
Reading package lists...
W: The repository 'http://ppa.launchpad.net/certbot/certbot/ubuntu focal Release' does not have a Release file.
E: Failed to fetch http://ppa.launchpad.net/certbot/certbot/ubuntu/dists/focal/main/binary-arm64/Packages  404  Not Found [IP: 91.189.95.83 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
Error executing command, exiting
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
libuv1
The following NEW packages will be installed:
libuv1 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, 2 newly installed, 0 to remove and 187 not upgraded.
Need to get 0 B/3248 kB of archives.
After this operation, 13.5 MB of additional disk space will be used.
Selecting previously unselected package libuv1:arm64.
(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 ... 54040 files and directories currently installed.)
Preparing to unpack .../libuv1_1.9.1-3_arm64.deb ...
Unpacking libuv1:arm64 (1.9.1-3) ...
Selecting previously unselected package nodejs.
Preparing to unpack .../nodejs_4.8.2~dfsg-1_arm64.deb ...
Unpacking nodejs (4.8.2~dfsg-1) ...
Setting up libuv1:arm64 (1.9.1-3) ...
Processing triggers for libc-bin (2.24-11+deb9u3) ...
Processing triggers for man-db (2.7.6.1-2) ...
Setting up nodejs (4.8.2~dfsg-1) ...
update-alternatives: using /usr/bin/nodejs to provide /usr/bin/js (js) in auto mode
Version actuelle : v4.8.2
dependencies.sh: 59: dependencies.sh: npm: not found
chown: cannot access 'node_modules': No such file or directory
rm: cannot remove '/tmp/espeasy_dep': No such file or directory
Fin de l'installation

d’après se que je comprends il n’arrive pas à joindre une adresse…
ce qu’il me semble bizarre c’est qu’il y a deux fois certbot dans l’adresse

Err:12 http://ppa.launchpad.net/certbot/certbot/ubuntu focal/main arm64 Packages
404  Not Found [IP: 91.189.95.83 80]

As tu réussi à résoudre ton problème?

Merci d’avance pour les idées apportées. :wink:

c’est quoi cette IP avec espace 80 ?
quel version de jeedom ?
quel version d’OS ?

bonjour, merci pour vos questions,

  • Je ne sais pas du tout à quoi correspond cette adresse ( ce n’est pas mon adresse exterieur en tout cas).
  • Je possède une jeedom smart sous Stretch (Linux jeedom 3.14.79-94 #1 SMP PREEMPT Mon Nov 21 17:13:27 BRST 2016 aarch64 GNU/Linux [9.4]).
  • Mon jeedom est en version v4.0.47.

en fouillant sur le net je viens de tomber la dessus

https://launchpad.net/~certbot/+archive/ubuntu/certbot
## Adding this PPA to your system

You can update your system with unsupported packages from this untrusted PPA by adding  **ppa:certbot/certbot**  to your system's Software Sources. ([Read about installing](https://launchpad.net/+help-soyuz/ppa-sources-list.html))

sudo add-apt-repository ppa:certbot/certbot sudo apt-get update

Bonjour,

j’ai réussi en installant manuellement les paquets nodejs et npm

Bon courage, j’espère que cela vous aidera

Bonsoir, désolé pour la réponse tardive, merci pour votre info mais j’ai fait une restauration de ma smart et remis ma sauvegarde et ca marche. Merci pour votre aide.

Merci de penser à cocher la case “solution” sur le message qui répond à la demande. ça fermera automatiquement la sujet et fera remonter la réponse sur le 1er post pour que ceux qui auraient la même demande visualisent immédiatement la solution.

Ce sujet a été automatiquement fermé après 24 heures suivant le dernier commentaire. Aucune réponse n’est permise dorénavant.