our version is old (nodejs-6.17.1-1.e17.x86_64), when i try to install nodejs-10.13.0-2.el7.x86_64.rpm many other dependencies need updating:
rpm -U nodejs-10.13.0-2.el7.x86_64.rpm
warning: nodejs-10.13.0-2.el7.x86_64.rpm: Header V4 RSA/SHA256 Signature, key ID ac25decd: NOKEY
error: Failed dependencies:
http-parser >= 2.7.0 is needed by nodejs-1:10.13.0-2.el7.x86_64
libcrypto.so.1.1()(64bit) is needed by nodejs-1:10.13.0-2.el7.x86_64
libcrypto.so.1.1(OPENSSL_1_1_0)(64bit) is needed by nodejs-1:10.13.0-2.el7.x86_64
libhttp_parser.so.2()(64bit) is needed by nodejs-1:10.13.0-2.el7.x86_64
libnghttp2.so.14()(64bit) is needed by nodejs-1:10.13.0-2.el7.x86_64
libnghttp2_14_17_1 >= 1.34.0 is needed by nodejs-1:10.13.0-2.el7.x86_64
libssl.so.1.1()(64bit) is needed by nodejs-1:10.13.0-2.el7.x86_64
libssl.so.1.1(OPENSSL_1_1_0)(64bit) is needed by nodejs-1:10.13.0-2.el7.x86_64
npm = 1:6.4.1-1.10.13.0.2.el7 is needed by nodejs-1:10.13.0-2.el7.x86_64
nodejs = 1:6.17.1-1.el7 is needed by (installed) npm-1:3.10.10-1.6.17.1.1.el7.x86_64
rpm -U nodejs-10.13.0-2.el7.x86_64.rpm
warning: nodejs-10.13.0-2.el7.x86_64.rpm: Header V4 RSA/SHA256 Signature, key ID ac25decd: NOKEY
error: Failed dependencies:
http-parser >= 2.7.0 is needed by nodejs-1:10.13.0-2.el7.x86_64
libcrypto.so.1.1()(64bit) is needed by nodejs-1:10.13.0-2.el7.x86_64
libcrypto.so.1.1(OPENSSL_1_1_0)(64bit) is needed by nodejs-1:10.13.0-2.el7.x86_64
libhttp_parser.so.2()(64bit) is needed by nodejs-1:10.13.0-2.el7.x86_64
libnghttp2.so.14()(64bit) is needed by nodejs-1:10.13.0-2.el7.x86_64
libnghttp2_14_17_1 >= 1.34.0 is needed by nodejs-1:10.13.0-2.el7.x86_64
libssl.so.1.1()(64bit) is needed by nodejs-1:10.13.0-2.el7.x86_64
libssl.so.1.1(OPENSSL_1_1_0)(64bit) is needed by nodejs-1:10.13.0-2.el7.x86_64
npm = 1:6.4.1-1.10.13.0.2.el7 is needed by nodejs-1:10.13.0-2.el7.x86_64
nodejs = 1:6.17.1-1.el7 is needed by (installed) npm-1:3.10.10-1.6.17.1.1.el7.x86_64
Share this post:
Responses (5)
-
Accepted Answer
I think you may be going about this the wrong way and at a guess you've found a package from a third party repo. If that is the case then you have to source any missing dependencies yourself. There is a nodejs Special Interest Group who provide later packages from the centos-sclo-rh repos that we mirror. From the earlier link, if you try:
you will get rh-nodejs10.x86_64 0:3.2-3.el7. That may help you. See my link on how to use it.yum install rh-nodejs10
-
Accepted Answer
Im trying to convince you to dL the source code and compile it and build a rpm, that way the dependency will be for what we have installed and put it in our repo.
I’m having problems with code failing npm code requiring restarting.
Our code is f frequently out of date forcing us to find other repositories to get it working, like Plex. -
Accepted Answer
-
Accepted Answer
Nodejs is quite a specialist area and there have not been a lot of posts here on it. In the whole RHEL/Centos/ClearOS stream there is one Special Interest Group who have taken up the cudgels to maintain a more advanced version of nodejs and we all effectively use the same repos. We do not have any resource who can take on maintaining nodejs ourselves. I would have thought the best course of action is to join/follow the SIG and put any requests through there. -
Accepted Answer
I'd missed you comment about Plex.
For Plex, once installed through the repos, you get the Plex repo added in /etc/yum.repos.d/plex.repo. You can then update directly from the Plex repo:yum update plexmediaserver --enablerepo=PlexRepo
As the ClearOS released version is old, I'll looking at updating it on Tuesday.
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »