Koozali.org: home of the SME Server
Obsolete Releases => SME 9.x Contribs => Topic started by: sqlerror on November 20, 2016, 11:46:16 PM
-
When installing the nodejs software collection, yum fails with these messages:
yum install nodejs010 --enablerepo=scl-nodejs010
... --> Finished Dependency Resolution
Error: Package: nodejs010-nodejs-0.10.35-4.el6.x86_64 (scl-nodejs010)
Requires: v8314-v8 < 1:3.15
Error: Package: nodejs010-nodejs-devel-0.10.35-4.el6.x86_64 (scl-nodejs010)
Requires: v8314-v8-devel
Error: Package: nodejs010-node-gyp-1.0.2-3.el6.noarch (scl-nodejs010)
Requires: v8314-v8-devel
Error: Package: nodejs010-nodejs-devel-0.10.35-4.el6.x86_64 (scl-nodejs010)
Requires: libv8.so.v8314-3.14.5()(64bit)
Error: Package: nodejs010-nodejs-0.10.35-4.el6.x86_64 (scl-nodejs010)
Requires: v8314-v8 >= 1:3.14.5.10-8
Error: Package: nodejs010-nodejs-0.10.35-4.el6.x86_64 (scl-nodejs010)
Requires: libv8.so.v8314-3.14.5()(64bit)
Error: Package: nodejs010-node-gyp-1.0.2-3.el6.noarch (scl-nodejs010)
Requires: v8314-gyp
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
What can be done about this?
Thanks.
Geert
-
When installing the nodejs software collection, yum fails with these messages:
yum install nodejs010 --enablerepo=scl-nodejs010
The SCL repo's have changed. Will try to correct them asap.
-
The SCL repo's have changed. Will try to correct them asap.
Great, thanks for your work on this and so many other useful contribs!
-
As a FYI you can use the node repo directly for a more up to date version (I had to do this to use the newer versions of rocketchat):
/sbin/e-smith/db yum_repositories set nodejs \
repository Name 'Node JS 4' \
BaseURL https://rpm.nodesource.com/pub_4.x/el/6/x86_64 \
EnableGroups no GPGCheck no Visible yes status disabled
yum --enablerepo=nodejs install nodejs
(You may need nodejs-devel as well)
You can check versions like this:
[root@test]# node -v
v4.5.0
[root@test]# npm -v
3.10.8
Modify with
n 0.4.6
HTH.
B. Rgds
John
-
As a FYI you can use the node repo directly for a more up to date version (I had to do this to use the newer versions of rocketchat):
Please note that the above is NOT Software Collections, but a native install.
Repo for Software Collections adjusted to the latest CentOS SCL
-
Please note that the above is NOT Software Collections, but a native install.
Repo for Software Collections adjusted to the latest CentOS SCL
Can I then run yum install v8314 --enablerepo=centos-sclo-rh
To get dependancies fixed and then install scl-nodje010 as per howto?
Test gave:
root@mail ~]# yum install v8314 --enablerepo=scl-nodejs010 --enablerepo=centos-sclo-rh
Loaded plugins: fastestmirror, smeserver
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: mirror.denit.net
* smeaddons: mirror.enpol-ict.net
* smeextras: mirror.enpol-ict.net
* smeos: mirror.enpol-ict.net
* smeupdates: mirror.enpol-ict.net
* updates: centos.mirror1.spango.com
Resolving Dependencies
--> Running transaction check
---> Package v8314.x86_64 0:2.0-11.el6 will be installed
--> Processing Dependency: v8314-v8-devel for package: v8314-2.0-11.el6.x86_64
--> Processing Dependency: v8314-v8 for package: v8314-2.0-11.el6.x86_64
--> Processing Dependency: v8314-runtime for package: v8314-2.0-11.el6.x86_64
--> Processing Dependency: v8314-gyp for package: v8314-2.0-11.el6.x86_64
--> Running transaction check
---> Package v8314-gyp.noarch 0:0.1-0.12.1617svn.sc1.el6 will be installed
---> Package v8314-runtime.x86_64 0:2.0-11.el6 will be installed
---> Package v8314-v8.x86_64 1:3.14.5.10-8.el6 will be installed
---> Package v8314-v8-devel.x86_64 1:3.14.5.10-8.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
=====================================================================================================================================================================================================================
Package Arch Version Repository Size
=====================================================================================================================================================================================================================
Installing:
v8314 x86_64 2.0-11.el6 centos-sclo-rh 3.3 k
Installing for dependencies:
v8314-gyp noarch 0.1-0.12.1617svn.sc1.el6 centos-sclo-rh 391 k
v8314-runtime x86_64 2.0-11.el6 centos-sclo-rh 1.0 M
v8314-v8 x86_64 1:3.14.5.10-8.el6 centos-sclo-rh 1.5 M
v8314-v8-devel x86_64 1:3.14.5.10-8.el6 centos-sclo-rh 1.4 M
Transaction Summary
=====================================================================================================================================================================================================================
Install 5 Package(s)
Total download size: 4.3 M
Installed size: 11 M
Is this ok [y/N]: n
Is this ok [y/N]?
-
Only
yum install nodejs010 --enablerepo=centos-sclo-rh
-
Only
yum install nodejs010 --enablerepo=centos-sclo-rh
Allright, thank you very much for fixing this.