Actualmente estoy intentando instalar nodejs en mi sistema para usar la interfaz gráfica de usuario del administrador de LED de MSI; sin embargo, cuando uso el documento oficial de nodejs sobre cómo instalarlo, aparece un mensaje 404 No encontrado en la lista.
Los comandos que utilicé en la terminal:
curl -sL https://deb.nodesource.com/setup_7.x | sudo -E bash -
sudo apt-get install -y nodejs
Estos son los errores que recibo:
W: The repository 'http://ppa.launchpad.net/shawn-p-huang/ppa/ubuntu yakkety Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch http://ppa.launchpad.net/shawn-p-huang/ppa/ubuntu/dists/yakkety/main/binary-i386/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
Error executing command, exiting
Y soy consciente de que Ubuntu 16.10 es un poco nuevo, pero tuve que cambiar de 16.4 a 16.10 porque me dio una gran cantidad de problemas que no pude solucionar hasta que actualicé a 16.10.
¿Existe actualmente alguna solución o forma alternativa de instalar Nodejs versión 6 o superior?
Gracias
Respuesta1
Primero agregue la clave del repositorio
curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -
Luego configure el repositorio e instalenodejs 7.3.0
sudo sh -c "echo deb https://deb.nodesource.com/node_7.x yakkety main \ > /etc/apt/sources.list.d/nodesource.list"
sudo apt-get update && sudo apt-get install nodejs