Problème d'installation des dépendances

Bonjour,

J’ai une box Luna avec les plugins zwave-js et zigbee officiels qui fonctionnent correctement.
Ne pouvant pas configurer les timers de mes arrosages tuya, je voudrai tenter ce nouveau plugin.
Je sais que les deux plugins zigbee ne peuvent pas fonctionner en même temps mais je but déjà sur l’installation des dépendances:

+ echo '*******************Begin of package installation******************'
*******************Begin of package installation******************
+ touch /tmp/jeedom_install_in_progress_z2m
+ echo 1
+ echo 2
+ sudo chmod +x /var/www/html/core/class/../../plugins/z2m/resources/pre-install.sh
+ sudo /var/www/html/core/class/../../plugins/z2m/resources/pre-install.sh
Launch pre-install of z2m dependancy
+ echo 3
+ sudo apt update
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Hit:1 https://deb.nodesource.com/node_16.x bullseye InRelease
Hit:2 https://deb.debian.org/debian bullseye InRelease
Hit:3 https://deb.debian.org/debian-security bullseye-security InRelease
Hit:4 https://deb.debian.org/debian bullseye-updates InRelease
Hit:5 https://deb.debian.org/debian bullseye-backports InRelease
Reading package lists...
Building dependency tree...
Reading state information...
22 packages can be upgraded. Run 'apt list --upgradable' to see them.
+ echo 4
+ sudo apt install -o Dpkg::Options::=--force-confdef -y php-yaml
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
chromium : Depends: chromium-common (= 113.0.5672.126-1~deb11u1) but 114.0.5735.90-2~deb11u1 is to be installed
chromium-common : Breaks: chromium (< 114.0.5735.90-2~deb11u1) but 113.0.5672.126-1~deb11u1 is to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
+ echo 5
+ sudo systemctl restart apache2
+ echo 6
+ sudo chmod +x /var/www/html/core/class/../../plugins/z2m/resources/post-install.sh
+ sudo /var/www/html/core/class/../../plugins/z2m/resources/post-install.sh
+ echo 'Launch post-install of z2m dependancy'
Launch post-install of z2m dependancy
+++ dirname /var/www/html/core/class/../../plugins/z2m/resources/post-install.sh
++ cd /var/www/html/core/class/../../plugins/z2m/resources
++ pwd
+ BASEDIR=/var/www/html/plugins/z2m/resources
+ '[' -d /var/www/html/plugins/z2m/resources/zigbee2mqtt ']'
+ cd /var/www/html/plugins/z2m/resources/zigbee2mqtt
+ echo 'Backup configuration'
Backup configuration
+ cp -R data data-backup
+ echo 'Update z2m (git)'
Update z2m (git)
+ git config --global --add safe.directory /var/www/html/plugins/z2m/resources/zigbee2mqtt
+ git reset --hard HEAD
HEAD is now at 21f5125 chore: release 1.31.2
+ git pull
hint: Pulling without specifying how to reconcile divergent branches is
hint: discouraged. You can squelch this message by running one of the following
hint: commands sometime before your next pull:
hint:
hint:   git config pull.rebase false  # merge (the default strategy)
hint:   git config pull.rebase true   # rebase
hint:   git config pull.ff only       # fast-forward only
hint:
hint: You can replace "git config" with "git config --global" to set a default
hint: preference for all repositories. You can also pass --rebase, --no-rebase,
hint: or --ff-only on the command line to override the configured default per
hint: invocation.
Already up to date.
+ npm ci
added 795 packages, and audited 796 packages in 1m
82 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
+ npm run build
> zigbee2mqtt@1.31.2 build
> tsc && node index.js writehash
+ echo 'Restore configuration'
Restore configuration
+ cp -R data-backup/configuration.yaml data
+ rm -rf data-backup
+ chown www-data:www-data -R /var/www/html/plugins/z2m/resources/zigbee2mqtt
+ echo 7
+ php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end z2m
+ rm /tmp/jeedom_install_in_progress_z2m
+ echo '*******************End of package installation******************'
*******************End of package installation******************

Du coup, j’ai aussi des erreurs avec le démarrage du plugin:

[2023-06-16 16:15:08]ERROR : Attention je pense qu'il y a un soucis avec le démon que j'ai relancé plus de 3 fois consécutivement
[2023-06-16 16:15:09]ERROR : Erreur sur la fonction deamon_start du plugin : Call to undefined function yaml_parse_file()

J’ai suivi le post par rapport à l’installation et j’ai bien le plugin MQTT Manager utilisé par le plugin zwave.

J’ai testé avec la version officielle et la version beta du plugin.

Une idée ?

Merci.

Paul.

Bonsoir.

Le log vous demande de saisir cela en ssh :
sudo apt --fix-broken install

Et tentez de relancer les dépendances après.

Le boulet que je suis, j’aurai du prêter un peu plus attention aux logs…
J’ai le même soucis je pense avec l’installation du plugin Signal.
Comme on dit RTFM.

Merci en tout cas et je fais une update du thread après avoir essayé.

Paul.

C’était bien ça.

Par contre c’est chromium qui a été mis à jour (version 114.0.5735.133-1).
Cela ne fait pas parti des mises à jour systèmes « transparentes » ?
Je suis étonné de devoir le faire à la main.

Les dépendances des plugins Signal et Jeezigbee se sont fait sans soucis.

Merci Fabrice pour votre aide.

Paul.

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