Installation Dépendances NOK

Bonjour,

J’essaie tant bien que mal d’installer les dépendances de zigbeelinker sur mon RPI3 mais j’ai toujours le même message en fin d’installation, ci-dessous le log :

#######################################################
#    INSTALL : Zigbee2mqtt                            #
#######################################################
#######################################################
##### apt-get update in progress
Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
Hit:2 http://archive.raspberrypi.org/debian stretch InRelease
Ign:3 https://deb.nodesource.com/node_14.x buster InRelease
Ign:4 https://deb.nodesource.com/node_14.x buster Release
Ign:5 https://deb.nodesource.com/node_14.x buster/main Sources
Ign:6 https://deb.nodesource.com/node_14.x buster/main armhf Packages
Ign:7 https://deb.nodesource.com/node_14.x buster/main all Packages
Ign:8 https://deb.nodesource.com/node_14.x buster/main Translation-en
Ign:5 https://deb.nodesource.com/node_14.x buster/main Sources
Ign:6 https://deb.nodesource.com/node_14.x buster/main armhf Packages
Ign:7 https://deb.nodesource.com/node_14.x buster/main all Packages
Ign:8 https://deb.nodesource.com/node_14.x buster/main Translation-en
Ign:5 https://deb.nodesource.com/node_14.x buster/main Sources
Ign:6 https://deb.nodesource.com/node_14.x buster/main armhf Packages
Ign:7 https://deb.nodesource.com/node_14.x buster/main all Packages
Ign:8 https://deb.nodesource.com/node_14.x buster/main Translation-en
Ign:5 https://deb.nodesource.com/node_14.x buster/main Sources
Ign:6 https://deb.nodesource.com/node_14.x buster/main armhf Packages
Ign:7 https://deb.nodesource.com/node_14.x buster/main all Packages
Ign:8 https://deb.nodesource.com/node_14.x buster/main Translation-en
Ign:5 https://deb.nodesource.com/node_14.x buster/main Sources
Ign:6 https://deb.nodesource.com/node_14.x buster/main armhf Packages
Ign:7 https://deb.nodesource.com/node_14.x buster/main all Packages
Ign:8 https://deb.nodesource.com/node_14.x buster/main Translation-en
Err:5 https://deb.nodesource.com/node_14.x buster/main Sources
The HTTP server sent an invalid reply header
Ign:6 https://deb.nodesource.com/node_14.x buster/main armhf Packages
Ign:8 https://deb.nodesource.com/node_14.x buster/main Translation-en
Reading package lists...
W: The repository 'https://deb.nodesource.com/node_14.x buster Release' does not have a Release file.
E: Failed to fetch https://deb.nodesource.com/node_14.x/dists/buster/main/source/Sources  The HTTP server sent an invalid reply header
E: Some index files failed to download. They have been ignored, or old ones used instead.
#######################################################
##### Install or update Git
Reading package lists...
Building dependency tree...
Reading state information...
g++ is already the newest version (4:8.3.0-1+rpi2).
gcc is already the newest version (4:8.3.0-1+rpi2).
git is already the newest version (1:2.20.1-2+deb10u3).
make is already the newest version (4.2.1-1.2).
0 upgraded, 0 newly installed, 0 to remove and 370 not upgraded.
#######################################################
##### Install or update NodeJs
NodeJs 14 already installed : Nothing to do !
#######################################################
#    INSTALLING : Mosquitto (server)                  #
#######################################################
Reading package lists...
Building dependency tree...
Reading state information...
mosquitto is already the newest version (1.5.7-1+deb10u1).
0 upgraded, 0 newly installed, 0 to remove and 370 not upgraded.
#######################################################
##### Install Socat
Socat is already installed, nothing to do
#######################################################
##### Install yaml php and restart apache
Yaml is already installed, nothing to do
#######################################################
#####    Stopping Zigbee2mqtt deamon                  #
Removed /etc/systemd/system/multi-user.target.wants/zigbee2mqtt.service.
#######################################################
##### Update : Download update from Zigbee2mqtt git
##### up to date
#######################################################
##### Configure deamon and start it
mv: cannot stat '/opt/zigbee2mqtt/data/database.db': No such file or directory
mv: cannot stat '/opt/zigbee2mqtt/data/state.json': No such file or directory
chown: cannot access '/var/www/html/plugins/zigbee2mqtt/data/zigbee2mqtt/state.json': No such file or directory
chown: cannot access '/var/www/html/plugins/zigbee2mqtt/data/zigbee2mqtt/database.db': No such file or directory
Created symlink /etc/systemd/system/multi-user.target.wants/zigbee2mqtt.service -> /etc/systemd/system/zigbee2mqtt.service.
#######################################################
#                         END                         #
#######################################################

