mohsen@mohsen-ThinkPad-Edge-E440:~$ 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
Hit:1 http://ir.archive.ubuntu.com/ubuntu xenial InRelease
Hit:2 http://ir.archive.ubuntu.com/ubuntu xenial-updates InRelease
Hit:3 http://ir.archive.ubuntu.com/ubuntu xenial-backports InRelease
Hit:4 http://archive.canonical.com/ubuntu xenial InRelease
Hit:5 http://deb.opera.com/opera-stable stable InRelease
Hit:6 http://ppa.launchpad.net/atareao/atareao/ubuntu xenial InRelease
Hit:7 http://ppa.launchpad.net/bablu-boy/nutty.0.1/ubuntu xenial InRelease
Get:8 http://security.ubuntu.com/ubuntu xenial-security InRelease [94.5 kB]
Ign:9 http://ppa.launchpad.net/chris-lea/node.js/ubuntu xenial InRelease
Hit:10 http://ppa.launchpad.net/maarten-baert/simplescreenrecorder/ubuntu xenial InRelease
Hit:11 http://ppa.launchpad.net/noobslab/apps/ubuntu wily InRelease
Hit:12 http://ppa.launchpad.net/webupd8team/java/ubuntu wily InRelease
Hit:13 http://ppa.launchpad.net/webupd8team/java/ubuntu vivid InRelease
Ign:14 http://ppa.launchpad.net/chris-lea/node.js/ubuntu xenial Release
Ign:15 http://ppa.launchpad.net/chris-lea/node.js/ubuntu xenial/main amd64 Packages
Ign:16 http://ppa.launchpad.net/chris-lea/node.js/ubuntu xenial/main i386 Packages
Ign:17 http://ppa.launchpad.net/chris-lea/node.js/ubuntu xenial/main all Packages
Ign:18 http://ppa.launchpad.net/chris-lea/node.js/ubuntu xenial/main Translation-en_US
Ign:19 http://ppa.launchpad.net/chris-lea/node.js/ubuntu xenial/main Translation-en
Ign:20 http://ppa.launchpad.net/chris-lea/node.js/ubuntu xenial/main amd64 DEP-11 Metadata
Ign:21 http://ppa.launchpad.net/chris-lea/node.js/ubuntu xenial/main DEP-11 64x64 Icons
Ign:15 http://ppa.launchpad.net/chris-lea/node.js/ubuntu xenial/main amd64 Packages
Ign:16 http://ppa.launchpad.net/chris-lea/node.js/ubuntu xenial/main i386 Packages
Ign:17 http://ppa.launchpad.net/chris-lea/node.js/ubuntu xenial/main all Packages
Ign:18 http://ppa.launchpad.net/chris-lea/node.js/ubuntu xenial/main Translation-en_US
Ign:19 http://ppa.launchpad.net/chris-lea/node.js/ubuntu xenial/main Translation-en
Ign:20 http://ppa.launchpad.net/chris-lea/node.js/ubuntu xenial/main amd64 DEP-11 Metadata
Ign:21 http://ppa.launchpad.net/chris-lea/node.js/ubuntu xenial/main DEP-11 64x64 Icons
Ign:15 http://ppa.launchpad.net/chris-lea/node.js/ubuntu xenial/main amd64 Packages
Ign:16 http://ppa.launchpad.net/chris-lea/node.js/ubuntu xenial/main i386 Packages
Ign:17 http://ppa.launchpad.net/chris-lea/node.js/ubuntu xenial/main all Packages
Ign:18 http://ppa.launchpad.net/chris-lea/node.js/ubuntu xenial/main Translation-en_US
Ign:19 http://ppa.launchpad.net/chris-lea/node.js/ubuntu xenial/main Translation-en
Ign:20 http://ppa.launchpad.net/chris-lea/node.js/ubuntu xenial/main amd64 DEP-11 Metadata
Ign:21 http://ppa.launchpad.net/chris-lea/node.js/ubuntu xenial/main DEP-11 64x64 Icons
Ign:15 http://ppa.launchpad.net/chris-lea/node.js/ubuntu xenial/main amd64 Packages
Ign:16 http://ppa.launchpad.net/chris-lea/node.js/ubuntu xenial/main i386 Packages
Ign:17 http://ppa.launchpad.net/chris-lea/node.js/ubuntu xenial/main all Packages
Ign:18 http://ppa.launchpad.net/chris-lea/node.js/ubuntu xenial/main Translation-en_US
Ign:19 http://ppa.launchpad.net/chris-lea/node.js/ubuntu xenial/main Translation-en
Ign:20 http://ppa.launchpad.net/chris-lea/node.js/ubuntu xenial/main amd64 DEP-11 Metadata
Ign:21 http://ppa.launchpad.net/chris-lea/node.js/ubuntu xenial/main DEP-11 64x64 Icons
Ign:15 http://ppa.launchpad.net/chris-lea/node.js/ubuntu xenial/main amd64 Packages
Ign:16 http://ppa.launchpad.net/chris-lea/node.js/ubuntu xenial/main i386 Packages
Ign:17 http://ppa.launchpad.net/chris-lea/node.js/ubuntu xenial/main all Packages
Ign:18 http://ppa.launchpad.net/chris-lea/node.js/ubuntu xenial/main Translation-en_US
Ign:19 http://ppa.launchpad.net/chris-lea/node.js/ubuntu xenial/main Translation-en
Ign:20 http://ppa.launchpad.net/chris-lea/node.js/ubuntu xenial/main amd64 DEP-11 Metadata
Ign:21 http://ppa.launchpad.net/chris-lea/node.js/ubuntu xenial/main DEP-11 64x64 Icons
Err:15 http://ppa.launchpad.net/chris-lea/node.js/ubuntu xenial/main amd64 Packages
404 Not Found
Ign:16 http://ppa.launchpad.net/chris-lea/node.js/ubuntu xenial/main i386 Packages
Ign:17 http://ppa.launchpad.net/chris-lea/node.js/ubuntu xenial/main all Packages
Ign:18 http://ppa.launchpad.net/chris-lea/node.js/ubuntu xenial/main Translation-en_US
Ign:19 http://ppa.launchpad.net/chris-lea/node.js/ubuntu xenial/main Translation-en
Ign:20 http://ppa.launchpad.net/chris-lea/node.js/ubuntu xenial/main amd64 DEP-11 Metadata
Ign:21 http://ppa.launchpad.net/chris-lea/node.js/ubuntu xenial/main DEP-11 64x64 Icons
Fetched 94.5 kB in 5s (16.9 kB/s)
Reading package lists... Done
W: The repository 'http://ppa.launchpad.net/chris-lea/node.js/ubuntu xenial 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/chris-lea/node.js/ubuntu/dists/xenial/main/binary-amd64/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
Error executing command, exiting
mohsen@mohsen-ThinkPad-Edge-E440:~$
Hey @mohsenkashi, it looks like it’s getting hung up on the now very redundant launchpad repo that these distributions replace. It doesn’t exist so it’s failing on a simple
apt-get update
right at the begining of the script.Try running these two commands to fully remove the old repo:
Then run the setup script again and cross your fingers. Let us know how you get on.
@zave, using one of the installers (like
https://deb.nodesource.com/setup_6.x
) you must not have PPA repository added (ppa:chris-lea/node.js
).