Open
Description
π» Brief Description
The cookbook tries to install gdbm-devel
which is not available on CentOS 9.
π₯ Cookbook version
ruby_rbenv (5.0.21) - latest
π©βπ³ Chef-Infra Version
System Info:
------------
chef_version=18.5.0
platform=centos
platform_version=9
ruby=ruby 3.1.4p223 (2023-03-30 revision 957bb7cb81) [x86_64-linux]
program_name=/opt/chef/bin/chef-client
executable=/opt/chef/bin/chef-client
π© Platform details
Operating System: CentOS Stream 9
CPE OS Name: cpe:/o:centos:centos:9
Kernel: Linux 5.14.0-480.el9.x86_64
Architecture: x86-64
Steps To Reproduce
Converge a centos-9 platform using ruby_rbenv cookbook to install Ruby.
π Expected behavior
Successful installation
β
Chef::Exceptions::Package
-------------------------
dnf_package[gdbm-devel] (aspera-qa-agent::rbenv line 10) had an error: Chef::Exceptions::Package: No candidate version available for gdbm-devel
Cookbook Trace: (most recent call first)
----------------------------------------
/tmp/kitchen/cache/cookbooks/ruby_rbenv/libraries/package_deps.rb:10:in `block in install_ruby_dependencies'
/tmp/kitchen/cache/cookbooks/ruby_rbenv/libraries/package_deps.rb:9:in `each'
/tmp/kitchen/cache/cookbooks/ruby_rbenv/libraries/package_deps.rb:9:in `install_ruby_dependencies'
/tmp/kitchen/cache/cookbooks/ruby_rbenv/resources/ruby.rb:64:in `block in class_from_file'
Compiled Resource:
------------------
# Declared in /tmp/kitchen/cache/cookbooks/aspera-qa-agent/recipes/rbenv.rb:29:in `from_file'
rbenv_ruby("3.1.3") do
action [:install]
updated true
updated_by_last_action true
default_guard_interpreter :default
declared_type :rbenv_ruby
cookbook_name "aspera-qa-agent"
recipe_name "rbenv"
ruby_build_git_url "https://github.com/rbenv/ruby-build.git"
end
β
The package is not part of the default repository and can be installed from CodeReady Linux Builder (CRB).
sudo dnf --enablerepo=crb -y install gdbm-devel
.
Metadata
Assignees
Labels
No labels