
OPERATIONAL DEFECT DATABASE
...

...
What were you trying to do that didn't work? Install ruby: sudo dnf install ruby -y Please provide the package NVR for which bug is seen: ruby-3.1.2-141.module_el9+156+2e0939d1 How reproducible: Steps to reproduce sudo dnf install ruby -y Expected results It should install unmodularized version of ruby-3.0.4-161.el9 Actual results it tries to install modular 3.1 and fails: dnf install ruby Last metadata expiration check: 0:00:41 ago on Tue Mar 5 11:49:04 2024. Dependencies resolved. ============================================================================================================================================================================================== Package Architecture Version Repository Size ============================================================================================================================================================================================== Installing: ruby x86_64 3.1.2-141.module_el9+156+2e0939d1 appstream 41 k Installing dependencies: ruby-default-gems noarch 3.1.2-141.module_el9+156+2e0939d1 appstream 40 k ruby-libs x86_64 3.1.2-141.module_el9+156+2e0939d1 appstream 3.3 M rubygem-io-console x86_64 0.5.11-141.module_el9+156+2e0939d1 appstream 25 k rubygem-json x86_64 2.6.1-141.module_el9+156+2e0939d1 appstream 57 k rubygem-psych x86_64 4.0.3-141.module_el9+156+2e0939d1 appstream 58 k Installing weak dependencies: rubygem-bigdecimal x86_64 3.1.1-141.module_el9+156+2e0939d1 appstream 69 k rubygem-bundler noarch 2.3.7-141.module_el9+156+2e0939d1 appstream 453 k rubygem-rdoc noarch 6.4.0-141.module_el9+156+2e0939d1 appstream 499 k rubygems noarch 3.3.7-141.module_el9+156+2e0939d1 appstream 297 k Transaction Summary ============================================================================================================================================================================================== Install 10 Packages Total size: 4.8 M Installed size: 16 M Is this ok [y/N]: y Downloading Packages: [SKIPPED] ruby-3.1.2-141.module_el9+156+2e0939d1.x86_64.rpm: Already downloaded [SKIPPED] ruby-default-gems-3.1.2-141.module_el9+156+2e0939d1.noarch.rpm: Already downloaded [SKIPPED] ruby-libs-3.1.2-141.module_el9+156+2e0939d1.x86_64.rpm: Already downloaded [SKIPPED] rubygem-bigdecimal-3.1.1-141.module_el9+156+2e0939d1.x86_64.rpm: Already downloaded [SKIPPED] rubygem-bundler-2.3.7-141.module_el9+156+2e0939d1.noarch.rpm: Already downloaded [SKIPPED] rubygem-io-console-0.5.11-141.module_el9+156+2e0939d1.x86_64.rpm: Already downloaded [SKIPPED] rubygem-json-2.6.1-141.module_el9+156+2e0939d1.x86_64.rpm: Already downloaded [SKIPPED] rubygem-psych-4.0.3-141.module_el9+156+2e0939d1.x86_64.rpm: Already downloaded [SKIPPED] rubygem-rdoc-6.4.0-141.module_el9+156+2e0939d1.noarch.rpm: Already downloaded [SKIPPED] rubygems-3.3.7-141.module_el9+156+2e0939d1.noarch.rpm: Already downloaded Running transaction check No available modular metadata for modular package 'ruby-3.1.2-141.module_el9+156+2e0939d1.x86_64', it cannot be installed on the system No available modular metadata for modular package 'ruby-default-gems-3.1.2-141.module_el9+156+2e0939d1.noarch', it cannot be installed on the system No available modular metadata for modular package 'ruby-libs-3.1.2-141.module_el9+156+2e0939d1.x86_64', it cannot be installed on the system No available modular metadata for modular package 'rubygem-bigdecimal-3.1.1-141.module_el9+156+2e0939d1.x86_64', it cannot be installed on the system No available modular metadata for modular package 'rubygem-bundler-2.3.7-141.module_el9+156+2e0939d1.noarch', it cannot be installed on the system No available modular metadata for modular package 'rubygem-io-console-0.5.11-141.module_el9+156+2e0939d1.x86_64', it cannot be installed on the system No available modular metadata for modular package 'rubygem-json-2.6.1-141.module_el9+156+2e0939d1.x86_64', it cannot be installed on the system No available modular metadata for modular package 'rubygem-psych-4.0.3-141.module_el9+156+2e0939d1.x86_64', it cannot be installed on the system No available modular metadata for modular package 'rubygem-rdoc-6.4.0-141.module_el9+156+2e0939d1.noarch', it cannot be installed on the system No available modular metadata for modular package 'rubygems-3.3.7-141.module_el9+156+2e0939d1.noarch', it cannot be installed on the system The downloaded packages were saved in cache until the next successful transaction. You can remove cached packages by executing 'dnf clean packages'. Error: No available modular metadata for modular package Disabling ruby modules do not fix the issue but explicitely installing ruby-3.0.4 works.
Done
Click on a version to see all relevant bugs
Red Hat Integration
Learn more about where this data comes from
Bug Scrub Advisor
Streamline upgrades with automated vendor bug scrubs
BugZero Enterprise
Wish you caught this bug sooner? Get proactive today.