-
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
Your distribution, identified as "focal", is not currently supported #1044
Comments
I had Changing it to |
Scripts are set to support Ubuntu 20.04, @ceciliazcx please confirm this is still an issue. |
@igsu still happens |
I see a similar issue with
|
@mateuszbrycki @paulmillr check that you aren't (somehow) using a development version of Ubuntu. The script is looking specifically for the word "development" in the name of the OS release. You can check this yourself with the Successful (working) example:
|
@bryanlatten yeah it's not development, it's lts |
@ceciliazcx please note that the Node version that you are trying to install is deprecated:
Please try again with the currently supported versions: 10, 12, 13 and 14...
|
@igsu i'm trying v14 btw |
@paulmillr I am getting a similar result with v14:
Please provide more information about your environment or any custom network setup (some users experience this issue when they are behind a proxy #904 - see comment) |
yup, using socks proxy. apt-get still works though. |
@paulmillr check this comment. |
@igsu the issue is not "using proxies". It's useless error. If proxies aren't supported, nodesource should communicate this. |
Errors while trying to register the repo for 12.x ## Installing the NodeSource Node.js 12.x repo...
## Populating apt-get cache...
+ apt-get update
Hit:1 http://archive.ubuntu.com/ubuntu focal InRelease
Get:2 http://archive.ubuntu.com/ubuntu focal-updates InRelease [107 kB]
Get:3 http://archive.ubuntu.com/ubuntu focal-backports InRelease [98.3 kB]
Get:4 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [119 kB]
Get:5 http://security.ubuntu.com/ubuntu focal-security InRelease [107 kB]
Get:6 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [56.1 kB]
Fetched 487 kB in 16s (30.2 kB/s)
Reading package lists... Done
## Confirming "focal" is supported...
+ curl -sLf -o /dev/null 'https://deb.nodesource.com/node_12.x/dists/focal/Release'
## Adding the NodeSource signing key to your keyring...
+ curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -
gpg: can't connect to the agent: IPC connect call failed
Error executing command, exiting |
@paulmillr you can check our FAQ, that is the first question there: |
I removed
|
Facing same issue for installing nodejs 9.x on ubuntu 20.04
|
@igsu, I got Your distribution, identified as "focal", is not currently supported in my dockerfile. |
@raguri you can always use the manual installation steps: https://github.com/nodesource/distributions#manual-installation |
I was able to cleanly reproduce this today using Docker by doing: sudo docker run -it ubuntu:20.04 bash then pasting the following (note http instead of https): apt-get update \
&& apt-get install -qy --no-install-recommends curl \
&& curl -sL http://deb.nodesource.com/setup_14.x | bash - \
&& apt-get install -y nodejs The problem is that node's script does this: ## Installing packages required for setup: lsb-release gnupg...
+ apt-get install -y lsb-release gnupg > /dev/null 2>&1 and those two packages are not sufficient currently to install node. The right solution in my case was to install the I'm not sure this issue should be re-opened, but perhaps the above comment will be useful to somebody. |
cool! it worked for me! |
I have followed the same approach. It worked for me too. |
I am using
and when I try running the command
I am getting the error Confirming "focal" is supported...
Your distribution, identified as "focal", is not currently supported, please contact NodeSource at https://github.com/nodesource/distributions/issues if you think this is incorrect or would like your distribution to be considered for supportI think the issue with focal still exists. Any knows a permanent solution to this? |
It is actually a certificate issue. I made it working by ignoring the certificate checks. I know its not a good thing to do.
And below ones ignore cert check during apt update |
I got
Your distribution, identified as "focal", is not currently supported
in my dockerfile when deploy to Azure.The detail error is as following, could I know how to fix it?
The text was updated successfully, but these errors were encountered: