-
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 18 on contos 9 Installation fail SHA1 #1693
Comments
I have the same problem on RockyLinux 9 and can't install Node20. |
Facing the same error in Oracle linux 9, failing to install Node 18.18.2 |
Duplicate of #1653 |
This issue is now resolved, please run the new scripts:
|
Well...did so and nothing changed:
Did it worked for everyone else? Thank you. |
@BioEngLuisPereira doesn't work for you?
|
Thanks for the quick repply. Thank you. |
I don't think your gpgkey is correct in the repo file, it should be |
warning: Signature not supported. Hash algorithm SHA1 not available.
Key import failed (code 2). Failing package is: nodejs-2:18.18.2-1nodesource.x86_64
Distribution Information:
Node Version:
Node.js v18.18.2:
To Reproduce
sudo yum install nodejs -y --setopt=nodesource-nodejs.module_hotfixes=1
Expected behavior
just work
Additional context
the work around for now is to allow sha 1
update-crypto-policies --set DEFAULT:SHA1
reboot
after change it back
update-crypto-policies --set DEFAULT
reboot
as in post from redhat
https://www.redhat.com/en/blog/rhel-security-sha-1-package-signatures-distrusted-rhel-9
sha1 is depreciated by default
The text was updated successfully, but these errors were encountered: