-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Install fails due to GPG key not found #785
Comments
That's already noted in both the manual installation instructions and the setup script. Hope this helps. |
I'm still getting the above problem:
How to fix the problem? thx PS. The machine is WSL within Win10 accessing Internet behind corp man-in-the-middle (MitM) firewall. |
I have the same issue: started with a fresh Debian 11.0 image, ran the nodesource_setup.sh script and got exactly the error reported in the previous comment by @suntong... I verified that the key was properly installed by the script:
And the APT setup seems fine as well:
I suggest a reopen. WORKAROUND: edit nodesource.list above and add
|
also having same problem, verified key exists like geonanorch going to try his workaround |
The correct (not insecure) solution has been posted in another issue: #1181 (comment) chmod +r "/usr/share/keyrings/nodesource.gpg" (I had the same problem on Debian 11. This issue (#785) is the first result on Google for that error.) |
This was the solution for me as well, but +r did not work. I had to use |
something is missing in that command, probably |
Confirmed. Should be |
I was facing this issue when I cancelled the installation process in progress. |
Added 'chmod' step for downloaded keyring file in #debmanual section. Without this, apt(-get) will complain: see issue nodesource#785 .
Please add the |
You can also add the key from ubuntu... sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 1655A0AB68576280 |
@
good job, it worked!! |
Hi, I have a similar issue. I can add the repository but I cannot use it. I got installed nodejs always.
No error. And the file nodesource.list is in the sources.list.d folder. I get following result
So it looks like it doesn't read the nodesource.list repository!!, is the source disabled? how to enable? |
the necessary line has already been added to the documentation #1494 |
On running sudo apt-get update, the following occurs:
Reading package lists... Done
This can be fixed with:
This could be integrated in the manual instructions & the one-line setup script.
The text was updated successfully, but these errors were encountered: