After updating to 8.10 DNF Update issues with ruby-default-gems appears

Hello,

Running Rocky Linux 8.10 currently, and so far everything has been rock stable without any issues until today. I’ve tried consulting AI on this and searching for over an hour and can’t make any progress on this issue.

When trying to run dnf update I’m getting the following errors all of a sudden.

[root@hosting /]# dnf update
Last metadata expiration check: 0:00:08 ago on Fri 07 Jun 2024 11:22:48 PM CDT.
Error:
 Problem 1: package ruby-default-gems-3.3.1-2.module+el8.10.0+1827+16ecb9d2.noarch from appstream requires (rubygem(io-console) >= 0.5 with rubygem(io-console) < 1), but none of the providers can be installed
  - cannot install the best update candidate for package rubygem-did_you_mean-1.2.0-111.module+el8.9.0+1536+5f79634e.noarch
  - package rubygem-io-console-0.5.11-142.module+el8.10.0+1741+bdb5b6ca.i686 from appstream is filtered out by exclude filtering
  - package rubygem-io-console-0.5.11-142.module+el8.10.0+1741+bdb5b6ca.x86_64 from appstream is filtered out by modular filtering
  - package rubygem-io-console-0.5.11-143.module+el8.10.0+1826+b62220b4.i686 from appstream is filtered out by exclude filtering
  - package rubygem-io-console-0.5.11-143.module+el8.10.0+1826+b62220b4.x86_64 from appstream is filtered out by modular filtering
  - package rubygem-io-console-0.5.6-139.module+el8.9.0+1537+0b2034bd.i686 from appstream is filtered out by exclude filtering
  - package rubygem-io-console-0.5.6-139.module+el8.9.0+1537+0b2034bd.x86_64 from appstream is filtered out by modular filtering
  - package rubygem-io-console-0.5.7-141.module+el8.6.0+1002+a7dba0ac.i686 from appstream is filtered out by exclude filtering
  - package rubygem-io-console-0.5.7-141.module+el8.6.0+1002+a7dba0ac.x86_64 from appstream is filtered out by modular filtering
  - package rubygem-io-console-0.5.7-143.module+el8.10.0+1820+f3fffb92.i686 from appstream is filtered out by exclude filtering
  - package rubygem-io-console-0.5.7-143.module+el8.10.0+1820+f3fffb92.x86_64 from appstream is filtered out by modular filtering
  - package rubygem-io-console-0.7.1-1.module+el8.10.0+1679+61871737.i686 from appstream is filtered out by exclude filtering
  - package rubygem-io-console-0.7.1-1.module+el8.10.0+1679+61871737.x86_64 from appstream is filtered out by modular filtering
  - package rubygem-io-console-0.7.1-2.module+el8.10.0+1827+16ecb9d2.i686 from appstream is filtered out by exclude filtering
  - package rubygem-io-console-0.7.1-2.module+el8.10.0+1827+16ecb9d2.x86_64 from appstream is filtered out by modular filtering
 Problem 2: package ruby-default-gems-3.3.1-2.module+el8.10.0+1827+16ecb9d2.noarch from appstream requires (rubygem(io-console) >= 0.5 with rubygem(io-console) < 1), but none of the providers can be installed
  - cannot install the best update candidate for package rubygem-openssl-2.1.2-111.module+el8.9.0+1536+5f79634e.x86_64
  - package rubygem-io-console-0.5.11-142.module+el8.10.0+1741+bdb5b6ca.i686 from appstream is filtered out by exclude filtering
  - package rubygem-io-console-0.5.11-142.module+el8.10.0+1741+bdb5b6ca.x86_64 from appstream is filtered out by modular filtering
  - package rubygem-io-console-0.5.11-143.module+el8.10.0+1826+b62220b4.i686 from appstream is filtered out by exclude filtering
  - package rubygem-io-console-0.5.11-143.module+el8.10.0+1826+b62220b4.x86_64 from appstream is filtered out by modular filtering
  - package rubygem-io-console-0.5.6-139.module+el8.9.0+1537+0b2034bd.i686 from appstream is filtered out by exclude filtering
  - package rubygem-io-console-0.5.6-139.module+el8.9.0+1537+0b2034bd.x86_64 from appstream is filtered out by modular filtering
  - package rubygem-io-console-0.5.7-141.module+el8.6.0+1002+a7dba0ac.i686 from appstream is filtered out by exclude filtering
  - package rubygem-io-console-0.5.7-141.module+el8.6.0+1002+a7dba0ac.x86_64 from appstream is filtered out by modular filtering
  - package rubygem-io-console-0.5.7-143.module+el8.10.0+1820+f3fffb92.i686 from appstream is filtered out by exclude filtering
  - package rubygem-io-console-0.5.7-143.module+el8.10.0+1820+f3fffb92.x86_64 from appstream is filtered out by modular filtering
  - package rubygem-io-console-0.7.1-1.module+el8.10.0+1679+61871737.i686 from appstream is filtered out by exclude filtering
  - package rubygem-io-console-0.7.1-1.module+el8.10.0+1679+61871737.x86_64 from appstream is filtered out by modular filtering
  - package rubygem-io-console-0.7.1-2.module+el8.10.0+1827+16ecb9d2.i686 from appstream is filtered out by exclude filtering
  - package rubygem-io-console-0.7.1-2.module+el8.10.0+1827+16ecb9d2.x86_64 from appstream is filtered out by modular filtering
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

Any suggestions on resolving this would be greatly appreciated.

Can you verify if the ruby 3.3 module is enabled?

dnf module info ruby:3.3

Here’s the output.

[root@hosting ~]# dnf module info ruby:3.3
Last metadata expiration check: 0:00:37 ago on Fri 07 Jun 2024 11:57:45 PM CDT.
Name             : ruby
Stream           : 3.3
Version          : 8100020240131101833
Context          : e155f54d
Architecture     : x86_64
Profiles         : common [d]
Default profiles : common
Repo             : appstream
Summary          : An interpreter of object-oriented scripting language
Description      : Ruby is the interpreted scripting language for quick and easy object-oriented programming.  It has many features to process text files and to do system management tasks (as in Perl).  It is simple, straight-forward, and extensible.
Requires         : platform:[el8]
Artifacts        : rpm-local-generator-support-0:1-1.module+el8.10.0+1679+61871737.noarch
                 : rpm-local-generator-support-0:1-1.module+el8.10.0+1679+61871737.src
                 : ruby-0:3.3.0-1.module+el8.10.0+1679+61871737.i686
                 : ruby-0:3.3.0-1.module+el8.10.0+1679+61871737.src
                 : ruby-0:3.3.0-1.module+el8.10.0+1679+61871737.x86_64
                 : ruby-bundled-gems-0:3.3.0-1.module+el8.10.0+1679+61871737.i686
                 : ruby-bundled-gems-0:3.3.0-1.module+el8.10.0+1679+61871737.x86_64
                 : ruby-bundled-gems-debuginfo-0:3.3.0-1.module+el8.10.0+1679+61871737.i686
                 : ruby-bundled-gems-debuginfo-0:3.3.0-1.module+el8.10.0+1679+61871737.x86_64
                 : ruby-debuginfo-0:3.3.0-1.module+el8.10.0+1679+61871737.i686
                 : ruby-debuginfo-0:3.3.0-1.module+el8.10.0+1679+61871737.x86_64
                 : ruby-debugsource-0:3.3.0-1.module+el8.10.0+1679+61871737.i686
                 : ruby-debugsource-0:3.3.0-1.module+el8.10.0+1679+61871737.x86_64
                 : ruby-default-gems-0:3.3.0-1.module+el8.10.0+1679+61871737.noarch
                 : ruby-devel-0:3.3.0-1.module+el8.10.0+1679+61871737.i686
                 : ruby-devel-0:3.3.0-1.module+el8.10.0+1679+61871737.x86_64
                 : ruby-doc-0:3.3.0-1.module+el8.10.0+1679+61871737.noarch
                 : ruby-libs-0:3.3.0-1.module+el8.10.0+1679+61871737.i686
                 : ruby-libs-0:3.3.0-1.module+el8.10.0+1679+61871737.x86_64
                 : ruby-libs-debuginfo-0:3.3.0-1.module+el8.10.0+1679+61871737.i686
                 : ruby-libs-debuginfo-0:3.3.0-1.module+el8.10.0+1679+61871737.x86_64
                 : rubygem-abrt-0:0.4.0-1.module+el8.10.0+1679+61871737.noarch
                 : rubygem-abrt-0:0.4.0-1.module+el8.10.0+1679+61871737.src
                 : rubygem-abrt-doc-0:0.4.0-1.module+el8.10.0+1679+61871737.noarch
                 : rubygem-bigdecimal-0:3.1.5-1.module+el8.10.0+1679+61871737.i686
                 : rubygem-bigdecimal-0:3.1.5-1.module+el8.10.0+1679+61871737.x86_64
                 : rubygem-bigdecimal-debuginfo-0:3.1.5-1.module+el8.10.0+1679+61871737.i686
                 : rubygem-bigdecimal-debuginfo-0:3.1.5-1.module+el8.10.0+1679+61871737.x86_64
                 : rubygem-bundler-0:2.5.3-1.module+el8.10.0+1679+61871737.noarch
                 : rubygem-io-console-0:0.7.1-1.module+el8.10.0+1679+61871737.i686
                 : rubygem-io-console-0:0.7.1-1.module+el8.10.0+1679+61871737.x86_64
                 : rubygem-io-console-debuginfo-0:0.7.1-1.module+el8.10.0+1679+61871737.i686
                 : rubygem-io-console-debuginfo-0:0.7.1-1.module+el8.10.0+1679+61871737.x86_64
                 : rubygem-irb-0:1.11.0-1.module+el8.10.0+1679+61871737.noarch
                 : rubygem-json-0:2.7.1-1.module+el8.10.0+1679+61871737.i686
                 : rubygem-json-0:2.7.1-1.module+el8.10.0+1679+61871737.x86_64
                 : rubygem-json-debuginfo-0:2.7.1-1.module+el8.10.0+1679+61871737.i686
                 : rubygem-json-debuginfo-0:2.7.1-1.module+el8.10.0+1679+61871737.x86_64
                 : rubygem-minitest-0:5.20.0-1.module+el8.10.0+1679+61871737.noarch
                 : rubygem-mysql2-0:0.5.5-1.module+el8.10.0+1679+61871737.src
                 : rubygem-mysql2-0:0.5.5-1.module+el8.10.0+1679+61871737.x86_64
                 : rubygem-mysql2-debuginfo-0:0.5.5-1.module+el8.10.0+1679+61871737.x86_64
                 : rubygem-mysql2-debugsource-0:0.5.5-1.module+el8.10.0+1679+61871737.x86_64
                 : rubygem-mysql2-doc-0:0.5.5-1.module+el8.10.0+1679+61871737.noarch
                 : rubygem-pg-0:1.5.4-1.module+el8.10.0+1679+61871737.src
                 : rubygem-pg-0:1.5.4-1.module+el8.10.0+1679+61871737.x86_64
                 : rubygem-pg-debuginfo-0:1.5.4-1.module+el8.10.0+1679+61871737.x86_64
                 : rubygem-pg-debugsource-0:1.5.4-1.module+el8.10.0+1679+61871737.x86_64
                 : rubygem-pg-doc-0:1.5.4-1.module+el8.10.0+1679+61871737.noarch
                 : rubygem-power_assert-0:2.0.3-1.module+el8.10.0+1679+61871737.noarch
                 : rubygem-psych-0:5.1.2-1.module+el8.10.0+1679+61871737.i686
                 : rubygem-psych-0:5.1.2-1.module+el8.10.0+1679+61871737.x86_64
                 : rubygem-psych-debuginfo-0:5.1.2-1.module+el8.10.0+1679+61871737.i686
                 : rubygem-psych-debuginfo-0:5.1.2-1.module+el8.10.0+1679+61871737.x86_64
                 : rubygem-racc-0:1.7.3-1.module+el8.10.0+1679+61871737.i686
                 : rubygem-racc-0:1.7.3-1.module+el8.10.0+1679+61871737.x86_64
                 : rubygem-racc-debuginfo-0:1.7.3-1.module+el8.10.0+1679+61871737.i686
                 : rubygem-racc-debuginfo-0:1.7.3-1.module+el8.10.0+1679+61871737.x86_64
                 : rubygem-rake-0:13.1.0-1.module+el8.10.0+1679+61871737.noarch
                 : rubygem-rbs-0:3.4.0-1.module+el8.10.0+1679+61871737.i686
                 : rubygem-rbs-0:3.4.0-1.module+el8.10.0+1679+61871737.x86_64
                 : rubygem-rbs-debuginfo-0:3.4.0-1.module+el8.10.0+1679+61871737.i686
                 : rubygem-rbs-debuginfo-0:3.4.0-1.module+el8.10.0+1679+61871737.x86_64
                 : rubygem-rdoc-0:6.6.2-1.module+el8.10.0+1679+61871737.noarch
                 : rubygem-rexml-0:3.2.6-1.module+el8.10.0+1679+61871737.noarch
                 : rubygem-rss-0:0.3.0-1.module+el8.10.0+1679+61871737.noarch
                 : rubygem-test-unit-0:3.6.1-1.module+el8.10.0+1679+61871737.noarch
                 : rubygem-typeprof-0:0.21.9-1.module+el8.10.0+1679+61871737.noarch
                 : rubygems-0:3.5.3-1.module+el8.10.0+1679+61871737.noarch
                 : rubygems-devel-0:3.5.3-1.module+el8.10.0+1679+61871737.noarch

Hint: [d]efault, [e]nabled, [x]disabled, [i]nstalled, [a]ctive

I encountered the same problem. Fixed by first running dnf clean all

I tried that and it didn’t work for me yesterday.

I tried it again just now and it seems to have fixed itself.

Thanks for the suggestion to try again.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.