J’imagine que c’est bêtement un problème de droit mais là je sèche…
Ce RPI est un jeedom secondaire, je gère quelques sondes via jeediuno et fait office d’antenne BLEA également, par d’autres plugin dessus…

Si vous avez des idées…

Salut :slight_smile:

alors je te conseille de mettre à jour ton système ^^
avec putty (en ssh), tu fais :

sudo apt update
sudo apt upgrade -y

Et après quand c’est terminé, tu refais un sudo apt upgrade pour vérifier que tout est bien mis à jour sans erreur.

Puis tu relances les dépendances

J’en ai 33 qui semblent ne pas se mettre à jour…


pi@RPI_Chaufferie:~ $ apt list --upgradable
Listing... Done
apache2-bin/stable 2.4.38-3+deb10u4 armhf [upgradable from: 2.4.25-3+deb9u9]
apache2-data/stable 2.4.38-3+deb10u4 all [upgradable from: 2.4.25-3+deb9u9]
apache2-utils/stable 2.4.38-3+deb10u4 armhf [upgradable from: 2.4.25-3+deb9u9]
apache2/stable 2.4.38-3+deb10u4 armhf [upgradable from: 2.4.25-3+deb9u9]
curl/stable 7.64.0-4+deb10u2 armhf [upgradable from: 7.52.1-5+deb9u13]
default-mysql-client/stable 1.0.5 all [upgradable from: 1.0.2]
default-mysql-server/stable 1.0.5 all [upgradable from: 1.0.2]
libalgorithm-diff-xs-perl/stable 0.04-5+b1 armhf [upgradable from: 0.04-4+b2]
libatlas-base-dev/stable 3.10.3-8+rpi1 armhf [upgradable from: 3.10.3-1+rpi1]
libatlas3-base/stable 3.10.3-8+rpi1 armhf [upgradable from: 3.10.3-1+rpi1]
libblas-dev/stable 3.8.0-2 armhf [upgradable from: 3.7.0-2]
libblas3/stable 3.8.0-2 armhf [upgradable from: 3.7.0-2]
libdbd-mysql-perl/stable 4.050-2 armhf [upgradable from: 4.041-2]
libdbi-perl/stable 1.642-1+deb10u2 armhf [upgradable from: 1.636-1+deb9u1]
libfcgi-perl/stable 0.78-2+b2 armhf [upgradable from: 0.78-2]
libfile-fcntllock-perl/stable 0.22-3+b4 armhf [upgradable from: 0.22-3+b2]
libhtml-parser-perl/stable 3.72-3+b2 armhf [upgradable from: 3.72-3]
liblist-moreutils-perl/stable 0.416-1+b3 armhf [upgradable from: 0.416-1+b1]
liblocale-gettext-perl/stable 1.07-3+b3 armhf [upgradable from: 1.07-3+b1]
libmailutils5/stable 1:3.5-4 armhf [upgradable from: 1:3.1.1-1]
libterm-readkey-perl/stable 2.38-1 armhf [upgradable from: 2.37-1]
libtext-charwidth-perl/stable 0.04-7.1+b1 armhf [upgradable from: 0.04-7+b7]
libtext-iconv-perl/stable 1.7-5+b10 armhf [upgradable from: 1.7-5+b8]
libudev1/stable 241-7~deb10u7+rpi1 armhf [upgradable from: 232-25+deb9u12]
mailutils-common/stable 1:3.5-4 all [upgradable from: 1:3.1.1-1]
mailutils/stable 1:3.5-4 armhf [upgradable from: 1:3.1.1-1]
nfs-common/stable 1:1.3.4-2.5+deb10u1 armhf [upgradable from: 1:1.3.4-2.1+deb9u1]
nodejs/unknown 14.17.0-1nodesource1 armhf [upgradable from: 10.24.0~dfsg-1~deb10u1]
perl-base/stable 5.28.1-6 armhf [upgradable from: 5.24.1-3+deb9u7]
perl/stable 5.28.1-6 armhf [upgradable from: 5.24.1-3+deb9u7]
rename/stable 1.10-1 all [upgradable from: 0.20-4]
rpcbind/stable 1.2.5-0.3+deb10u1 armhf [upgradable from: 0.2.3-0.6]
udev/stable 241-7~deb10u7+rpi1 armhf [upgradable from: 232-25+deb9u12]

