Score:0

Error while installing node js and npm lts version (UBUNTU 20.04 LTS Desktop)

us flag

I am getting an error whenever I am running this command-

curl -fsSL https://deb.nodesource.com/setup_lts.x | sudo -E bash -

And here is the full error log:--

## Installing the NodeSource Node.js 16.x repo...


## Populating apt-get cache...

+ apt-get update
Ign:1 cdrom://Ubuntu 20.04.3 LTS _Focal Fossa_ - Release amd64 (20210819) focal InRelease
Err:2 cdrom://Ubuntu 20.04.3 LTS _Focal Fossa_ - Release amd64 (20210819) focal Release
  Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs

Err:16 http://download.opensuse.org/repositories/Ubuntu:/debbuild/Ubuntu_20.04  InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 08CF86BF009AAE2E
Reading package lists... Done                                                  
E: The repository 'cdrom://Ubuntu 20.04.3 LTS _Focal Fossa_ - Release amd64 (20210819) focal Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://download.opensuse.org/repositories/Ubuntu:/debbuild/Ubuntu_20.04  InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 08CF86BF009AAE2E
E: The repository 'http://download.opensuse.org/repositories/Ubuntu:/debbuild/Ubuntu_20.04  InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
Error executing command, exiting

How can i solve this issue? Its urgent, please someone help me out as I am a noob to ubuntu.

David avatar
cn flag
Any and all questions should include the version of Ubuntu and whether it is desktop or server.
us flag
The current version of ubuntu is 20.04 LTS desktop
N0rbert avatar
zw flag
Does this answer your question? [Problem with sudo apt get update: The repository cdrom... does not have a Release file](https://askubuntu.com/questions/776721/problem-with-sudo-apt-get-update-the-repository-cdrom-does-not-have-a-releas) Also run `sudo apt-key adv --keyserver keyserver.ubuntu.com --recv 08CF86BF009AAE2E` .
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.