#135 Behavior of /data/profiles/foo/rpms
Closed: Invalid 4 years ago by asamalik. Opened 4 years ago by jaruga.

ruby 2.6 module's ruby.yaml is like this.
https://src.fedoraproject.org/modules/ruby/blob/2.6/f/ruby.yaml#_119

    profiles:
        default:
            rpms:
                - ruby

The actual installation is like this.
ruby, ruby-devel, ruby-libs binary RPM are installed.
How the binary RPMs are selected? How dnf module install decide the installed binary RPMs from above ruby.yaml. I expected the situation was same with dnf install ruby.

$ sudo dnf module install ruby:2.6/default
...
Dependencies resolved.
==============================================================================================
 Package        Arch       Version                                  Repository           Size
==============================================================================================
Upgrading:
 ruby           x86_64     2.6.2-119.module_f30+3838+0c262d71       updates-modular      41 k
 ruby-devel     x86_64     2.6.2-119.module_f30+3838+0c262d71       updates-modular     199 k
 ruby-libs      x86_64     2.6.2-119.module_f30+3838+0c262d71       updates-modular     2.8 M
Installing module profiles:
 ruby/default                                                                                

Transaction Summary
==============================================================================================
Upgrade  3 Packages

Total download size: 3.1 M
Is this ok [y/N]: 

...
Upgraded:
  ruby-2.6.2-119.module_f30+3838+0c262d71.x86_64                                              
  ruby-devel-2.6.2-119.module_f30+3838+0c262d71.x86_64                                        
  ruby-libs-2.6.2-119.module_f30+3838+0c262d71.x86_64                                         

Complete!

Since this is quite old and many things have changed, I'm just closing it. If this issue still exist, please report it to DNF.

Metadata Update from @asamalik:
- Issue close_status updated to: Invalid
- Issue status updated to: Closed (was: Open)

4 years ago

This issue "only ruby, ruby-devel, ruby-libs binary RPMs are installed when running dnf module install ruby:2.6/default" is reported and explained at https://bugzilla.redhat.com/show_bug.cgi?id=1730807#c5 .

The issue happens when ruby and ruby-devel RPM packages are already installed directly by dnf install before running "dnf module install ruby:2.6/default".

And that was explained as a specification at https://bugzilla.redhat.com/show_bug.cgi?id=1730807#c7 .

Login to comment on this ticket.

Metadata