Problem:
Getting some strange errors related to ruby after install
------------------------------------------------------------------------------------------------------------
========================================================================================================================================================================================================================================
Package Architecture Version Repository Size
========================================================================================================================================================================================================================================
Installing:
foreman-installer-katello noarch 1:3.11.2-1.el9 foreman 83 k
Installing dependencies:
katello-certs-tools noarch 2.10.0-1.el9 foreman 65 k
Transaction Summary
========================================================================================================================================================================================================================================
Install 2 Packages
Total download size: 148 k
Installed size: 636 k
Is this ok [y/N]: y
Downloading Packages:
(1/2): foreman-installer-katello-3.11.2-1.el9.noarch.rpm 830 kB/s | 83 kB 00:00
(2/2): katello-certs-tools-2.10.0-1.el9.noarch.rpm 625 kB/s | 65 kB 00:00
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 1.1 MB/s | 148 kB 00:00
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : katello-certs-tools-2.10.0-1.el9.noarch 1/2
Installing : foreman-installer-katello-1:3.11.2-1.el9.noarch 2/2
Running scriptlet: foreman-installer-katello-1:3.11.2-1.el9.noarch 2/2
<internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:96:in `require': libruby.so.2.7: cannot open shared object file: No such file or directory - /usr/local/lib64/gems/ruby/stringio-3.0.2/stringio.so (LoadError)
from <internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:96:in `require'
from /usr/share/gems/gems/clamp-1.3.2/lib/clamp/help.rb:3:in `<top (required)>'
from <internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:96:in `require'
from <internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:96:in `require'
from /usr/share/gems/gems/clamp-1.3.2/lib/clamp/command.rb:5:in `<top (required)>'
from <internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:96:in `require'
from <internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:96:in `require'
from /usr/share/gems/gems/clamp-1.3.2/lib/clamp.rb:5:in `<top (required)>'
from <internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:96:in `require'
from <internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:96:in `require'
from /usr/share/gems/gems/kafo-7.4.0/lib/kafo/kafo_configure.rb:11:in `<top (required)>'
from <internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:96:in `require'
from <internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:96:in `require'
from /usr/share/gems/gems/kafo-7.4.0/lib/kafo.rb:3:in `<top (required)>'
from <internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:160:in `require'
from <internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:160:in `rescue in require'
from <internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:149:in `require'
from /sbin/foreman-installer:3:in `<main>'
<internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:85:in `require': cannot load such file -- kafo (LoadError)
from <internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:85:in `require'
from /sbin/foreman-installer:3:in `<main>'
<internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:96:in `require': libruby.so.2.7: cannot open shared object file: No such file or directory - /usr/local/lib64/gems/ruby/stringio-3.0.2/stringio.so (LoadError)
from <internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:96:in `require'
from /usr/share/gems/gems/clamp-1.3.2/lib/clamp/help.rb:3:in `<top (required)>'
from <internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:96:in `require'
from <internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:96:in `require'
from /usr/share/gems/gems/clamp-1.3.2/lib/clamp/command.rb:5:in `<top (required)>'
from <internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:96:in `require'
from <internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:96:in `require'
from /usr/share/gems/gems/clamp-1.3.2/lib/clamp.rb:5:in `<top (required)>'
from <internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:96:in `require'
from <internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:96:in `require'
from /usr/share/gems/gems/kafo-7.4.0/lib/kafo/kafo_configure.rb:11:in `<top (required)>'
from <internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:96:in `require'
from <internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:96:in `require'
from /usr/share/gems/gems/kafo-7.4.0/lib/kafo.rb:3:in `<top (required)>'
from <internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:160:in `require'
from <internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:160:in `rescue in require'
from <internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:149:in `require'
from /sbin/foreman-installer:3:in `<main>'
<internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:85:in `require': cannot load such file -- kafo (LoadError)
from <internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:85:in `require'
from /sbin/foreman-installer:3:in `<main>'
warning: %post(foreman-installer-katello-1:3.11.2-1.el9.noarch) scriptlet failed, exit status 1
Error in POSTIN scriptlet in rpm package foreman-installer-katello
Verifying : foreman-installer-katello-1:3.11.2-1.el9.noarch 1/2
Verifying : katello-certs-tools-2.10.0-1.el9.noarch 2/2
Installed products updated.
Installed:
foreman-installer-katello-1:3.11.2-1.el9.noarch katello-certs-tools-2.10.0-1.el9.noarch
Complete!
--------------------------------------------------------------------------------------------------------------------
Expected outcome:
I have expected the install to go fine without errors.
Foreman and Proxy versions:
Foreman 3.11.2
Foreman and Proxy plugin versions:
Distribution and version:
RHEL 9.4
Other relevant data: