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 9 on Centos/RHEL/EL8 Installation fail #1778

Open
GElkayam opened this issue Feb 25, 2024 · 1 comment
Open

[ERROR] Node.js 9 on Centos/RHEL/EL8 Installation fail #1778

GElkayam opened this issue Feb 25, 2024 · 1 comment
Assignees
Labels

Comments

@GElkayam
Copy link

Describe your bug
Due to some internal legacy, I need to install NodeJs 9 (9.11.2) on EL8.

Trying to access the repodata on https://rpm.nodesource.com/pub_9.x/el/8/x86_64/repodata/repomd.xml fails with HTTP 404.

Distribution Information:

  • OS: RHEL
  • Version: 8

Node Version:

  • Node: Node.js v9.11.2

To Reproduce
Steps to reproduce the behavior:

  1. yum install https://rpm.nodesource.com/pub_9.x/el/8/x86_64/nodesource-release-el8-1.noarch.rpm
  2. yum --disablerepo="*" --enablerepo=nodesource install nodejs

Expected behavior
NodeJS version 9.11.2 installs

Screenshots

# yum --disablerepo="*" --enablerepo=nodesource install nodejs
Updating Subscription Management repositories.
Unable to read consumer identity

This system is not registered with an entitlement server. You can use subscription-manager to register.

Node.js Packages for Enterprise Linux 8 - x86_64                                                                                                                                   12 kB/s | 751  B     00:00
Errors during downloading metadata for repository 'nodesource':
  - Status code: 404 for https://rpm.nodesource.com/pub_9.x/el/8/x86_64/repodata/repomd.xml (IP: 172.67.10.205)
Error: Failed to download metadata for repo 'nodesource': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried

Additional context
Seems that repomd.xml in missing in the 8 x86_64 folder. the file exists in the 7 folder, but not in the 8 folder.
I tried also to get to the RPM I need specifically, but failed. :(

curl -i https://rpm.nodesource.com/pub_9.x/el/7/x86_64/nodejs-9.11.2-1nodesource.x86_64.rpm
HTTP/2 200
$ curl -i https://rpm.nodesource.com/pub_9.x/el/8/x86_64/nodejs-9.11.2-1nodesource.x86_64.rpm
HTTP/2 404
@GElkayam GElkayam added the bug label Feb 25, 2024
@riosje riosje self-assigned this Mar 22, 2024
@riosje
Copy link
Contributor

riosje commented Mar 22, 2024

Hi @GElkayam I'm sorry I'm a bit interested to know why you need such old nodejs version?
I'm so sorry the package was not sync, I've just synced and is available.

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