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

Your distribution, identified as "redhat-release-server-6Server-6.7.0.3.0.1.el6.x86_64", is not currently supported, #650

Closed
acayci opened this issue Apr 24, 2018 · 6 comments

Comments

@acayci
Copy link

acayci commented Apr 24, 2018

Hello,

I am getting the above referenced error message while I try to enable node

bash-4.1$ curl -L https://rpm.nodesource.com/setup_6.x | bash -x.

At least one person posted a same issue. However I wasn't sure if there was a solution.

Any help is much appreciated.

Mustafa

======================

% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0+ print_status 'Installing the NodeSource Node.js 6.x repo...'
101 6981 101 6981 0 0 13259 0 --:--:-- -++ echo 'Installing the NodeSource Node.js 6.x repo...'
-:--:-- --:++ sed -r 's/\n/\n## /mg'
--:-- 14574

  • 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=redhat-release-server-6Server-6.7.0.3.0.1.el6.x86_64

  • echo '+ uname -m'

  • uname -m
    ++ uname -m

  • UNAME_ARCH=x86_64

  • '[' Xx86_64 == Xi686 ']'

  • '[' Xx86_64 == Xx86_64 ']'

  • DIST_ARCH=x86_64

  • [[ redhat-release-server-6Server-6.7.0.3.0.1.el6.x86_64 =~ ^(redhat|centos|cloudlinux|sl)- ]]

  • DIST_TYPE=el

  • [[ redhat-release-server-6Server-6.7.0.3.0.1.el6.x86_64 =~ ^system-release-201[4-9]. ]]
    ++ echo redhat-release-server-6Server-6.7.0.3.0.1.el6.x86_64
    ++ sed -r 's/^[[:alpha:]]+-release(-server|-workstation)?-([0-9]+).*$/\2/'

  • DIST_VERSION=6

  • [[ 6 =~ ^[0-9][0-9]?$ ]]

  • RELEASE_URL_VERSION_STRING=el6

  • RELEASE_URL=https://rpm.nodesource.com/pub_6.x/el/6/x86_64/nodesource-release-el6-1.noarch.rpm

  • print_status 'Confirming "el6-x86_64" is supported...'
    ++ echo 'Confirming "el6-x86_64" is supported...'
    ++ sed -r 's/\n/\n## /mg'

  • local 'outp=Confirming "el6-x86_64" is supported...'

  • echo

  • echo -e '## Confirming "el6-x86_64" is supported...'

Confirming "el6-x86_64" is supported...

Your distribution, identified as "redhat-release-server-6Server-6.7.0.3.0.1.el6.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

@chrislea
Copy link
Contributor

That distribution is definitely supported. Are you behind a proxy?

@acayci
Copy link
Author

acayci commented Apr 24, 2018

hi Chris,

Yes I am.

Mustafa

@chrislea
Copy link
Contributor

Please reference the first item in the distributions FAQ.

@acayci
Copy link
Author

acayci commented Apr 24, 2018

Hi Chris,

Issue #9 seems to suggest that I should be using | sudo -E bash - . I have done that. I am getting the following error immediately.

/opt/rh/devtoolset-6/root/usr/bin/sudo: line 13: /usr/bin/sudo: Permission denied
/opt/rh/devtoolset-6/root/usr/bin/sudo: line 13: exec: /usr/bin/sudo: cannot execute: Permission denied
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
101 6981 101 6981 0 0 7705 0 --:--:-- --:--:-- --:--:-- 8212
curl: (23) Failed writing body (0 != 6981)

@chrislea
Copy link
Contributor

That's an issue with how sudo is configured on your server. I'm afraid we can't help you with that. You can always simply execute the command as root and leave out the sudo.

@acayci
Copy link
Author

acayci commented Apr 24, 2018

Hi Chris, I closed the putty session and open again. I went into bash prompt. I issued the same command.

bash-4.1$ curl -sL https://rpm.nodesource.com/setup_6.x | sudo -E bash -
sudo: Illegal option -E
usage: sudo -V | -h | -L | -l | -v | -k | -K | [-H] [-P] [-S] [-b] [-p prompt]
[-u username/#uid] -s |

This time I am getting sudo illegal option -E.

Mustafa

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants