Hi,
I'm trying to install NodeJs 6 from nodesource and I obtain this error
I don't understand why my RHEL7 is not supported :-(
Does someone knows how to bypass this ?
Many thanks
Marc
# curl --location https://rpm.nodesource.com/setup_6.x | bash -
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 6981 100 6981 0 0 35959 0 --:--:-- --:--:-- --:--:-- 35984
## Installing the NodeSource Node.js 6.x repo...
## Inspecting system...
+ rpm -q --whatprovides redhat-release || rpm -q --whatprovides centos-release || rpm -q --whatprovides cloudlinux-release || rpm -q --whatprovides sl-release
+ uname -m
## Confirming "el7-x86_64" is supported...
+ curl -sLf -o /dev/null 'https://rpm.nodesource.com/pub_6.x/el/7/x86_64/nodesource-release-el7-1.noarch.rpm'
## Your distribution, identified as "redhat-release-server-7.3-7.el7.x86_64", 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
Error:
curl -sL https://rpm.nodesource.com/setup_6.x | sudo bash -
## Installing the NodeSource Node.js 6.x repo...
## Inspecting system...
+ rpm -q --whatprovides redhat-release || rpm -q --whatprovides centos-release || rpm -q --whatprovides cloudlinux-release || rpm -q --whatprovides sl-release
+ uname -m
## Confirming "el7-x86_64" is supported...
+ curl -sLf -o /dev/null 'https://rpm.nodesource.com/pub_6.x/el/7/x86_64/nodesource-release-el7-1.noarch.rpm'
## Your distribution, identified as "centos-release-7-3.1611.el7.centos.x86_64", 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
Debug:
curl -sL https://rpm.nodesource.com/setup_6.x | sudo bash -x -
+ print_status 'Installing the NodeSource Node.js 6.x repo...'
++ echo 'Installing the NodeSource Node.js 6.x repo...'
++ sed -r 's/\\n/\\n## /mg'
+ local 'outp=Installing the NodeSource Node.js 6.x repo...'
+ echo
+ echo -e '## Installing the NodeSource Node.js 6.x repo...'
## Installing the NodeSource Node.js 6.x repo...
+ echo
+ print_status 'Inspecting system...'
++ echo 'Inspecting system...'
++ sed -r 's/\\n/\\n## /mg'
+ local 'outp=Inspecting system...'
+ echo
+ echo -e '## Inspecting system...'
## Inspecting system...
+ echo
+ '[' '!' -x /bin/rpm ']'
+ echo '+ rpm -q --whatprovides redhat-release || rpm -q --whatprovides centos-release || rpm -q --whatprovides cloudlinux-release || rpm -q --whatprovides sl-release'
+ rpm -q --whatprovides redhat-release || rpm -q --whatprovides centos-release || rpm -q --whatprovides cloudlinux-release || rpm -q --whatprovides sl-release
++ rpm -q --whatprovides redhat-release
+ DISTRO_PKG=centos-release-7-3.1611.el7.centos.x86_64
+ echo '+ uname -m'
+ uname -m
++ uname -m
+ UNAME_ARCH=x86_64
+ '[' Xx86_64 == Xi686 ']'
+ '[' Xx86_64 == Xx86_64 ']'
+ DIST_ARCH=x86_64
+ [[ centos-release-7-3.1611.el7.centos.x86_64 =~ ^(redhat|centos|cloudlinux|sl)- ]]
+ DIST_TYPE=el
+ [[ centos-release-7-3.1611.el7.centos.x86_64 =~ ^system-release-201[4-9]\. ]]
++ echo centos-release-7-3.1611.el7.centos.x86_64
++ sed -r 's/^[[:alpha:]]+-release(-server|-workstation)?-([0-9]+).*$/\2/'
+ DIST_VERSION=7
+ [[ 7 =~ ^[0-9][0-9]?$ ]]
+ RELEASE_URL_VERSION_STRING=el7
+ RELEASE_URL=https://rpm.nodesource.com/pub_6.x/el/7/x86_64/nodesource-release-el7-1.noarch.rpm
+ print_status 'Confirming "el7-x86_64" is supported...'
++ echo 'Confirming "el7-x86_64" is supported...'
++ sed -r 's/\\n/\\n## /mg'
+ local 'outp=Confirming "el7-x86_64" is supported...'
+ echo
+ echo -e '## Confirming "el7-x86_64" is supported...'
## Confirming "el7-x86_64" is supported...
+ echo
+ exec_cmd_nobail 'curl -sLf -o /dev/null '\''https://rpm.nodesource.com/pub_6.x/el/7/x86_64/nodesource-release-el7-1.noarch.rpm'\'''
+ echo '+ curl -sLf -o /dev/null '\''https://rpm.nodesource.com/pub_6.x/el/7/x86_64/nodesource-release-el7-1.noarch.rpm'\'''
+ curl -sLf -o /dev/null 'https://rpm.nodesource.com/pub_6.x/el/7/x86_64/nodesource-release-el7-1.noarch.rpm'
+ bash -c 'curl -sLf -o /dev/null '\''https://rpm.nodesource.com/pub_6.x/el/7/x86_64/nodesource-release-el7-1.noarch.rpm'\'''
+ RC=7
+ [[ 7 != 0 ]]
+ print_status 'Your distribution, identified as "centos-release-7-3.1611.el7.centos.x86_64", 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'
++ echo 'Your distribution, identified as "centos-release-7-3.1611.el7.centos.x86_64", 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'
++ sed -r 's/\\n/\\n## /mg'
+ local 'outp=Your distribution, identified as "centos-release-7-3.1611.el7.centos.x86_64", 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'
+ echo
+ echo -e '## Your distribution, identified as "centos-release-7-3.1611.el7.centos.x86_64", 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'
## Your distribution, identified as "centos-release-7-3.1611.el7.centos.x86_64", 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
+ echo
+ exit 1
I have also encountered this problem.
Your distribution, identified as "redhat-release-server-7.3-7.el7.x86_64", 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
Hi ,
I am also facing same issue for redhat enterprise linux. Below is the message we are getting while executing command. Can anyone help fixing this issue ?
"curl --silent --location https://rpm.nodesource.com/setup_8.x | sudo bash -"
Any news about this? I'm currently having the same issue
@pdrf I had downloaded source code and built it locally.
@SuperMasterBlasterLaser thanks, I used nvm in the end.
I also faced this issue, due to proxy settings.
First configure the env-vars:
# export http_proxy=http://your.proxy.server:port
# export https_proxy=https://your.proxy.server:port
Then run your curl command:
curl -L https://rpm.nodesource.com/setup_10.x | bash -
Thanks @LMKTech ! Closing.
Most helpful comment
I also faced this issue, due to proxy settings.
First configure the env-vars:
# export http_proxy=http://your.proxy.server:port# export https_proxy=https://your.proxy.server:portThen run your curl command:
curl -L https://rpm.nodesource.com/setup_10.x | bash -