Giter Club home page Giter Club logo

Comments (8)

jogoossens avatar jogoossens commented on May 24, 2024

It's also conflicting install atm since the debian one get's preferred if you specify version, not sure if some workaround would exist for now

from distributions.

nudgegoonies avatar nudgegoonies commented on May 24, 2024

We pinned the nodesource repo higher than the debian repo because debian ships a lower version of npm and await the new nodesource version.

from distributions.

riosje avatar riosje commented on May 24, 2024

Hello everyone, is this happening using our installation scripts?
In the installation script we're pinning the repo, so this should not be happening, please let me know what steps you're following to install nodejs.

https://github.com/nodesource/distributions/blob/master/scripts/deb/setup_18.x#L79

from distributions.

jogoossens avatar jogoossens commented on May 24, 2024

Yes, we tried the pinning, and it works if you don't specify any version.

However it persist on installing the Debian one when we install nodejs like this:

apt-get install nodejs=18.*

We do this, since we also want to support downgrade if needed (we then replace major version in script)

from distributions.

nudgegoonies avatar nudgegoonies commented on May 24, 2024

I think i found it. We have not used a script but the documentation from deb.nodesource.org in the past.
The public key and the distribution changed. We must have missed an announcement regarding that.
We still use:

deb.nodesource.com/node_18.x bookworm main

But this changed to:

deb.nodesource.com/node_18.x nodistro main

Can someone please point me to the announcement about this change? Then i subscribe to the corresponding channel.

A suggestion. Remove bookworm, bullseye, etc. Then the apt-get fails and every one knows that something has changed. I assume that many others miss the announcement too and i also assume that many don't recognize, that they are running an outdated version.

from distributions.

nudgegoonies avatar nudgegoonies commented on May 24, 2024

Another hint! Bigger companies always use mirrors or caches. Especially when using a cache like 'cache.company.com/deb.nodesource.com' you should not pin origin but release like 'Pin: release n=nodistro'.

from distributions.

nudgegoonies avatar nudgegoonies commented on May 24, 2024

The metadata of the debian repo in general looks strange when comparing to the official repository for example:
deb.nodesource.com:

Origin: . nodistro
Label: . nodistro
Suite: nodistro
Codename: nodistro

Debian:

Origin: Debian
Label: Debian-Security
Suite: stable-security
Version: 12
Codename: bookworm-security

from distributions.

JesusPaz avatar JesusPaz commented on May 24, 2024

We had a problem and these versions were missing, but now they are in the repo. Sorry for the confusion.
To install node.js v18:

curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash - &&\
sudo apt-get install -y nodejs

from distributions.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.