Skip to content
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

[ERROR] Node.js 16 on Ubuntu16.04 Installation fails #1773

Closed
peterwong-prenetics opened this issue Jan 31, 2024 · 1 comment
Closed

[ERROR] Node.js 16 on Ubuntu16.04 Installation fails #1773

peterwong-prenetics opened this issue Jan 31, 2024 · 1 comment
Assignees
Labels

Comments

@peterwong-prenetics
Copy link

Running the following installation on a clean Ubuntu 16.04 docker image fails

apt-get update
apt-get install -y curl
curl -sL https://deb.nodesource.com/setup_16.x |  bash -
apt-get install -y nodejs

Distribution Information:

  • OS: Ubuntu
  • Version xenial
  • Docker image ubuntu:16.04

Node Version:

  • Node: Node.js v16.x

To Reproduce
Steps to reproduce the behavior:

  1. Execute Ubuntu Docker Image ubuntu:16.04 (docker run -it --rm ubuntu:16.04 bash)
  2. Execute Installation instructions for Node.js v16.x:
apt-get update 
apt-get install -y curl
curl -sL https://deb.nodesource.com/setup_16.x |  bash -
apt-get install -y nodejs

Expected behavior

Node 16 installed

Screenshots

Error log

root@211a633cf5da:/# apt-get install -y nodejs
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  nodejs
0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.
Need to get 27.2 MB of archives.
After this operation, 128 MB of additional disk space will be used.
Err:1 https://deb.nodesource.com/node_16.x xenial/main amd64 nodejs amd64 16.19.1-deb-1nodesource1
  404  Not Found
E: Failed to fetch https://deb.nodesource.com/node_16.x/pool/main/n/nodejs/nodejs_16.19.1-deb-1nodesource1_amd64.deb  404  Not Found

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

Additional context

@peterwong-prenetics peterwong-prenetics changed the title [ERROR] Node.js 16 on Ubuntu16.04 Installation fail [ERROR] Node.js 16 on Ubuntu16.04 Installation fails Jan 31, 2024
@riosje riosje self-assigned this Mar 22, 2024
@riosje
Copy link
Contributor

riosje commented Mar 22, 2024

Hope this issue could be solved with this PR
#1789

@riosje riosje closed this as completed Mar 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants