Install Opennebula on RH9

RH9 is supported according to Platform Notes 6.10 — OpenNebula 6.10.0 documentation.
I’m unable to install Opennebula 6.10. ruby-libs-3.0 is required, ruby-libs-3.3 is installed. Downgrading also removes rubygem-psych. rubygem-psych is also required by Opennebula. This would reinstall ruby-libs.3.3. How can I resolve the dependencies to successfully install Opennebula. The Rh8 repositories would also install ruby-libs-3.3.

yum install opennebula …

package opennebula-6.10.0-1.el9.x86_64 from opennebula requires opennebula-tools =
6.10.0, but none of the providers can be installed
- package opennebula-tools-6.10.0-1.el9.noarch from opennebula requires opennebula-
rubygems = 6.10.0, but none of the providers can be installed
- conflicting requests
- nothing provides libruby.so.3.0()(64bit) needed by opennebula-rubygems-6.10.0-
1.el9.x86_64 from opennebula
rpm -qa | grep ruby-libs
ruby-libs-3.3.0-1.module+el9.4.0+21222+faeeed2f.x86_64
cat /etc/os-release
NAME=“Red Hat Enterprise Linux”
VERSION=“9.4 (Plow)”

You need to enable the repo which contains the missing dependencies

repo=$(yum repolist --disabled | grep -i -e powertools -e crb | awk '{print $1}' | head -1)
yum config-manager --set-enabled $repo && yum makecache

you should be able to install the opennebula package then

Hello dclavijo,
“yum repolist” shows the repositories base, appstream, crb, epel, opennebula. The error messages are unchanged. The versions of the nodejs and libruby packages are too new!! Installing opennebula requires older packages, but downgrading is not possible. Then other necessary packages would be missing(for example rubygem-psych).

rpm -qa | grep -e nodejs -e ruby-lib
ruby-libs-3.3.0-1.module+el9.4.0+21222+faeeed2f.x86_64
nodejs-docs-20.11.1-1.module+el9.3.0+21385+bac43d5a.noarch
nodejs-20.11.1-1.module+el9.3.0+21385+bac43d5a.x86_64
nodejs-full-i18n-20.11.1-1.module+el9.3.0+21385+bac43d5a.x86_64

Best Regards.
Manuela

Not sure how you ended up with those newer versions of dependencies. Perhaps this will help as a reference regarding what it is supposed to be installed and where does it come from





Hello,
I found my mistake and was able to fix part of the problem. The software repos are provided by Suse Manager Repos. I had only assigned the patch repos, not the base repos. So I was able to downgrade corresponding packages and install opennebula, except package opennebula-fireedge.

yum install opennebula-fireedge
Updating Subscription Management repositories.
Unable to read consumer identity

This system is not registered with an entitlement server. You can use "rhc" or "subscription-manager" to register.

Last metadata expiration check: 0:17:39 ago on Sun 22 Sep 2024 10:57:45 PM CEST.
Error: 
 Problem: conflicting requests
  - nothing provides nodejs(abi16) **>= 16.14** needed by opennebula-fireedge-6.10.0-1.el9.x86_64 from opennebula_6-10
  - nothing provides nodejs(v8-abi9) >= 9.4 needed by opennebula-fireedge-6.10.0-1.el9.x86_64 from opennebula_6-10
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

After running “yum downgrade nodejs” several times, the lowest version of RH 9 nodejs-18.10 is reached. This is greater than the required version 16.14, but is not accepted by opennebula-fireedge.
How can I solve?

yum downgrade nodejs
...
Downgraded:
  nodejs-1:18.10.0-3.module+el9.1.0+16866+0fab0697.x86_64                                     nodejs-docs-1:18.10.0-3.module+el9.1.0+16866+0fab0697.noarch                           
  nodejs-full-i18n-1:18.10.0-3.module+el9.1.0+16866+0fab0697.x86_64                           npm-1:8.19.2-1.18.10.0.3.module+el9.1.0+16866+0fab0697.x86_64                          

Complete!

yum downgrade nodejs
Updating Subscription Management repositories.
Unable to read consumer identity

This system is not registered with an entitlement server. You can use "rhc" or "subscription-manager" to register.

Last metadata expiration check: 0:16:27 ago on Sun 22 Sep 2024 10:57:45 PM CEST.
Package ***nodejs of lowest version already installed, cannot downgrade it***.
Dependencies resolved.
Nothing to do.

Best Regards
Manuela