distributions icon indicating copy to clipboard operation
distributions copied to clipboard

Ubuntu Budgie 22.04 LTS (Jammy Jellyfish)

Open joshxyzhimself opened this issue 4 years ago • 35 comments

Your distribution, identified as "Ubuntu Jammy Jellyfish (development branch)", is a pre-release version of Ubuntu. NodeSource does not maintain official support for Ubuntu versions until they are formally released. You can try using the manual installation instructions available at https://github.com/nodesource/distributions and use the latest supported Ubuntu version name as the distribution identifier, although this is not guaranteed to work.

joshxyzhimself avatar Mar 27 '22 06:03 joshxyzhimself

Any updates on this? Ubuntu 22.04 is schedule to be released in 2 days (April 21, 2022).

gaby avatar Apr 20 '22 03:04 gaby

Ubuntu 22.04 has released

ZCShou avatar Apr 21 '22 10:04 ZCShou

Changes to support Ubuntu 22.04 are already on our server. It is necessary to wait for a new Node.js version for the changes to be applied.

JesusPaz avatar Apr 21 '22 20:04 JesusPaz

How long do you think it will be before there is an update?

MitchTalmadge avatar Apr 21 '22 20:04 MitchTalmadge

How long do you think it will be before there is an update?

You can make a guess from this: https://github.com/nodejs/node/releases Probably a week or two. They just did a major release two days ago.

mwt avatar Apr 21 '22 21:04 mwt

I agree with @mwt.

There is also the option to install the packages manually by following our README.

JesusPaz avatar Apr 21 '22 21:04 JesusPaz

There is also the option to install the packages manually by following our README.

It's a single package repo. So you could also just install the appropriate file from this folder (probably this one). By the time you can update, the script will be working.

mwt avatar Apr 21 '22 22:04 mwt

There is also the option to install the packages manually by following our README.

Is the above suggestion expected to work?

Following the above instructions leads to this error message FYI:

$ sudo apt-get update
Get:1 http://us.archive.ubuntu.com/ubuntu jammy InRelease [270 kB]
Hit:2 http://us.archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:3 http://us.archive.ubuntu.com/ubuntu jammy-backports InRelease
Ign:4 https://deb.nodesource.com/node_18.x jammy InRelease
Err:5 https://deb.nodesource.com/node_18.x jammy Release
  404  Not Found [IP: 23.44.133.12 443]
Hit:6 http://security.ubuntu.com/ubuntu jammy-security InRelease
Reading package lists... Done
E: The repository 'https://deb.nodesource.com/node_18.x jammy 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.

(FYI 23.44.133.12 is pingable, which is just to confirm that this is not a network/connectivity issue.)

holta avatar Apr 22 '22 02:04 holta

No, you'd have to set it to one of the supported dists like focal instead of jammy.

mwt avatar Apr 22 '22 02:04 mwt

It's a single package repo. So you could also just install the appropriate file from this folder (probably this one). By the time you can update, the script will be working.

Thanks — that seems to work:

$ sudo apt install ./nodejs_18.0.0-deb-1nodesource1_amd64.deb
...
N: Download is performed unsandboxed as root as file '/root/nodejs_18.0.0-deb-1nodesource1_amd64.deb' couldn't be 
accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)

The above warning would appear to be harmless. As indicated by:

$ apt list nodejs
Listing... Done
nodejs/now 18.0.0-deb-1nodesource1 amd64 [installed,local]

$ node -v
v18.0.0

$ npm -v
8.6.0

$ cat /etc/issue.net
Ubuntu 22.04 LTS

holta avatar Apr 22 '22 02:04 holta

I agree with @mwt.

There is also the option to install the packages manually by following our README.

I tried this manual installation - with out any luck. My /etc/apt/sources.list.d looks like this:

