Aide pour test installation dépendances

Bonjour à tous, je rencontre pour la première fois un problème concernant le test d’installation des dépendances chez un utilisateur du plugin teleinfo. Peu importe le plugin ce que je cherche à savoir c’est comment est fait le test à la fin et sur quoi s’appui jeedom pour savoir si tout est ok. Les dépendances s’installent grâce au fichier package.json et perso j’avais cru comprendre que le test s’effectuait dans la fonction public static function dependancy_info() par un return['state'] = 'ok'; mais j’ai beau mettre ‹ ok › ou n’importe quoi les dépendances sont toujours affichées comme non installées et donc le démon refuse de se lancer. Lorsque je mets la ligne "hasDependency" dans info.json à false alors j’arrive bien à lancer le démon. Je me demande donc bien ce qui fait dire à jeedom que les dépendances ne sont pas installées…

La page santé de l’utilisateur:

Edit 1: je précise que le fichier de progression de l’installation est bien effacé à la fin du processus

Merci d’avance

Salut,

Si c’est packages.json alors c’est le core qui fait le check également

1 « J'aime »

Ok alors quel rest fait il? Si tout c’est bien passé pourquoi c’est nok?

Est ce que cela pourrait avoir un rapport avec le dépôt qui n’est plus bon?

+ echo '*******************Begin of package installation******************'
*******************Begin of package installation******************
+ touch /tmp/jeedom_install_in_progress_teleinfo
+ echo 1
+ echo 2
+ sudo killall apt apt-get unattended-upgr
apt: no process found
apt-get: no process found
unattended-upgr: no process found
+ sudo rm /var/lib/apt/lists/lock
+ sudo rm /var/cache/apt/archives/lock
+ sudo rm /var/lib/dpkg/lock /var/lib/dpkg/lock-frontend
+ sudo sudo dpkg --configure -a --force-confdef
+ sudo apt update
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Get:1 http://archive.raspberrypi.org/debian buster InRelease [32.6 kB]
Get:2 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]
Hit:3 http://phoscon.de/apt/deconz buster InRelease
Hit:4 https://deb.nodesource.com/node_18.x nodistro InRelease
Reading package lists...
E: Repository 'http://archive.raspberrypi.org/debian buster InRelease' changed its 'Suite' value from 'oldstable' to 'oldoldstable'
E: Repository 'http://raspbian.raspberrypi.org/raspbian buster InRelease' changed its 'Suite' value from 'oldstable' to 'oldoldstable'
+ echo 3
+ sudo apt install -o Dpkg::Options::=--force-confdef -y python3-ftdi1
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
python3-ftdi1 is already the newest version (1.4-1+b2).
0 upgraded, 0 newly installed, 0 to remove and 322 not upgraded.
+ echo 4
+ sudo apt install -o Dpkg::Options::=--force-confdef -y python3-venv
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
libpython3.7 libpython3.7-dev libpython3.7-minimal libpython3.7-stdlib
python3.7 python3.7-dev python3.7-minimal python3.7-venv
Suggested packages:
python3.7-doc binfmt-support
The following NEW packages will be installed:
python3-venv python3.7-venv
The following packages will be upgraded:
libpython3.7 libpython3.7-dev libpython3.7-minimal libpython3.7-stdlib
python3.7 python3.7-dev python3.7-minimal
7 upgraded, 2 newly installed, 0 to remove and 315 not upgraded.
Need to get 53.0 MB/53.0 MB of archives.
After this operation, 118 kB of additional disk space will be used.
Err:1 http://raspbian.raspberrypi.org/raspbian buster/main armhf python3.7-dev armhf 3.7.3-2+deb10u5
404  Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
Err:2 http://raspbian.raspberrypi.org/raspbian buster/main armhf libpython3.7-dev armhf 3.7.3-2+deb10u5
404  Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
Err:3 http://raspbian.raspberrypi.org/raspbian buster/main armhf libpython3.7 armhf 3.7.3-2+deb10u5
404  Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
Err:4 http://raspbian.raspberrypi.org/raspbian buster/main armhf python3.7 armhf 3.7.3-2+deb10u5
404  Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
Err:5 http://raspbian.raspberrypi.org/raspbian buster/main armhf libpython3.7-stdlib armhf 3.7.3-2+deb10u5
404  Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
Err:6 http://raspbian.raspberrypi.org/raspbian buster/main armhf python3.7-minimal armhf 3.7.3-2+deb10u5
404  Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
Err:7 http://raspbian.raspberrypi.org/raspbian buster/main armhf libpython3.7-minimal armhf 3.7.3-2+deb10u5
404  Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
Err:8 http://raspbian.raspberrypi.org/raspbian buster/main armhf python3.7-venv armhf 3.7.3-2+deb10u5
404  Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/p/python3.7/python3.7-dev_3.7.3-2+deb10u5_armhf.deb  404  Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/p/python3.7/libpython3.7-dev_3.7.3-2+deb10u5_armhf.deb  404  Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/p/python3.7/libpython3.7_3.7.3-2+deb10u5_armhf.deb  404  Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/p/python3.7/python3.7_3.7.3-2+deb10u5_armhf.deb  404  Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/p/python3.7/libpython3.7-stdlib_3.7.3-2+deb10u5_armhf.deb  404  Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/p/python3.7/python3.7-minimal_3.7.3-2+deb10u5_armhf.deb  404  Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/p/python3.7/libpython3.7-minimal_3.7.3-2+deb10u5_armhf.deb  404  Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/p/python3.7/python3.7-venv_3.7.3-2+deb10u5_armhf.deb  404  Not Found [IP: 2a00:1098:0:80:1000:75:0:3 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
+ echo 5
+ sudo chmod +x /var/www/html/core/class/../../plugins/teleinfo/ressources/post-install.sh
+ sudo /var/www/html/core/class/../../plugins/teleinfo/ressources/post-install.sh
Wed May  1 15:04:49 BST 2024