How do I update Nodejs from 8.12.0 to 10.13 on Ubuntu 16.04?











up vote
0
down vote

favorite












I run these commands



curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
sudo apt-get install -y nodejs


I end up with this error:



 # Installing the NodeSource Node.js 10.x repo...
## Populating apt-get cache...
enter code here` + apt-get update
Hit:1 https://deb.nodesource.com/node_8.x xenial InRelease
Hit:2 https://download.sublimetext.com apt/stable/ InRelease
Hit:3 http://archive.canonical.com/ubuntu xenial InRelease
Ign:4 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial InRelease
Hit:5 http://in.archive.ubuntu.com/ubuntu xenial InRelease
Hit:6 http://security.ubuntu.com/ubuntu xenial-security InRelease
Hit:7 http://in.archive.ubuntu.com/ubuntu xenial-updates InRelease
Hit:8 http://ppa.launchpad.net/webupd8team/java/ubuntu xenial InRelease
Hit:9 http://in.archive.ubuntu.com/ubuntu xenial-backports InRelease
Hit:10 http://in.archive.ubuntu.com/ubuntu xenial-proposed InRelease
Hit:11 http://ppa.launchpad.net/webupd8team/sublime-text-3/ubuntu xenial InRelease
Ign:12 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial Release
Ign:13 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main amd64 Packages
Ign:14 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main i386 Packages
Ign:15 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main all Packages
Ign:16 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main Translation-en_IN
Ign:17 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main Translation-en
Ign:18 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main amd64 DEP-11 Metadata
Ign:19 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main DEP-11 64x64 Icons
Ign:13 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main amd64 Packages
Ign:14 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main i386 Packages
Ign:15 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main all Packages
Ign:16 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main Translation-en_IN
Ign:17 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main Translation-en
Ign:20 http://dl.google.com/linux/chrome/deb stable InRelease
Ign:18 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main amd64 DEP-11 Metadata
Get:21 http://apt.postgresql.org/pub/repos/apt xenial-pgdg InRelease [51.3 kB]
Ign:19 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main DEP-11 64x64 Icons
Ign:13 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main amd64 Packages
Hit:22 http://dl.google.com/linux/chrome/deb stable Release
Ign:14 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main i386 Packages
Ign:15 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main all Packages
Get:24 http://apt.postgresql.org/pub/repos/apt xenial-pgdg/main amd64 Packages [109 kB]
Ign:16 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main Translation-en_IN
Ign:17 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main Translation-en
Ign:18 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main amd64 DEP-11 Metadata
Ign:19 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main DEP-11 64x64 Icons
Get:25 http://apt.postgresql.org/pub/repos/apt xenial-pgdg/main i386 Packages [109 kB]
Ign:13 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main amd64 Packages
Ign:14 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main i386 Packages
Ign:15 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main all Packages
Ign:16 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main Translation-en_IN
Ign:17 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main Translation-en
Ign:18 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main amd64 DEP-11 Metadata
Ign:19 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main DEP-11 64x64 Icons
Ign:13 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main amd64 Packages
Ign:14 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main i386 Packages
Ign:15 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main all Packages
Ign:16 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main Translation-en_IN
Ign:17 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main Translation-en
Ign:18 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main amd64 DEP-11 Metadata
Ign:19 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main DEP-11 64x64 Icons
Err:13 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main amd64 Packages
404 Not Found
Ign:14 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main i386 Packages
Ign:15 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main all Packages
Ign:16 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main Translation-en_IN
Ign:17 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main Translation-en
Ign:18 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main amd64 DEP-11 Metadata
Ign:19 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main DEP-11 64x64 Icons
Fetched 269 kB in 34s (7,908 B/s)
Reading package lists... Done
W: Target Packages (partner/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target Packages (partner/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target Packages (partner/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target Translations (partner/i18n/Translation-en_IN) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target Translations (partner/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target DEP-11 (partner/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target DEP-11-icons (partner/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/xenial-partner.list:4
W: The repository 'http://ppa.launchpad.net/gwibber-daily/ppa/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/gwibber-daily/ppa/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.
W: Target Packages (partner/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target Packages (partner/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target Packages (partner/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target Translations (partner/i18n/Translation-en_IN) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target Translations (partner/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target DEP-11 (partner/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target DEP-11-icons (partner/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/xenial-partner.list:4
Error executing command, exiting


How can I fix the problem?










share|improve this question
























  • You have a lot of duplicate entries, but the only error you have here is that the Gwibber Daily PPA doesn't publish Xenial packages.
    – Thomas Ward
    Nov 21 at 16:23










  • how can i solve this problem @ThomasWard
    – amarjeet singh
    Nov 21 at 16:24















up vote
0
down vote

favorite












I run these commands



curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
sudo apt-get install -y nodejs


I end up with this error:



 # Installing the NodeSource Node.js 10.x repo...
## Populating apt-get cache...
enter code here` + apt-get update
Hit:1 https://deb.nodesource.com/node_8.x xenial InRelease
Hit:2 https://download.sublimetext.com apt/stable/ InRelease
Hit:3 http://archive.canonical.com/ubuntu xenial InRelease
Ign:4 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial InRelease
Hit:5 http://in.archive.ubuntu.com/ubuntu xenial InRelease
Hit:6 http://security.ubuntu.com/ubuntu xenial-security InRelease
Hit:7 http://in.archive.ubuntu.com/ubuntu xenial-updates InRelease
Hit:8 http://ppa.launchpad.net/webupd8team/java/ubuntu xenial InRelease
Hit:9 http://in.archive.ubuntu.com/ubuntu xenial-backports InRelease
Hit:10 http://in.archive.ubuntu.com/ubuntu xenial-proposed InRelease
Hit:11 http://ppa.launchpad.net/webupd8team/sublime-text-3/ubuntu xenial InRelease
Ign:12 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial Release
Ign:13 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main amd64 Packages
Ign:14 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main i386 Packages
Ign:15 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main all Packages
Ign:16 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main Translation-en_IN
Ign:17 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main Translation-en
Ign:18 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main amd64 DEP-11 Metadata
Ign:19 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main DEP-11 64x64 Icons
Ign:13 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main amd64 Packages
Ign:14 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main i386 Packages
Ign:15 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main all Packages
Ign:16 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main Translation-en_IN
Ign:17 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main Translation-en
Ign:20 http://dl.google.com/linux/chrome/deb stable InRelease
Ign:18 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main amd64 DEP-11 Metadata
Get:21 http://apt.postgresql.org/pub/repos/apt xenial-pgdg InRelease [51.3 kB]
Ign:19 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main DEP-11 64x64 Icons
Ign:13 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main amd64 Packages
Hit:22 http://dl.google.com/linux/chrome/deb stable Release
Ign:14 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main i386 Packages
Ign:15 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main all Packages
Get:24 http://apt.postgresql.org/pub/repos/apt xenial-pgdg/main amd64 Packages [109 kB]
Ign:16 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main Translation-en_IN
Ign:17 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main Translation-en
Ign:18 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main amd64 DEP-11 Metadata
Ign:19 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main DEP-11 64x64 Icons
Get:25 http://apt.postgresql.org/pub/repos/apt xenial-pgdg/main i386 Packages [109 kB]
Ign:13 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main amd64 Packages
Ign:14 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main i386 Packages
Ign:15 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main all Packages
Ign:16 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main Translation-en_IN
Ign:17 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main Translation-en
Ign:18 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main amd64 DEP-11 Metadata
Ign:19 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main DEP-11 64x64 Icons
Ign:13 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main amd64 Packages
Ign:14 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main i386 Packages
Ign:15 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main all Packages
Ign:16 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main Translation-en_IN
Ign:17 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main Translation-en
Ign:18 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main amd64 DEP-11 Metadata
Ign:19 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main DEP-11 64x64 Icons
Err:13 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main amd64 Packages
404 Not Found
Ign:14 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main i386 Packages
Ign:15 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main all Packages
Ign:16 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main Translation-en_IN
Ign:17 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main Translation-en
Ign:18 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main amd64 DEP-11 Metadata
Ign:19 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main DEP-11 64x64 Icons
Fetched 269 kB in 34s (7,908 B/s)
Reading package lists... Done
W: Target Packages (partner/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target Packages (partner/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target Packages (partner/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target Translations (partner/i18n/Translation-en_IN) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target Translations (partner/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target DEP-11 (partner/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target DEP-11-icons (partner/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/xenial-partner.list:4
W: The repository 'http://ppa.launchpad.net/gwibber-daily/ppa/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/gwibber-daily/ppa/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.
W: Target Packages (partner/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target Packages (partner/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target Packages (partner/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target Translations (partner/i18n/Translation-en_IN) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target Translations (partner/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target DEP-11 (partner/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target DEP-11-icons (partner/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/xenial-partner.list:4
Error executing command, exiting


How can I fix the problem?










share|improve this question
























  • You have a lot of duplicate entries, but the only error you have here is that the Gwibber Daily PPA doesn't publish Xenial packages.
    – Thomas Ward
    Nov 21 at 16:23










  • how can i solve this problem @ThomasWard
    – amarjeet singh
    Nov 21 at 16:24













up vote
0
down vote

favorite









up vote
0
down vote

favorite











I run these commands



curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
sudo apt-get install -y nodejs


I end up with this error:



 # Installing the NodeSource Node.js 10.x repo...
## Populating apt-get cache...
enter code here` + apt-get update
Hit:1 https://deb.nodesource.com/node_8.x xenial InRelease
Hit:2 https://download.sublimetext.com apt/stable/ InRelease
Hit:3 http://archive.canonical.com/ubuntu xenial InRelease
Ign:4 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial InRelease
Hit:5 http://in.archive.ubuntu.com/ubuntu xenial InRelease
Hit:6 http://security.ubuntu.com/ubuntu xenial-security InRelease
Hit:7 http://in.archive.ubuntu.com/ubuntu xenial-updates InRelease
Hit:8 http://ppa.launchpad.net/webupd8team/java/ubuntu xenial InRelease
Hit:9 http://in.archive.ubuntu.com/ubuntu xenial-backports InRelease
Hit:10 http://in.archive.ubuntu.com/ubuntu xenial-proposed InRelease
Hit:11 http://ppa.launchpad.net/webupd8team/sublime-text-3/ubuntu xenial InRelease
Ign:12 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial Release
Ign:13 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main amd64 Packages
Ign:14 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main i386 Packages
Ign:15 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main all Packages
Ign:16 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main Translation-en_IN
Ign:17 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main Translation-en
Ign:18 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main amd64 DEP-11 Metadata
Ign:19 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main DEP-11 64x64 Icons
Ign:13 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main amd64 Packages
Ign:14 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main i386 Packages
Ign:15 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main all Packages
Ign:16 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main Translation-en_IN
Ign:17 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main Translation-en
Ign:20 http://dl.google.com/linux/chrome/deb stable InRelease
Ign:18 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main amd64 DEP-11 Metadata
Get:21 http://apt.postgresql.org/pub/repos/apt xenial-pgdg InRelease [51.3 kB]
Ign:19 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main DEP-11 64x64 Icons
Ign:13 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main amd64 Packages
Hit:22 http://dl.google.com/linux/chrome/deb stable Release
Ign:14 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main i386 Packages
Ign:15 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main all Packages
Get:24 http://apt.postgresql.org/pub/repos/apt xenial-pgdg/main amd64 Packages [109 kB]
Ign:16 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main Translation-en_IN
Ign:17 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main Translation-en
Ign:18 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main amd64 DEP-11 Metadata
Ign:19 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main DEP-11 64x64 Icons
Get:25 http://apt.postgresql.org/pub/repos/apt xenial-pgdg/main i386 Packages [109 kB]
Ign:13 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main amd64 Packages
Ign:14 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main i386 Packages
Ign:15 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main all Packages
Ign:16 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main Translation-en_IN
Ign:17 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main Translation-en
Ign:18 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main amd64 DEP-11 Metadata
Ign:19 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main DEP-11 64x64 Icons
Ign:13 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main amd64 Packages
Ign:14 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main i386 Packages
Ign:15 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main all Packages
Ign:16 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main Translation-en_IN
Ign:17 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main Translation-en
Ign:18 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main amd64 DEP-11 Metadata
Ign:19 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main DEP-11 64x64 Icons
Err:13 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main amd64 Packages
404 Not Found
Ign:14 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main i386 Packages
Ign:15 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main all Packages
Ign:16 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main Translation-en_IN
Ign:17 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main Translation-en
Ign:18 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main amd64 DEP-11 Metadata
Ign:19 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main DEP-11 64x64 Icons
Fetched 269 kB in 34s (7,908 B/s)
Reading package lists... Done
W: Target Packages (partner/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target Packages (partner/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target Packages (partner/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target Translations (partner/i18n/Translation-en_IN) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target Translations (partner/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target DEP-11 (partner/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target DEP-11-icons (partner/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/xenial-partner.list:4
W: The repository 'http://ppa.launchpad.net/gwibber-daily/ppa/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/gwibber-daily/ppa/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.
W: Target Packages (partner/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target Packages (partner/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target Packages (partner/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target Translations (partner/i18n/Translation-en_IN) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target Translations (partner/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target DEP-11 (partner/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target DEP-11-icons (partner/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/xenial-partner.list:4
Error executing command, exiting


How can I fix the problem?










share|improve this question















I run these commands



curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
sudo apt-get install -y nodejs


I end up with this error:



 # Installing the NodeSource Node.js 10.x repo...
## Populating apt-get cache...
enter code here` + apt-get update
Hit:1 https://deb.nodesource.com/node_8.x xenial InRelease
Hit:2 https://download.sublimetext.com apt/stable/ InRelease
Hit:3 http://archive.canonical.com/ubuntu xenial InRelease
Ign:4 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial InRelease
Hit:5 http://in.archive.ubuntu.com/ubuntu xenial InRelease
Hit:6 http://security.ubuntu.com/ubuntu xenial-security InRelease
Hit:7 http://in.archive.ubuntu.com/ubuntu xenial-updates InRelease
Hit:8 http://ppa.launchpad.net/webupd8team/java/ubuntu xenial InRelease
Hit:9 http://in.archive.ubuntu.com/ubuntu xenial-backports InRelease
Hit:10 http://in.archive.ubuntu.com/ubuntu xenial-proposed InRelease
Hit:11 http://ppa.launchpad.net/webupd8team/sublime-text-3/ubuntu xenial InRelease
Ign:12 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial Release
Ign:13 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main amd64 Packages
Ign:14 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main i386 Packages
Ign:15 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main all Packages
Ign:16 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main Translation-en_IN
Ign:17 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main Translation-en
Ign:18 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main amd64 DEP-11 Metadata
Ign:19 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main DEP-11 64x64 Icons
Ign:13 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main amd64 Packages
Ign:14 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main i386 Packages
Ign:15 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main all Packages
Ign:16 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main Translation-en_IN
Ign:17 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main Translation-en
Ign:20 http://dl.google.com/linux/chrome/deb stable InRelease
Ign:18 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main amd64 DEP-11 Metadata
Get:21 http://apt.postgresql.org/pub/repos/apt xenial-pgdg InRelease [51.3 kB]
Ign:19 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main DEP-11 64x64 Icons
Ign:13 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main amd64 Packages
Hit:22 http://dl.google.com/linux/chrome/deb stable Release
Ign:14 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main i386 Packages
Ign:15 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main all Packages
Get:24 http://apt.postgresql.org/pub/repos/apt xenial-pgdg/main amd64 Packages [109 kB]
Ign:16 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main Translation-en_IN
Ign:17 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main Translation-en
Ign:18 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main amd64 DEP-11 Metadata
Ign:19 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main DEP-11 64x64 Icons
Get:25 http://apt.postgresql.org/pub/repos/apt xenial-pgdg/main i386 Packages [109 kB]
Ign:13 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main amd64 Packages
Ign:14 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main i386 Packages
Ign:15 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main all Packages
Ign:16 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main Translation-en_IN
Ign:17 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main Translation-en
Ign:18 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main amd64 DEP-11 Metadata
Ign:19 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main DEP-11 64x64 Icons
Ign:13 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main amd64 Packages
Ign:14 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main i386 Packages
Ign:15 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main all Packages
Ign:16 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main Translation-en_IN
Ign:17 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main Translation-en
Ign:18 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main amd64 DEP-11 Metadata
Ign:19 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main DEP-11 64x64 Icons
Err:13 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main amd64 Packages
404 Not Found
Ign:14 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main i386 Packages
Ign:15 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main all Packages
Ign:16 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main Translation-en_IN
Ign:17 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main Translation-en
Ign:18 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main amd64 DEP-11 Metadata
Ign:19 http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu xenial/main DEP-11 64x64 Icons
Fetched 269 kB in 34s (7,908 B/s)
Reading package lists... Done
W: Target Packages (partner/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target Packages (partner/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target Packages (partner/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target Translations (partner/i18n/Translation-en_IN) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target Translations (partner/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target DEP-11 (partner/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target DEP-11-icons (partner/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/xenial-partner.list:4
W: The repository 'http://ppa.launchpad.net/gwibber-daily/ppa/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/gwibber-daily/ppa/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.
W: Target Packages (partner/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target Packages (partner/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target Packages (partner/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target Translations (partner/i18n/Translation-en_IN) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target Translations (partner/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target DEP-11 (partner/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target DEP-11-icons (partner/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/xenial-partner.list:4
Error executing command, exiting


How can I fix the problem?







16.04 package-management nodejs






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 23 at 16:33









Zanna

49.1k13123234




49.1k13123234










asked Nov 21 at 16:21









amarjeet singh

31




31












  • You have a lot of duplicate entries, but the only error you have here is that the Gwibber Daily PPA doesn't publish Xenial packages.
    – Thomas Ward
    Nov 21 at 16:23










  • how can i solve this problem @ThomasWard
    – amarjeet singh
    Nov 21 at 16:24


















  • You have a lot of duplicate entries, but the only error you have here is that the Gwibber Daily PPA doesn't publish Xenial packages.
    – Thomas Ward
    Nov 21 at 16:23










  • how can i solve this problem @ThomasWard
    – amarjeet singh
    Nov 21 at 16:24
















You have a lot of duplicate entries, but the only error you have here is that the Gwibber Daily PPA doesn't publish Xenial packages.
– Thomas Ward
Nov 21 at 16:23




You have a lot of duplicate entries, but the only error you have here is that the Gwibber Daily PPA doesn't publish Xenial packages.
– Thomas Ward
Nov 21 at 16:23












how can i solve this problem @ThomasWard
– amarjeet singh
Nov 21 at 16:24




how can i solve this problem @ThomasWard
– amarjeet singh
Nov 21 at 16:24










1 Answer
1






active

oldest

votes

















up vote
0
down vote



accepted










Please use Node Version Manager:
https://github.com/creationix/nvm



then, it's as simple as running nvm install --lts or nvm install 10.13






share|improve this answer





















  • nvm: command not found! @janmyszkier
    – amarjeet singh
    Nov 21 at 16:28










  • this is not ubuntu package, please follow github.com/creationix/nvm#install-script and it will work
    – janmyszkier
    Nov 21 at 16:32










  • thanks @janmyszkier
    – amarjeet singh
    Nov 21 at 16:45











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1094869%2fhow-do-i-update-nodejs-from-8-12-0-to-10-13-on-ubuntu-16-04%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
0
down vote



accepted










Please use Node Version Manager:
https://github.com/creationix/nvm



then, it's as simple as running nvm install --lts or nvm install 10.13






share|improve this answer





















  • nvm: command not found! @janmyszkier
    – amarjeet singh
    Nov 21 at 16:28










  • this is not ubuntu package, please follow github.com/creationix/nvm#install-script and it will work
    – janmyszkier
    Nov 21 at 16:32










  • thanks @janmyszkier
    – amarjeet singh
    Nov 21 at 16:45















up vote
0
down vote



accepted










Please use Node Version Manager:
https://github.com/creationix/nvm



then, it's as simple as running nvm install --lts or nvm install 10.13






share|improve this answer





















  • nvm: command not found! @janmyszkier
    – amarjeet singh
    Nov 21 at 16:28










  • this is not ubuntu package, please follow github.com/creationix/nvm#install-script and it will work
    – janmyszkier
    Nov 21 at 16:32










  • thanks @janmyszkier
    – amarjeet singh
    Nov 21 at 16:45













up vote
0
down vote



accepted







up vote
0
down vote



accepted






Please use Node Version Manager:
https://github.com/creationix/nvm



then, it's as simple as running nvm install --lts or nvm install 10.13






share|improve this answer












Please use Node Version Manager:
https://github.com/creationix/nvm



then, it's as simple as running nvm install --lts or nvm install 10.13







share|improve this answer












share|improve this answer



share|improve this answer










answered Nov 21 at 16:24









janmyszkier

50827




50827












  • nvm: command not found! @janmyszkier
    – amarjeet singh
    Nov 21 at 16:28










  • this is not ubuntu package, please follow github.com/creationix/nvm#install-script and it will work
    – janmyszkier
    Nov 21 at 16:32










  • thanks @janmyszkier
    – amarjeet singh
    Nov 21 at 16:45


















  • nvm: command not found! @janmyszkier
    – amarjeet singh
    Nov 21 at 16:28










  • this is not ubuntu package, please follow github.com/creationix/nvm#install-script and it will work
    – janmyszkier
    Nov 21 at 16:32










  • thanks @janmyszkier
    – amarjeet singh
    Nov 21 at 16:45
















nvm: command not found! @janmyszkier
– amarjeet singh
Nov 21 at 16:28




nvm: command not found! @janmyszkier
– amarjeet singh
Nov 21 at 16:28












this is not ubuntu package, please follow github.com/creationix/nvm#install-script and it will work
– janmyszkier
Nov 21 at 16:32




this is not ubuntu package, please follow github.com/creationix/nvm#install-script and it will work
– janmyszkier
Nov 21 at 16:32












thanks @janmyszkier
– amarjeet singh
Nov 21 at 16:45




thanks @janmyszkier
– amarjeet singh
Nov 21 at 16:45


















draft saved

draft discarded




















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1094869%2fhow-do-i-update-nodejs-from-8-12-0-to-10-13-on-ubuntu-16-04%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

How to change which sound is reproduced for terminal bell?

Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents

Can I use Tabulator js library in my java Spring + Thymeleaf project?