-
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
[ERROR] Node.js 20.x on amazonlinux:2023 Installation fail: GPG check FAILED #1747
Comments
Updated the bug description with steps to solve the problem. |
Experiencing the same issue on Node.js 18.x, nodesource-release-nodistro-1.noarch |
Same with 18.x on Rocky8
and this gave me the error
I changed it to
and that |
I'm facing the same problem |
Now you need to use the script to install Node.js:
|
This works, thank you |
You should prefer dnf over yum in amazonlinux2023, thus make it
https://docs.aws.amazon.com/linux/al2023/ug/package-management.html |
I'm facing the same issue recently on AL2023 (since 2024, before it worked fine), and followed the instructions mentioned on https://github.com/nodesource/distributions/wiki/How-to-select-the-Node.js-version-to-install to pin to a specific node version. Any help is appreciated.
Seems like a duplicate of #1755 |
Our Beanstalk deployment also started failing because of the same issue. However it isn't installing node js 18.19.x How can change to request the newer version installation? |
this is still an issue. i'm trying to install 21 on Rocky Linux 9 and I get this error as well. @JesusPaz why did you close this? |
@tgy what's the error?
|
sorry my bad @riosje it works now! |
Installation of Node.js 20.x from nodesource fails on "GPG check FAILED"
The exact same steps were working until yesterday (Jan 2 2024) - the Dockerfile has not changed.
The error is:
Distribution Information:
amazonlinux:2023
(Docker)nodejs-20.10.0-1nodesource.x86_64.rpm
amazonlinux:2023
Node Version:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Installation succeeds, as it did until Jan 2 2024.
Update
Using the following steps seems to fix the problem:
I am not sure where the previous steps came from - perhaps when the nodesource "regular" install was not properly supporting
amazonlinux:2023
If the old steps are invalid and the correct steps now work, perhaps this can be closed.
The text was updated successfully, but these errors were encountered: