-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
distribution package Amazon Linux 2022 not supported #1367
Comments
Hi @hodnett, Can you show more information about the error you are having? I just created a vm on AWS and was able to install Gallium with no problems. This is the output for
|
@JesusPaz
I spun up an EC2 instance from one of the In case this helps: On Amazon Linux 2:
On Amazon Linux 2022:
|
+1 for re-opening the issue |
Hello all, I'm facing this issue too, there is some workaround? Thanks. Edit: Distribution package
with:
Edit3: After previous fix the nodesource package requires redhat-release, you will need to bypass adding --nodeps to the rpm -i command.
Modified command. |
I ran into this as well.
The release version package on Amazon Linux 2022 is called
I was able to install the "nodesource" repo RPM by patching the installation script:
Ta-da!
I don't know what this comment refers to, so I'm not sure if my change is completely proper, I didn't change it the same way in the echo statement as I did in the for loop:
|
I am not sure which file(s) I would patch if I wanted to open a pull request:
And what about adding
|
Hello @atsalolikhin-spokeo it looks like you already have a patch for the installation script. do you mind help us to support this distribution? |
I don't feel it's clean to force The release version package on Amazon Linux 2022 is called |
Hello guys, Amazon Linux 2022 is still in preview, we will be able to support this version after the GA release. https://aws.amazon.com/linux/amazon-linux-2022/faqs/ |
Thanks @riosje that totally makes sense. |
@riosje I do not think this ticket should be closed when its not fixed. |
@atsalolikhin-spokeo thank you so much! Lifesaver I created a github gist of the changes for setup_16.x:
Feel free to git diff to see the changes, as they are similar to the original. To install the latest nodejs16.x version, use @riosje while amazonlinux2022 is still in preview, I think it’s beneficial to support so that users and library authors can prepare for the transition. |
Hi - between issue #1381 and this issue, it appears that I am in a catch-22, and unable to start testing the move to node18 on amazon linux:
So.... I need either this or #1381 (or both?) fixed. And yet both issues are "CLOSED"! Anyone else in this quandary and have a way out? |
@timd73 See #1367 (comment) for a workaround |
Amazon Linux 2023 is now GA. Can we reopen this ticket? |
What is not working with AL2023 @santialbo ? |
|
People have been told to use the above workaround. Example I have been using. https://gist.githubusercontent.com/Nic128/f7af8ce96a75632f83f8fa104090b3ac/raw/dba52c45d93a4c24f2081a14353dcf8749d1cd06/setup_18.x (Gist does not support 2023) It's really just adding a detection for AL2022 / AL2023.
|
@riosje can you review this ? it's reproducible with amazonlinux:latest |
The next nodejs releases will be available for AL2023. |
For us, it is still a problem with the AWS AL2 on Workers Your distribution, identified as "system-release-2-16.amzn2.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 |
Please add support for Amazon Linux 2022.
Since there is support for Amazon Linux 2, I am hopeful we just need to add this new distribution to the same auto-detection "block" as earlier generations of Amazon Linux.
Github's page on AL2022 has additional info including a Docker image for testing. 2022 is a tag that's guaranteed to point to the latest image of this generation so I'm not certain the output of my
uname -a
will be the same as yours, but in case you need it, mine is:Linux <DOCKER CONTAINER ID> 5.10.104-linuxkit #1 SMP Thu Mar 17 17:08:06 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
The text was updated successfully, but these errors were encountered: