#135 Behavior of /data/profiles/foo/rpms
Opened 5 months ago by jaruga. Modified 5 months ago

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!

Login to comment on this ticket.

Metadata