Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Incorrect version of Node package in Yum repo #340
Yum repo for version
I have followed instructions on https://nodejs.org/en/download/package-manager/#enterprise-linux-and-fedora and when I run:
However the Node version available to yum is the old one:
And when trying to install nodejs package I'm getting:
I am having the same issue. I have never had one of the nodesource repos installed until today.
Okay, so it looks like you had a previous version installed, and you also have two of the release files installed, which is probably messing things up. Please try:
again and make sure there's nothing there, and then run the installer script again.
That version is the one installed from when I did
Ran the installer:
I only have the one release file now:
Well, that's obviously wrong. As you can see, it's looking for the
and putting the full output here? Thanks.
The version lock file is empty. If I'm not mistaken, I'm not sitting behind a proxy.
Hello, I also had this problem. I resolved it with a yum clean all and reboot.
[root@mozdeftest src]# rpm -qa node
Package Arch Version Repository Size
Install 1 Package
Total download size: 5.4 M
I did run yum clean all several times and went as far as to remove any occurrence of node on the system prior to running the script after trying several times with the same result.
This morning I got to thinking about this again so decided to try something else. After doing yum clean all and then rebooting the system I reinstalled the repo.
[root@mozdeftest ~]# yum list nodejs
Maybe something is broken with Yum's caching?