Bug 1669502 - dnf module install <module> says: No default profiles
Summary: dnf module install <module> says: No default profiles
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: rpm-software-management
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-01-25 14:07 UTC by Andrei Stepanov
Modified: 2019-01-28 12:53 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-01-28 12:53:57 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Andrei Stepanov 2019-01-25 14:07:26 UTC
dnf-4.0.9-2.fc29.noarch

From:  man 8 dnf

dnf [options] module install <module_spec>...
              Install module profiles incl. their RPMs.  In case no profile was provided, all default profiles get installed.  Module streams get enabled accordingly.


# dnf module install standard-test-roles
Last metadata expiration check: 0:10:25 ago on Fri 25 Jan 2019 08:54:18 AM EST.
No default profiles for module standard-test-roles:3.0
Dependencies resolved.
Nothing to do.
Complete!


However, there is default profile:

https://src.fedoraproject.org/modules/standard-test-roles/blob/3.0/f/standard-test-roles.yaml

# dnf module info standard-test-roles
Last metadata expiration check: 0:11:15 ago on Fri 25 Jan 2019 08:54:18 AM EST.
standard-test-rolesName        : standard-test-roles
Stream      : 3.0 [e] [a]
Version     : 2920190114142648
Context     : 6c81f848
Profiles    : provisioner-qemu, default

Comment 1 Jaroslav Mracek 2019-01-28 12:53:57 UTC
I know that name of profile "default" is confusing and profile with name "default" could be marked as default. I have think that profiles named "default" will be renamed to "common" or something similar.

To install profile default please use command: dnf module install standard-test-roles/default

Hope that it helped.


Note You need to log in before you can comment on or make changes to this bug.