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
Node 5 installer on Centos7 tries to use 4.x package during yum install #191
Using setup_5.x tries to find the package nodejs-4.2.3-1nodesource.el7.centos.x86_64 from the URL https://rpm.nodesource.com/pub_5.x/el/7/x86_64/nodejs-4.2.3-1nodesource.el7.centos.x86_64.rpm, which obviously 404s. Any thoughts? Thanks!
@MaffooBristol absolutely this is a correct & vital part of the solution.
I was having difficulty booting the latest CentOS kernal, due to a kernal panic. (I had been going into sudo yum update, yum install, and pip install commands on a previous session that may not all have completed).
So I deleted that kernal, while inside the previous kernal version, and went to do
But I was getting a bunch of errors then related to nodejs transaction conflicts, upon the yum update command.
So how do I get back onto the newest kernal without a kernal panic, and no node transaction conflicts?
You have to
On Debian, if
Or add the nodejs repo address to your main repo source file directly
In my case (CentOS), I was trying to upgrade from 6.11 to 8.x, and 6.11 was being reinstalled instead, despite cleaning the cache. It turned out I had two .repo files with conflicting versions:
I think this can happen if you run both setup scripts on the same box, and I could confirm it because the
I was able to fix it by removing the offending .repo file, cleaning, and reinstalling: