Install Lubuntu 16.04 Whenever I run sudo apt-get update
,
I get the following error:
W: The repository «cdrom: // Lubuntu 16.04.2 LTS _Xenial Xerus_ - Release i386 (20170216) xenial Release» does not have a Publication file.
N: Data from a repository like this can not be authenticated and therefore its use is potentially dangerous.
N: See the apt-secure (8) man page for details on creating repositories and configuring users.
W: The repository «http://ppa.launchpad.net/chris-lea/node.js/ubuntu xenial Release» does not have a Publication file.
N: Data from a repository like this can not be authenticated and therefore its use is potentially dangerous.
N: See the apt-secure (8) man page for details on creating repositories and configuring users.
E: Failed to get cdrom: // Lubuntu 16.04.2 LTS _Xenial Xerus_ - Release i386 (20170216) / dists / xenial / main / binary-i386 / Packages Use «apt-cdrom» to make APT recognize this CD. You can not use «apt-get update» to add new CDs
E: Failed to obtain http://ppa.launchpad.net/chris-lea/node.js/ubuntu/dists/xenial/main/binary-i386/Packages 404 Not Found
E: Some index files could not be downloaded, have been omitted, or old ones used instead.
I have run apt-cdrom as it says, but nothing happens.
Any idea what I'm doing wrong?
I have tried to install Node.js and it also gave me error:
npm update check failed │
│ Try running with sudo or get access │
│ to the local update config store via │
│ sudo chown -R $ USER: $ (id -gn $ USER) /home/miguel/.config
Try cleaning the cache, but the command did not work with the command sudo npm cache clean -f I do not know what else I can do to correct errors. Thank you.
sudo vim /etc/apt/sources.list
to edit it, substitutingvim
with whatever [text] editor you prefer. (I suggest commenting out, as it's easy to undo this by editing the file again.. if for some reason you want it back...) – guiverc Jul 10 '18 at 10:10