I'm trying to get NodeJS installed on my server. The instructions suggest doing:sudo apt-get updatesudo apt-get install nodejsTo which I get:root@steampunklinode:~# sudo apt-get updateHit http://nginx.org jessie InReleaseHit http://nginx.org jessie/nginx SourcesHit http://nginx.org jessie/nginx amd64 PackagesIgn http://nginx.org jessie/nginx Translation-en_USIgn http://nginx.org jessie/nginx Translation-enReading package lists... Doneroot@steampunklinode:~# sudo apt-get install nodejsReading package lists... DoneBuilding dependency treeReading state information... DoneE: Unable to locate package nodejsI found this post:How to install latest NodeJS on Debian Jessie?I tried the suggestion there, but get an error:root@steampunklinode:~# curl -sL https://deb.nodesource.com/setup | bash -================================================================================================================================================================                           SCRIPT DEPRECATION WARNING  This script, located at https://deb.nodesource.com/setup, used to  install Node.js v0.10, is being deprecated and will eventually be made  inactive.  You should use the script that corresponds to the version of Node.js you  wish to install. e.g.   * https://deb.nodesource.com/setup_4.x  Node.js v4 LTS Argon (recommended)   * https://deb.nodesource.com/setup_6.x  Node.js v6 Current  Please see https://github.com/nodejs/LTS/ for details about which version  may be appropriate for you.  The NodeSource Node.js Linux distributions GitHub repository contains  information about which versions of Node.js and which Linux distributions  are supported and how to use the install scripts.    https://github.com/nodesource/distributions================================================================================================================================================================Continuing in 10 seconds (press Ctrl-C to abort) ...## Installing the NodeSource Node.js v0.10 repo...## Populating apt-get cache...+ apt-get updateHit http://nginx.org jessie InReleaseHit http://nginx.org jessie/nginx SourcesHit http://nginx.org jessie/nginx amd64 PackagesIgn http://nginx.org jessie/nginx Translation-en_USIgn http://nginx.org jessie/nginx Translation-enReading package lists... Done## Installing packages required for setup: apt-transport-https...+ apt-get install -y apt-transport-https > /dev/null 2>&1Error executing command, exitingCan someone please point me in the right direction? I must be missing something dumb! Thanks
Setting up node on Debian Jessie
apt;node.js
Your repositories are mis-configured. Since you're running Jessie, your /etc/apt/sources.list needs to havedeb http://httpredir.debian.org/debian jessie maindeb-src http://httpredir.debian.org/debian jessie maindeb http://security.debian.org/ jessie/updates maindeb-src http://security.debian.org/ jessie/updates mainGiven your apt-get update output it looks like you've only got Nginx repositories there. If you add the above lines, you'll be able to update again and install Node either using the Debian nodejs package (0.10) or a newer release following the instructions you linked to.