DavZero a écrit : ↑26 avr. 2019, 20:59Salut @neom,
j'ai pu acceder a un syno (xpenology plutot) en DSM 6.2 et j'ai vu qu'on pouvait installer nodejs 8. Su tu fait ca et que tu relance l'installation des dependance, ca devrait passer (attention a bien choisir al version 8):
InstallNodejs.JPG
Tiens moi au courant.
Merci!
Node.js v8 installé, mais installation dépendances ne semble pas fonctionner :/
Début de l'installation
Version actuelle : 0
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:
libc-ares2* libv8-3.14.5* nodejs*
0 upgraded, 0 newly installed, 3 to remove and 210 not upgraded.
After this operation, 7495 kB 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 ... 36698 files and directories currently installed.)
Removing nodejs (0.10.29~dfsg-2) ...
Removing libc-ares2:amd64 (1.10.0-2+deb8u2) ...
Purging configuration files for libc-ares2:amd64 (1.10.0-2+deb8u2) ...
Removing libv8-3.14.5 (3.14.5.8-8.1) ...
Purging configuration files for libv8-3.14.5 (3.14.5.8-8.1) ...
Processing triggers for man-db (2.7.0.2-5) ...
Processing triggers for libc-bin (2.19-18+deb8u6) ...
Utilisation du dépot officiel
## Installing the NodeSource Node.js 8.x LTS Carbon repo...
## Populating apt-get cache...
+ apt-get update
Ign http://http.us.debian.org jessie InRelease
Hit http://security.debian.org jessie/updates InRelease
Hit http://http.us.debian.org jessie Release.gpg
Ign http://deb.debian.org jessie InRelease
Hit http://deb.debian.org jessie-updates InRelease
Get:1 http://security.debian.org jessie/updates/main amd64 Packages [849 kB]
Hit http://http.us.debian.org jessie Release
Hit http://deb.debian.org jessie Release.gpg
Get:2 http://http.us.debian.org jessie/non-free amd64 Packages [101 kB]
Hit http://deb.debian.org jessie Release
Get:3 http://deb.debian.org jessie/main amd64 Packages [9098 kB]
Fetched 10.0 MB in 3s (2974 kB/s)
W: Failed to fetch http://deb.debian.org/debian/dists/jess ... /InRelease Unable to find expected entry 'main/binary-amd64/Packages' in Release file (Wrong sources.list entry or malformed file)
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 extra packages will be installed:
libc-ares2 libv8-3.14.5
The following NEW packages will be installed:
libc-ares2 libv8-3.14.5 nodejs
0 upgraded, 3 newly installed, 0 to remove and 210 not upgraded.
Need to get 1990 kB of archives.
After this operation, 7495 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian/ jessie/main libc-ares2 amd64 1.10.0-2+deb8u2 [72.5 kB]
Get:2 http://deb.debian.org/debian/ jessie/main libv8-3.14.5 amd64 3.14.5.8-8.1 [1269 kB]
Get:3 http://deb.debian.org/debian/ jessie/main nodejs amd64 0.10.29~dfsg-2 [648 kB]
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76, <> line 3.)
debconf: falling back to frontend: Readline
Fetched 1990 kB in 0s (3465 kB/s)
Selecting previously unselected package libc-ares2:amd64.
(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 ... 36590 files and directories currently installed.)
Preparing to unpack .../libc-ares2_1.10.0-2+deb8u2_amd64.deb ...
Unpacking libc-ares2:amd64 (1.10.0-2+deb8u2) ...
Selecting previously unselected package libv8-3.14.5.
Preparing to unpack .../libv8-3.14.5_3.14.5.8-8.1_amd64.deb ...
Unpacking libv8-3.14.5 (3.14.5.8-8.1) ...
Selecting previously unselected package nodejs.
Preparing to unpack .../nodejs_0.10.29~dfsg-2_amd64.deb ...
Unpacking nodejs (0.10.29~dfsg-2) ...
Processing triggers for man-db (2.7.0.2-5) ...
Setting up libc-ares2:amd64 (1.10.0-2+deb8u2) ...
Setting up libv8-3.14.5 (3.14.5.8-8.1) ...
Setting up nodejs (0.10.29~dfsg-2) ...
update-alternatives: using /usr/bin/nodejs to provide /usr/bin/js (js) in auto mode
Processing triggers for libc-bin (2.19-18+deb8u6) ...
Version actuelle : v0.10.29
/var/www/html/plugins/upnp/resources/nodejs.sh: line 54: npm: command not found
sudo: npm: command not found
sudo: npm: command not found
sudo: npm: command not found
sudo: npm: command not found
sudo: npm: command not found
sudo: npm: command not found
Fin de l'installation