Et si je relance les dépendances, j’ai toujours la même fin…

#######################################################
#    INSTALL : Zigbee2mqtt                            #
#######################################################
#######################################################
##### apt-get update in progress
Hit:1 http://archive.raspberrypi.org/debian stretch InRelease
Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
Hit:3 https://deb.nodesource.com/node_14.x buster InRelease
Reading package lists...
#######################################################
##### Install or update Git
Reading package lists...
Building dependency tree...
Reading state information...
g++ is already the newest version (4:8.3.0-1+rpi2).
gcc is already the newest version (4:8.3.0-1+rpi2).
git is already the newest version (1:2.20.1-2+deb10u3).
make is already the newest version (4.2.1-1.2).
0 upgraded, 0 newly installed, 0 to remove and 33 not upgraded.
#######################################################
##### Install or update NodeJs
NodeJs 14 already installed : Nothing to do !
#######################################################
#    INSTALLING : Mosquitto (server)                  #
#######################################################
Reading package lists...
Building dependency tree...
Reading state information...
mosquitto is already the newest version (1.5.7-1+deb10u1).
0 upgraded, 0 newly installed, 0 to remove and 33 not upgraded.
#######################################################
##### Install Socat
Socat is already installed, nothing to do
#######################################################
##### Install yaml php and restart apache
Yaml is already installed, nothing to do
#######################################################
#####    Stopping Zigbee2mqtt deamon                  #
Removed /etc/systemd/system/multi-user.target.wants/zigbee2mqtt.service.
#######################################################
##### Update : Download update from Zigbee2mqtt git
##### up to date
#######################################################
##### Configure deamon and start it
mv: cannot stat '/opt/zigbee2mqtt/data/database.db': No such file or directory
mv: cannot stat '/opt/zigbee2mqtt/data/state.json': No such file or directory
chown: cannot access '/var/www/html/plugins/zigbee2mqtt/data/zigbee2mqtt/state.json': No such file or directory
chown: cannot access '/var/www/html/plugins/zigbee2mqtt/data/zigbee2mqtt/database.db': No such file or directory
Created symlink /etc/systemd/system/multi-user.target.wants/zigbee2mqtt.service -> /etc/systemd/system/zigbee2mqtt.service.
#######################################################
#                         END                         #
#######################################################

Une idée ?

Tu es en stretch ou buster ?

J’ai mis à jour en buster depuis stretch, peut-être ça le problème…
Je vais voir pour refaire une installation clean depuis une base buster et ma sauvegarde d’hier soir…

1 « J'aime »

c’est le mieux à faire.

2 « J'aime »

Bon, bah là ça marche, rien de mieux que de repartir d’une base propre…

Par contre bizarrement j’avais toujours les messages d’erreurs en fin d’installation des dépendances mais tout est au vert !

Merci encore !!!

2 « J'aime »

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