[ERROR] Node.js 9 on Centos/RHEL/EL8 Installation fail
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:
- yum install https://rpm.nodesource.com/pub_9.x/el/8/x86_64/nodesource-release-el8-1.noarch.rpm
- 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
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.