Forums

Resolved
0 votes
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
Saturday, November 23 2019, 04:38 PM
Share this post:
Responses (5)
  • Accepted Answer

    Saturday, November 23 2019, 06:00 PM - #Permalink
    Resolved
    0 votes
    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:
    yum install rh-nodejs10
    you will get rh-nodejs10.x86_64 0:3.2-3.el7. That may help you. See my link on how to use it.
    The reply is currently minimized Show
  • Accepted Answer

    Sunday, November 24 2019, 02:54 AM - #Permalink
    Resolved
    0 votes
    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.
    The reply is currently minimized Show
  • Accepted Answer

    Sunday, November 24 2019, 08:07 AM - #Permalink
    Resolved
    0 votes
    I installed per the instructions, but this is only meant to run in a local shell after executing scl enable rh-nodejs10 bash. I updated my service startup script to use this version of node (find with ‘which node’)
    Would still like to see node updated in our repo.
    The reply is currently minimized Show
  • Accepted Answer

    Sunday, November 24 2019, 09:59 AM - #Permalink
    Resolved
    0 votes
    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.
    The reply is currently minimized Show
  • Accepted Answer

    Sunday, November 24 2019, 08:37 PM - #Permalink
    Resolved
    0 votes
    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.
    The reply is currently minimized Show
Your Reply