Bonsoir,
arch;
x86_64
lsb_release -c;
Codename: stretch
getconf LONG_BIT;
64
Installation manuelle:
# sudo apt-get update
Ign:1 http://ftp.fr.debian.org/debian stretch InRelease
Atteint:2 http://security.debian.org/debian-security stretch/updates InRelease
Atteint:3 http://ftp.fr.debian.org/debian stretch-updates InRelease
Atteint:4 https://deb.nodesource.com/node_12.x stretch InRelease
Atteint:5 http://ftp.fr.debian.org/debian stretch Release
Lecture des listes de paquets... Fait
curl -sLf -o /dev/null 'https://deb.nodesource.com/node_12.x/dists/stretch/Release'
# curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -
OK
# sudo apt-get install gcc g++ make
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
g++ is already the newest version (4:6.3.0-4).
gcc is already the newest version (4:6.3.0-4).
make is already the newest version (4.1-9.1).
0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:17 and /etc/apt/sources.list.d/nodesource.list:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:17 and /etc/apt/sources.list.d/nodesource.list:1
W: Target Translations (main/i18n/Translation-fr_FR) is configured multiple times in /etc/apt/sources.list:17 and /etc/apt/sources.list.d/nodesource.list:1
W: Target Translations (main/i18n/Translation-fr) is configured multiple times in /etc/apt/sources.list:17 and /etc/apt/sources.list.d/nodesource.list:1
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:17 and /etc/apt/sources.list.d/nodesource.list:1
# curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt-get update && sudo apt-get install yarnOK
# deb https://dl.yarnpkg.com/debian/ stable main
#
Ign:1 http://ftp.fr.debian.org/debian stretch InRelease
Atteint:2 http://security.debian.org/debian-security stretch/updates InRelease
Atteint:3 http://ftp.fr.debian.org/debian stretch-updates InRelease
Atteint:4 http://ftp.fr.debian.org/debian stretch Release
Atteint:5 https://deb.nodesource.com/node_12.x stretch InRelease
Réception de:6 https://dl.yarnpkg.com/debian stable InRelease [17,1 kB]
Réception de:8 https://dl.yarnpkg.com/debian stable/main all Packages [9 473 B]
Réception de:9 https://dl.yarnpkg.com/debian stable/main amd64 Packages [9 473 B]
36,0 ko réceptionnés en 0s (42,2 ko/s)
Lecture des listes de paquets... Fait
W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list.d/nodesource.list:2
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:17 and /etc/apt/sources.list.d/nodesource.list:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:17 and /etc/apt/sources.list.d/nodesource.list:1
W: Target Translations (main/i18n/Translation-fr_FR) is configured multiple times in /etc/apt/sources.list:17 and /etc/apt/sources.list.d/nodesource.list:1
W: Target Translations (main/i18n/Translation-fr) is configured multiple times in /etc/apt/sources.list:17 and /etc/apt/sources.list.d/nodesource.list:1
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:17 and /etc/apt/sources.list.d/nodesource.list:1
W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list.d/nodesource.list:2
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:17 and /etc/apt/sources.list.d/nodesource.list:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:17 and /etc/apt/sources.list.d/nodesource.list:1
W: Target Translations (main/i18n/Translation-fr_FR) is configured multiple times in /etc/apt/sources.list:17 and /etc/apt/sources.list.d/nodesource.list:1
W: Target Translations (main/i18n/Translation-fr) is configured multiple times in /etc/apt/sources.list:17 and /etc/apt/sources.list.d/nodesource.list:1
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:17 and /etc/apt/sources.list.d/nodesource.list:1
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 :
python-cliapp python-markdown python-ttystatus python-yaml
Veuillez utiliser « sudo apt autoremove » pour les supprimer.
Paquets recommandés :
nodejs
Les paquets suivants seront ENLEVÉS :
cmdtest
Les NOUVEAUX paquets suivants seront installés :
yarn
0 mis à jour, 1 nouvellement installés, 1 à enlever et 0 non mis à jour.
Il est nécessaire de prendre 891 ko dans les archives.
Après cette opération, 5 322 ko d'espace disque supplémentaires seront utilisés.
Souhaitez-vous continuer ? [O/n] o
Réception de:1 https://dl.yarnpkg.com/debian stable/main amd64 yarn all 1.21.1-1 [891 kB]
891 ko réceptionnés en 1s (475 ko/s)
Récupération des rapports de bogue… Fait
Analyse des informations Trouvé/Corrigé… Fait
(Lecture de la base de données... 71534 fichiers et répertoires déjà installés.)
Suppression de cmdtest (0.27-1) ...
Sélection du paquet yarn précédemment désélectionné.
(Lecture de la base de données... 71517 fichiers et répertoires déjà installés.)
Préparation du dépaquetage de .../archives/yarn_1.21.1-1_all.deb ...
Dépaquetage de yarn (1.21.1-1) ...
Paramétrage de yarn (1.21.1-1) ...
Traitement des actions différées (« triggers ») pour man-db (2.7.6.1-2) ...
SI je réessaie via le plugin:
--0%
--[2020/01/20 20:53:52]-Mode Debug--
--10%
Lancement de l'installation/mise à jour des dépendances
--20%
Ign:1 http://ftp.fr.debian.org/debian stretch InRelease
Hit:2 http://security.debian.org/debian-security stretch/updates InRelease
Hit:3 http://ftp.fr.debian.org/debian stretch-updates InRelease
Hit:4 http://ftp.fr.debian.org/debian stretch Release
Hit:5 https://deb.nodesource.com/node_12.x stretch InRelease
Hit:7 https://dl.yarnpkg.com/debian stable InRelease
Reading package lists...
W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list.d/nodesource.list:2
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:17 and /etc/apt/sources.list.d/nodesource.list:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:17 and /etc/apt/sources.list.d/nodesource.list:1
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:17 and /etc/apt/sources.list.d/nodesource.list:1
W: Target Translations (main/i18n/Translation-fr) is configured multiple times in /etc/apt/sources.list:17 and /etc/apt/sources.list.d/nodesource.list:1
W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list.d/nodesource.list:2
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:17 and /etc/apt/sources.list.d/nodesource.list:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:17 and /etc/apt/sources.list.d/nodesource.list:1
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:17 and /etc/apt/sources.list.d/nodesource.list:1
W: Target Translations (main/i18n/Translation-fr) is configured multiple times in /etc/apt/sources.list:17 and /etc/apt/sources.list.d/nodesource.list:1
Reading package lists...
Building dependency tree...
Reading state information...
lsb-release is already the newest version (9.20161125).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
--30%
Version actuelle :
--40%
KO, version obsolète à upgrader
Suppression du Nodejs existant et installation du paquet recommandé
Reading package lists...
Building dependency tree...
Reading state information...
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
Package 'nodejs' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
--45%
Utilisation du dépot officiel
## Installing the NodeSource Node.js 12.x repo...
## Populating apt-get cache...
+ apt-get update
Ign:1 http://ftp.fr.debian.org/debian stretch InRelease
Hit:2 http://security.debian.org/debian-security stretch/updates InRelease
Hit:3 http://ftp.fr.debian.org/debian stretch-updates InRelease
Hit:4 http://ftp.fr.debian.org/debian stretch Release
Hit:5 https://dl.yarnpkg.com/debian stable InRelease
Hit:6 https://deb.nodesource.com/node_12.x stretch InRelease
Reading package lists...
W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list.d/nodesource.list:2
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:17 and /etc/apt/sources.list.d/nodesource.list:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:17 and /etc/apt/sources.list.d/nodesource.list:1
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:17 and /etc/apt/sources.list.d/nodesource.list:1
W: Target Translations (main/i18n/Translation-fr) is configured multiple times in /etc/apt/sources.list:17 and /etc/apt/sources.list.d/nodesource.list:1
W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list.d/nodesource.list:2
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:17 and /etc/apt/sources.list.d/nodesource.list:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:17 and /etc/apt/sources.list.d/nodesource.list:1
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:17 and /etc/apt/sources.list.d/nodesource.list:1
W: Target Translations (main/i18n/Translation-fr) is configured multiple times in /etc/apt/sources.list:17 and /etc/apt/sources.list.d/nodesource.list:1
## Confirming "stretch" is supported...
+ curl -sLf -o /dev/null 'https://deb.nodesource.com/node_12.x/dists/stretch/Release'
## Adding the NodeSource signing key to your keyring...
+ curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -
Warning: apt-key output should not be parsed (stdout is not a terminal)
OK
## Creating apt sources list file for the NodeSource Node.js 12.x repo...
+ echo 'deb https://deb.nodesource.com/node_12.x stretch main' > /etc/apt/sources.list.d/nodesource.list
+ echo 'deb-src https://deb.nodesource.com/node_12.x stretch main' >> /etc/apt/sources.list.d/nodesource.list
## Running `apt-get update` for you...
+ apt-get update
Ign:1 http://ftp.fr.debian.org/debian stretch InRelease
Hit:2 http://security.debian.org/debian-security stretch/updates InRelease
Hit:3 http://ftp.fr.debian.org/debian stretch-updates InRelease
Hit:4 http://ftp.fr.debian.org/debian stretch Release
Hit:5 https://deb.nodesource.com/node_12.x stretch InRelease
Hit:6 https://dl.yarnpkg.com/debian stable InRelease
Reading package lists...
W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list.d/nodesource.list:2
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:17 and /etc/apt/sources.list.d/nodesource.list:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:17 and /etc/apt/sources.list.d/nodesource.list:1
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:17 and /etc/apt/sources.list.d/nodesource.list:1
W: Target Translations (main/i18n/Translation-fr) is configured multiple times in /etc/apt/sources.list:17 and /etc/apt/sources.list.d/nodesource.list:1
W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list.d/nodesource.list:2
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:17 and /etc/apt/sources.list.d/nodesource.list:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:17 and /etc/apt/sources.list.d/nodesource.list:1
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:17 and /etc/apt/sources.list.d/nodesource.list:1
W: Target Translations (main/i18n/Translation-fr) is configured multiple times in /etc/apt/sources.list:17 and /etc/apt/sources.list.d/nodesource.list:1
## Run `sudo apt-get install -y nodejs` to install Node.js 12.x and npm
## You may also need development tools to build native addons:
sudo apt-get install gcc g++ make
## To install the Yarn package manager, run:
curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt-get update && sudo apt-get install yarn
Reading package lists...
Building dependency tree...
Reading state information...
Package nodejs is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'nodejs' has no installation candidate
/var/www/html/plugins/alexaapi/resources/nodejs.sh: line 153: npm: command not found
/var/www/html/plugins/alexaapi/resources/nodejs.sh: line 155: nodejs: command not found
Version actuelle :
Reading package lists...
Building dependency tree...
Reading state information...
Package npm is a virtual package provided by:
nodejs 12.14.1-1nodesource1 [Not candidate version]
E: Package 'npm' has no installation candidate
sudo: npm: command not found
--50%
--60%
Installation...
sudo: npm: command not found
chown: cannot access 'node_modules': No such file or directory
--95%
--100%
Installation des dépendances alexaapi terminée, vérifiez qu'il n'y a pas d'erreur
--[2020/01/20 20:54:00]--
Retest d’install de nodejs manuellement :
# sudo apt -y install nodejs
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
Aucune version du paquet nodejs n'est disponible, mais il existe dans la base
de données. Cela signifie en général que le paquet est manquant, qu'il est devenu obsolète
ou qu'il n'est disponible que sur une autre source
E: Le paquet « nodejs » n'a pas de version susceptible d'être installée
Bref toujours le même soucis.
Le fait que mes sources soit trouvées dans plusieurs fichiers peut poser problème?
Je ne suis pas très à l’aise sous linux désolé