I have no issue installing _nodejs_ however, _nodejs-devel_ will not install due to missing dependencies.
$: dnf list installed nodejs
Installed Packages
nodejs.x86_64 1:6.2.2-2nodesource.fc24 @nodesource
$: dnf install nodejs-devel
Error: nothing provides nodejs(x86-64) = 6.2.2-2nodesource.fc24 needed by nodejs-devel-1:6.2.2-2nodesource.fc24.x86_64
After modifying the rpm myself, I can confirm this is due to the dependency being listed as 6.2.2-2nodesource.fc24 rather than 1:6.2.2-2nodesource.fc24.
This issue may exist in other releases of this package.
Same here. I think the issue is probably a missing...
Provides: nodejs = %{version}
for the main package. That's what I had to add in my own spec file for Fedora 24.
edit: Or as @andyrichardson suggested above, which I didnt't see. :)
I'm seeing the same thing in Fedora 23.
I review the spec file in SRPM. There are two ways to fix the problem. @andyrichardson
32: Epoch: 1 line%{epoch} to nodejs-devel subpackage49: %package devel
50: Summary: JavaScript runtime - development headers
51: Group: Development/Languages
52: Requires: %{name}%{?_isa} == %{?epoch}:%{version}-%{release}
53: #Requires: %{name}%{?_isa} == %{version}-%{release}
Where is the spec file in GitHub? I don't found it.
@1dot75cm I've already fixed this issue for myself by changing the dependency listed in the _nodejs-devel_ rpm.
It seems to me that the RPM files (and the scripts used to construct them) are not published to github so this issue will need to be resolved by someone at nodesource.
Having the same issue on CentOS7
Hey all, I am looking into this I promise, stay tuned.
Is there anything we can help with?
Progress Update: I can confirm this issue has been resolved as of _nodejs-devel-6.3.0-1_ however I will be leaving this issue open as previous versions have yet to be amended.
Still broken for the LTS version of NodeJS, 4.4.7
[vagrant@vagrant ~]$ sudo yum update
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.datto.com
* epel: mirror.datto.com
* extras: mirror.symnds.com
* updates: ftp.linux.ncsu.edu
* webtatic: us-east.repo.webtatic.com
No packages marked for update
[vagrant@vagrant ~]$ sudo yum install nodejs nodejs-devel
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.datto.com
* epel: mirror.datto.com
* extras: mirror.symnds.com
* updates: ftp.linux.ncsu.edu
* webtatic: us-east.repo.webtatic.com
Resolving Dependencies
--> Running transaction check
---> Package nodejs.x86_64 1:4.4.7-1nodesource.el7.centos will be installed
---> Package nodejs-devel.x86_64 1:4.4.7-1nodesource.el7.centos will be installed
--> Processing Dependency: nodejs(x86-64) = 4.4.7-1nodesource.el7.centos for package: 1:nodejs-devel-4.4.7-1nodesource.el7.centos.x86_64
--> Finished Dependency Resolution
Error: Package: 1:nodejs-devel-4.4.7-1nodesource.el7.centos.x86_64 (nodesource)
Requires: nodejs(x86-64) = 4.4.7-1nodesource.el7.centos
Available: nodejs-0.10.42-4.el7.x86_64 (epel)
nodejs(x86-64) = 0.10.42-4.el7
Available: nodejs-4.0.0-1nodesource.el7.centos.x86_64 (nodesource)
nodejs(x86-64) = 4.0.0-1nodesource.el7.centos
Available: nodejs-4.1.0-1nodesource.el7.centos.x86_64 (nodesource)
nodejs(x86-64) = 4.1.0-1nodesource.el7.centos
Available: nodejs-4.1.1-1nodesource.el7.centos.x86_64 (nodesource)
nodejs(x86-64) = 4.1.1-1nodesource.el7.centos
Available: nodejs-4.1.2-1nodesource.el7.centos.x86_64 (nodesource)
nodejs(x86-64) = 4.1.2-1nodesource.el7.centos
Available: nodejs-4.2.0-1nodesource.el7.centos.x86_64 (nodesource)
nodejs(x86-64) = 4.2.0-1nodesource.el7.centos
Available: nodejs-4.2.1-1nodesource.el7.centos.x86_64 (nodesource)
nodejs(x86-64) = 4.2.1-1nodesource.el7.centos
Available: nodejs-4.2.2-1nodesource.el7.centos.x86_64 (nodesource)
nodejs(x86-64) = 4.2.2-1nodesource.el7.centos
Available: nodejs-4.2.2-2nodesource.el7.centos.x86_64 (nodesource)
nodejs(x86-64) = 4.2.2-2nodesource.el7.centos
Available: nodejs-4.2.3-1nodesource.el7.centos.x86_64 (nodesource)
nodejs(x86-64) = 4.2.3-1nodesource.el7.centos
Available: nodejs-4.2.4-1nodesource.el7.centos.x86_64 (nodesource)
nodejs(x86-64) = 4.2.4-1nodesource.el7.centos
Available: nodejs-4.2.5-1nodesource.el7.centos.x86_64 (nodesource)
nodejs(x86-64) = 4.2.5-1nodesource.el7.centos
Available: nodejs-4.2.6-1nodesource.el7.centos.x86_64 (nodesource)
nodejs(x86-64) = 4.2.6-1nodesource.el7.centos
Available: nodejs-4.3.0-1nodesource.el7.centos.x86_64 (nodesource)
nodejs(x86-64) = 4.3.0-1nodesource.el7.centos
Available: nodejs-4.3.1-1nodesource.el7.centos.x86_64 (nodesource)
nodejs(x86-64) = 4.3.1-1nodesource.el7.centos
Available: nodejs-4.3.2-1nodesource.el7.centos.x86_64 (nodesource)
nodejs(x86-64) = 4.3.2-1nodesource.el7.centos
Available: nodejs-4.4.0-1nodesource.el7.centos.x86_64 (nodesource)
nodejs(x86-64) = 4.4.0-1nodesource.el7.centos
Available: nodejs-4.4.1-1nodesource.el7.centos.x86_64 (nodesource)
nodejs(x86-64) = 4.4.1-1nodesource.el7.centos
Available: nodejs-4.4.2-1nodesource.el7.centos.x86_64 (nodesource)
nodejs(x86-64) = 4.4.2-1nodesource.el7.centos
Available: nodejs-4.4.3-1nodesource.el7.centos.x86_64 (nodesource)
nodejs(x86-64) = 4.4.3-1nodesource.el7.centos
Available: nodejs-4.4.4-1nodesource.el7.centos.x86_64 (nodesource)
nodejs(x86-64) = 4.4.4-1nodesource.el7.centos
Available: nodejs-4.4.5-1nodesource.el7.centos.x86_64 (nodesource)
nodejs(x86-64) = 4.4.5-1nodesource.el7.centos
Available: nodejs-4.4.6-1nodesource.el7.centos.x86_64 (nodesource)
nodejs(x86-64) = 4.4.6-1nodesource.el7.centos
Installing: 1:nodejs-4.4.7-1nodesource.el7.centos.x86_64 (nodesource)
nodejs(x86-64) = 1:4.4.7-1nodesource.el7.centos
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
[vagrant@vagrant ~]$
Are there any alternatives to NodeSource? Our CI is broken for several days.
I've worked around this temporarily by switching puppet to ensure => present, but we're unable to update to 4.4.7 until the packages are fixed (CentOS 7.2).
Okay folks, I'm really sorry this has taken so long. We (NodeSource) had a point release of our commercial product that came out today which I was pretty involved with, and thus just haven't had the cycles to get in and fix this.
Until now, that is. Everybody should be good to go with 4.4.7 as I just pushed out new builds to the repo.
I've tested it a bit and it seems kosher but I'll leave this issue open for a little while in case anybody sees anything fishy. Please post here with results good or bad so I can see what's up. Thanks.
I just upgraded on Fedora 23. I had to run dnf with --refresh, but after that I successfully updated both nodejs and nodejs-devel from 4.4.6-1nodesource.fc23 to 1:4.4.7-2nodesource.fc23.
Seems like this issue has been resolved for all long term & newer stable releases.
Most helpful comment
Hey all, I am looking into this I promise, stay tuned.