Erreur dans les dépendances?

Bonjour,

Tout à jour coté jeedom, tout en version stable.

Les dépendances de z2m donne ceci

0000|+ echo '*******************Begin of package installation******************'
0001|*******************Begin of package installation******************
0002|+ touch /tmp/jeedom_install_in_progress_z2m
0003|+ echo 1
0004|+ echo 2
0005|+ sudo chmod +x /var/www/html/core/class/../../plugins/z2m/resources/pre-install.sh
0006|+ sudo /var/www/html/core/class/../../plugins/z2m/resources/pre-install.sh
0007|Launch pre-install of z2m dependancy
0008|+ echo 3
0009|+ php /var/www/html/core/class/../php/jeecli.php plugin install mqtt2
0010|+ echo 4
0011|+ sudo killall apt apt-get unattended-upgr
0012|apt: no process found
0013|apt-get: no process found
0014|+ sudo rm /var/lib/apt/lists/lock
0015|+ sudo rm /var/cache/apt/archives/lock
0016|+ sudo rm /var/lib/dpkg/lock /var/lib/dpkg/lock-frontend
0017|+ sudo sudo dpkg --configure -a --force-confdef
0018|+ sudo apt update
0019|WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
0020|Get:1 http://security.debian.org buster/updates InRelease [34.8 kB]
0021|Hit:2 http://deb.debian.org/debian buster InRelease
0022|Hit:3 http://deb.debian.org/debian buster-updates InRelease
0023|Ign:4 http://deb.debian.org/debian buster-backports InRelease
0024|Err:5 http://deb.debian.org/debian buster-backports Release
0025|404  Not Found [IP: 199.232.170.132 80]
0026|Get:6 https://deb.nodesource.com/node_18.x nodistro InRelease [12.1 kB]
0027|Get:7 http://armbian.hosthatch.com/apt buster InRelease [42.4 kB]
0028|Get:8 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages [9999 B]
0029|Get:9 https://deb.nodesource.com/node_18.x nodistro/main arm64 Packages [9981 B]
0030|Get:10 http://armbian.hosthatch.com/apt buster/main all Packages [10.8 kB]
0031|Get:11 http://armbian.hosthatch.com/apt buster/main arm64 Packages [678 kB]
0032|Get:12 http://armbian.hosthatch.com/apt buster/main armhf Packages [257 kB]
0033|Get:13 http://armbian.hosthatch.com/apt buster/main armhf Contents (deb) [5351 kB]
0034|Get:14 http://armbian.hosthatch.com/apt buster/main all Contents (deb) [35.8 kB]
0035|Get:15 http://armbian.hosthatch.com/apt buster/main arm64 Contents (deb) [13.2 MB]
0036|Reading package lists...
0037|E: The repository 'http://deb.debian.org/debian buster-backports Release' no longer has a Release file.
0038|+ echo 5
0039|+ sudo chmod +x /var/www/html/core/class/../../resources/install_nodejs.sh
0040|+ sudo /var/www/html/core/class/../../resources/install_nodejs.sh
0041|Hit:1 http://deb.debian.org/debian buster InRelease
0042|Hit:2 http://deb.debian.org/debian buster-updates InRelease
0043|Hit:3 http://security.debian.org buster/updates InRelease
0044|Ign:4 http://deb.debian.org/debian buster-backports InRelease
0045|Err:5 http://deb.debian.org/debian buster-backports Release
0046|404  Not Found [IP: 199.232.170.132 80]
0047|Hit:6 https://deb.nodesource.com/node_18.x nodistro InRelease
0048|Get:7 http://fi.mirror.armbian.de/apt buster InRelease [42.4 kB]
0049|Reading package lists...
0050|E: The repository 'http://deb.debian.org/debian buster-backports Release' no longer has a Release file.
0051|Reading package lists...
0052|Building dependency tree...
0053|Reading state information...
0054|apt-utils is already the newest version (1.8.2.3).
0055|build-essential is already the newest version (12.6).
0056|lsb-release is already the newest version (10.2019051400).
0057|git is already the newest version (1:2.20.1-2+deb10u9).
0058|0 upgraded, 0 newly installed, 0 to remove and 259 not upgraded.
0059|[Check Version NodeJS actuelle : v18.20.2 : [  OK  ]
0060|[Check Prefix : /usr and sudo prefix : /usr and www-data prefix : /usr : [  OK  ]
0061|+ echo 6
0062|+ sudo apt install -o Dpkg::Options::=--force-confdef -y php-yaml
0063|WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
0064|Reading package lists...
0065|Building dependency tree...
0066|Reading state information...
0067|php-yaml is already the newest version (2.0.2+1.3.1-4).
0068|0 upgraded, 0 newly installed, 0 to remove and 259 not upgraded.
0069|+ echo 7
0070|+ sudo systemctl restart apache2
0071|+ echo 8
0072|+ sudo chmod +x /var/www/html/core/class/../../plugins/z2m/resources/post-install.sh
0073|+ sudo /var/www/html/core/class/../../plugins/z2m/resources/post-install.sh
0074|+ echo Launch post-install of z2m dependancy
0075|Launch post-install of z2m dependancy
0076|+ realpath /var/www/html/core/class/../../plugins/z2m/resources/post-install.sh
0077|+ dirname /var/www/html/plugins/z2m/resources/post-install.sh
0078|+ BASEDIR=/var/www/html/plugins/z2m/resources
0079|+ [ -d /var/www/html/plugins/z2m/resources/zigbee2mqtt ]
0080|+ rm -rf /var/www/html/plugins/z2m/resources/zigbee2mqtt
0081|+ mkdir /var/www/html/plugins/z2m/resources/zigbee2mqtt
0082|+ git clone --depth 1 https://github.com/Koenkk/zigbee2mqtt.git /var/www/html/plugins/z2m/resources/zigbee2mqtt
0083|Cloning into '/var/www/html/plugins/z2m/resources/zigbee2mqtt'...
0084|+ cd /var/www/html/plugins/z2m/resources/zigbee2mqtt
0085|+ [ -f /var/www/html/plugins/z2m/resources/../data/wanted_z2m_version ]
0086|+ npm ci
0087|npm WARN EBADENGINE Unsupported engine {
0088|npm WARN EBADENGINE   package: 'minimatch@10.0.1',
0089|npm WARN EBADENGINE   required: { node: '20 || >=22' },
0090|npm WARN EBADENGINE   current: { node: 'v18.20.2', npm: '10.5.0' }
0091|npm WARN EBADENGINE }
0092|npm WARN EBADENGINE Unsupported engine {
0093|npm WARN EBADENGINE   package: 'jackspeak@4.0.1',
0094|npm WARN EBADENGINE   required: { node: '20 || >=22' },
0095|npm WARN EBADENGINE   current: { node: 'v18.20.2', npm: '10.5.0' }
0096|npm WARN EBADENGINE }
0097|npm WARN EBADENGINE Unsupported engine {
0098|npm WARN EBADENGINE   package: 'path-scurry@2.0.0',
0099|npm WARN EBADENGINE   required: { node: '20 || >=22' },
0100|npm WARN EBADENGINE   current: { node: 'v18.20.2', npm: '10.5.0' }
0101|npm WARN EBADENGINE }
0102|npm WARN EBADENGINE Unsupported engine {
0103|npm WARN EBADENGINE   package: 'lru-cache@11.0.0',
0104|npm WARN EBADENGINE   required: { node: '20 || >=22' },
0105|npm WARN EBADENGINE   current: { node: 'v18.20.2', npm: '10.5.0' }
0106|npm WARN EBADENGINE }
0107|npm WARN EBADENGINE Unsupported engine {
0108|npm WARN EBADENGINE   package: 'rimraf@6.0.1',
0109|npm WARN EBADENGINE   required: { node: '20 || >=22' },
0110|npm WARN EBADENGINE   current: { node: 'v18.20.2', npm: '10.5.0' }
0111|npm WARN EBADENGINE }
0112|npm WARN EBADENGINE Unsupported engine {
0113|npm WARN EBADENGINE   package: 'glob@11.0.0',
0114|npm WARN EBADENGINE   required: { node: '20 || >=22' },
0115|npm WARN EBADENGINE   current: { node: 'v18.20.2', npm: '10.5.0' }
0116|npm WARN EBADENGINE }
0117|npm WARN EBADENGINE Unsupported engine {
0118|npm WARN EBADENGINE   package: 'minimatch@10.0.1',
0119|npm WARN EBADENGINE   required: { node: '20 || >=22' },
0120|npm WARN EBADENGINE   current: { node: 'v18.20.2', npm: '10.5.0' }
0121|npm WARN EBADENGINE }
0122|npm WARN deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
0123|npm WARN deprecated @humanwhocodes/config-array@0.11.14: Use @eslint/config-array instead
0124|npm WARN deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
0125|npm WARN deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
0126|npm WARN deprecated @humanwhocodes/object-schema@2.0.3: Use @eslint/object-schema instead
0127|added 790 packages, and audited 791 packages in 39s
0128|87 packages are looking for funding
0129|run `npm fund` for details
0130|2 moderate severity vulnerabilities
0131|To address all issues, run:
0132|npm audit fix
0133|Run `npm audit` for details.
0134|+ npm run build
0135|> zigbee2mqtt@1.40.1 build
0136|> tsc && node index.js writehash
0137|+ chown www-data:www-data -R /var/www/html/plugins/z2m/resources/zigbee2mqtt
0138|+ echo 9
0139|+ php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end z2m
0140|+ echo 10
0141|+ rm /tmp/jeedom_install_in_progress_z2m
0142|+ echo '*******************End of package installation******************'
0143|*******************End of package installation******************

Est-ce normal de voir cela ?

0097|npm WARN EBADENGINE Unsupported engine {
0098|npm WARN EBADENGINE   package: 'path-scurry@2.0.0',
0099|npm WARN EBADENGINE   required: { node: '20 || >=22' },
0100|npm WARN EBADENGINE   current: { node: 'v18.20.2', npm: '10.5.0' }

C’est bien sûr une simple question et oui le passage a debian 11 est prévu

Merci

Hello,

Ce n’est qu’un warning mais : NodeJS 12 - Migration - #184 par Loic

mais quand ça va arriver (nodejs 20) ça ne sera pas compatible avec debian 10, pire, ça va casser nodejs dessus :slight_smile:

d’ou il faut absolument etre en 4.4.15 minimum pour le core quand on est en debian 10 ! car ça va bloquer les mises à jour des plugins qui migrent en nodejs 20.

1 « J'aime »

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