en essayant la 1er ligne de commande :
Code : Tout sélectionner
pi@raspberrypi:~ $ curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
## Installing the NodeSource Node.js v6.x repo...
## Populating apt-get cache...
+ apt-get update
Ign http://ftp.fr.debian.org wheezy InRelease
Atteint http://www.e-nef.com InRelease
Réception de : 1 http://packages.dotdeb.org wheezy InRelease [5 968 B]
Réception de : 2 http://ftp.fr.debian.org wheezy Release.gpg [2 373 B]
Réception de : 3 http://mirrordirector.raspbian.org jessie InRelease [14,9 kB]
Réception de : 4 http://archive.raspberrypi.org jessie InRelease [13,2 kB]
Atteint http://ftp.fr.debian.org wheezy Release
Réception de : 5 http://packages.dotdeb.org wheezy/all Sources [11,8 kB]
Atteint http://www.e-nef.com Packages
Réception de : 6 http://mirrordirector.raspbian.org jessie/main armhf Packages [ 8 981 kB]
Réception de : 7 http://archive.raspberrypi.org jessie/main armhf Packages [106 kB]
Ign http://ftp.fr.debian.org wheezy Release
Ign http://www.e-nef.com Translation-fr_FR
Ign http://www.e-nef.com Translation-fr
Ign http://www.e-nef.com Translation-en
Réception de : 8 http://archive.raspberrypi.org jessie/ui armhf Packages [52,6 kB]
Atteint http://ftp.fr.debian.org wheezy/main Sources
Atteint http://ftp.fr.debian.org wheezy/main armhf Packages
Atteint http://ftp.fr.debian.org wheezy/main Translation-fr
Atteint http://ftp.fr.debian.org wheezy/main Translation-en
Ign http://ftp.fr.debian.org wheezy/main Translation-fr_FR
Ign http://archive.raspberrypi.org jessie/main Translation-fr_FR
Ign http://archive.raspberrypi.org jessie/main Translation-fr
Ign http://archive.raspberrypi.org jessie/main Translation-en
Ign http://archive.raspberrypi.org jessie/ui Translation-fr_FR
Ign http://archive.raspberrypi.org jessie/ui Translation-fr
Ign http://archive.raspberrypi.org jessie/ui Translation-en
Réception de : 9 http://mirrordirector.raspbian.org jessie/contrib armhf Package s [37,5 kB]
Réception de : 10 http://mirrordirector.raspbian.org jessie/non-free armhf Packa ges [70,3 kB]
Réception de : 11 http://mirrordirector.raspbian.org jessie/rpi armhf Packages [ 1 356 B]
Ign http://mirrordirector.raspbian.org jessie/contrib Translation-fr_FR
Ign http://mirrordirector.raspbian.org jessie/contrib Translation-fr
Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en
Ign http://mirrordirector.raspbian.org jessie/main Translation-fr_FR
Ign http://mirrordirector.raspbian.org jessie/main Translation-fr
Ign http://mirrordirector.raspbian.org jessie/main Translation-en
Ign http://mirrordirector.raspbian.org jessie/non-free Translation-fr_FR
Ign http://mirrordirector.raspbian.org jessie/non-free Translation-fr
Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en
Ign http://mirrordirector.raspbian.org jessie/rpi Translation-fr_FR
Ign http://mirrordirector.raspbian.org jessie/rpi Translation-fr
Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en
9 297 ko réceptionnés en 27s (340 ko/s)
W: Erreur de GPG : http://ftp.fr.debian.org wheezy Release : Les signatures suivantes n'ont pas pu être vérifiées car la clé publique n'est pas disponible : NO_PUBKEY 8B48AD6246925553 NO_PUBKEY 7638D0442B90D010 NO_PUBKEY 6FB2A 1C265FFB764
W: Impossible de récupérer http://packages.dotdeb.org/dists/wheezy/InRelease Impossible de trouver l'entrée « al l/binary-armhf/Packages » attendue dans le fichier « Release » : ligne non valable dans sources.list ou fichier c orrompu
E: Le téléchargement de quelques fichiers d'index a échoué, ils ont été ignorés, ou les anciens ont été utilisés à la place.
Error executing command, exiting
pi@raspberrypi:~ $
ensuite j'ai quand même testé la 2eme malgré les erreurs qui sont apparu :
Code : Tout sélectionner
pi@raspberrypi:~ $ sudo apt-get install nodejs
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
Les paquets suivants ont été installés automatiquement et ne sont plus nécessaires :
libc-ares2 libv8-3.14.5
Veuillez utiliser « apt-get autoremove » pour les supprimer.
Les paquets suivants seront mis à jour :
nodejs
1 mis à jour, 0 nouvellement installés, 0 à enlever et 184 non mis à jour.
1 partiellement installés ou enlevés.
Il est nécessaire de prendre 0 o/8 581 ko dans les archives.
Après cette opération, 21,8 Mo d'espace disque supplémentaires seront utilisés.
(Lecture de la base de données... 148058 fichiers et répertoires déjà installés.)
Préparation du dépaquetage de .../nodejs_4.2.2_armhf.deb ...
Dépaquetage de nodejs (4.2.2) sur (0.10.29~dfsg-2) ...
dpkg: erreur de traitement de l'archive /var/cache/apt/archives/nodejs_4.2.2_armhf.deb (--unpack) :
tentative de remplacement de « /usr/bin/node », qui appartient aussi au paquet nodejs-legacy 0.10.29~dfsg-2
dpkg-deb : erreur : le sous-processus coller a été tué par le signal (Relais brisé (pipe))
Des erreurs ont été rencontrées pendant l'exécution :
/var/cache/apt/archives/nodejs_4.2.2_armhf.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
pi@raspberrypi:~ $
nodejs -v donne toujours v0.10.29 ...
merci pour ton aide, tu aurais une idée d'ou viens mon problème?