cat /etc/apt/sources.list.d/nodesource.list 
deb [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x focal main
deb-src [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x focal main

But I still get this error when doing an update:

Ign:1 https://deb.nodesource.com/node_18.x focal InRelease
Err:2 https://deb.nodesource.com/node_18.x focal Release                                                                                                                                                     
  Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown.  Could not handshake: Error in the certificate verification. [IP: 5.186.13.19 443]

I'm on WSL v1 on a windows 10 and suspecting this might be a root cause. A lsb_release -a gives me this:

No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.4 LTS
Release:        20.04
Codename:       focal

I need to update my node.js which is version v10.19.0

LadyCharlotte avatar Apr 22 '22 09:04 LadyCharlotte

@LadyCharlotte do you appy point 2 of "readme"

KEYRING=/usr/share/keyrings/nodesource.gpg curl -fsSL https://deb.nodesource.com/gpgkey/nodesource.gpg.key | gpg --dearmor | sudo tee "$KEYRING" >/dev/null

wget can also be used:

wget --quiet -O - https://deb.nodesource.com/gpgkey/nodesource.gpg.key | gpg --dearmor | sudo tee "$KEYRING" >/dev/null

gpg --no-default-keyring --keyring "$KEYRING" --list-keys

akpatternica avatar Apr 22 '22 09:04 akpatternica

@akpatternica

from my bash history:

  550  curl -fsSLk https://deb.nodesource.com/gpgkey/nodesource.gpg.key | gpg --dearmor | sudo tee "$KEYRING" >/dev/null
  551  gpg --no-default-keyring --keyring "$KEYRING" --list-keys
  552  VERSION=node_18.x
  553  KEYRING=/usr/share/keyrings/nodesource.gpg
  554  DISTRO="$(lsb_release -s -c)"
  555  echo "deb [signed-by=$KEYRING] https://deb.nodesource.com/$VERSION $DISTRO main" | sudo tee /etc/apt/sources.list.d/nodesource.list
  556  echo "deb-src [signed-by=$KEYRING] https://deb.nodesource.com/$VERSION $DISTRO main" | sudo tee -a /etc/apt/sources.list.d/nodesource.list
  557  sudo apt-get update

As you might notice above, I always need to add the -k to curl to suppress the certificate-issue. I still need to figure out why and how to fix it.

By now, I downloaded the deb-package as suggested by @mwt above, and this seemed to work:

node --version
v18.0.0

But, I would still like to understand my certificate-issue. I constantly get this, also when updating other packages in /etc/apt/sources.list.d/

LadyCharlotte avatar Apr 22 '22 09:04 LadyCharlotte

I'm running into this issue too, please take a look!!

## Your distribution, identified as "jammy", 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 support

seojustin avatar Apr 22 '22 23:04 seojustin

I ran into the same issue, I installed it through nvm

sudo apt install curl

curl https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash

source ~/.bashrc

nvm install 16.14.2

praveen-gm avatar Apr 23 '22 05:04 praveen-gm

It's a single package repo. So you could also just install the appropriate file from this folder (probably this one). By the time you can update, the script will be working.

Thanks — that seems to work:

$ sudo apt install ./nodejs_18.0.0-deb-1nodesource1_amd64.deb
...
N: Download is performed unsandboxed as root as file '/root/nodejs_18.0.0-deb-1nodesource1_amd64.deb' couldn't be 
accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)

The above warning would appear to be harmless. As indicated by:

$ apt list nodejs
Listing... Done
nodejs/now 18.0.0-deb-1nodesource1 amd64 [installed,local]

$ node -v
v18.0.0

$ npm -v
8.6.0

$ cat /etc/issue.net
Ubuntu 22.04 LTS

thanks, this seems to work.

jules-n-tabuno avatar Apr 23 '22 13:04 jules-n-tabuno

Changes to support Ubuntu 22.04 are already on our server. It is necessary to wait for a new Node.js version for the changes to be applied.

That might be but that still does not help thousands of devs stuck on a major OS release without nodejs.

oliverw avatar Apr 26 '22 11:04 oliverw

That might be but that still does not help thousands of devs stuck on a major OS release without nodejs.

I would hope that there isn't thousands of devs who upgrade to new distro version not even a week since its release without first checking that their work environment won't be affected by it...

Jackenmen avatar Apr 26 '22 13:04 Jackenmen

That might be but that still does not help thousands of devs stuck on a major OS release without nodejs.

I would hope that there isn't thousands of devs who upgrade to new distro version not even a week since its release without first checking that their work environment won't be affected by it...

Was a fresh install of WSL2 on a fresh install of W11. No upgrade.

oliverw avatar Apr 26 '22 13:04 oliverw

Changes to support Ubuntu 22.04 are already on our server. It is necessary to wait for a new Node.js version for the changes to be applied.

Yesterday NodeJS 16.15.0 got released, is it correct that I'm still getting this error when running apt update?

E: The repository 'https://deb.nodesource.com/node_16.x jammy Release' does not have a Release file.

adriaanzon avatar Apr 27 '22 09:04 adriaanzon