curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
sudo apt install -y nodejs
nodejs -v
nodejs -v
v10.0.0
That's it :-)
v10.0.0
That's it :-)
sudo apt-get update

sudo apt-get update | grep "Failed"
E: The repository 'http://ppa.launchpad.net/colingille/freshlight/ubuntu bionic Release' E: The repository 'http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu bionic Release'
-e 'http://ppa.launchpad.net/colingille/freshlight/ubuntu bionic'
/etc/apt/sources.list.d/colingille-ubuntu-freshlight-bionic.list:1:deb http://ppa.launchpad.net/colingille/freshlight/ubuntu bionic main /etc/apt/sources.list.d/colingille-ubuntu-freshlight-bionic.list:2:# deb-src http://ppa.launchpad.net/colingille/freshlight/ubuntu bionic main /etc/apt/sources.list.d/colingille-ubuntu-freshlight-bionic.list.save:1:deb http://ppa.launchpad.net/colingille/freshlight/ubuntu bionic main /etc/apt/sources.list.d/colingille-ubuntu-freshlight-bionic.list.save:2:# deb-src http://ppa.launchpad.net/colingille/freshlight/ubuntu bionic main
Comment or delete the PPA repository in the different listed files.