Bug 1755028
Summary: | dnf module: Changing a behavior of "dnf module install $name:$stream" in case of there is no default module profile | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jun Aruga <jaruga> |
Component: | dnf | Assignee: | rpm-software-management |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 30 | CC: | dmach, jmracek, jrohel, mblaha, mhatina, packaging-team-maint, pkratoch, rpm-software-management, vmukhame |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-09-27 12:23:51 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Jun Aruga
2019-09-24 14:49:46 UTC
The issue is fixed in dnf-0:4.2.8-2.fc30.noarch Error is as follows: No default profiles for module postgresql:11. Available profiles: client, server Error: Problems in request: missing groups or modules: postgresql:11 Thanks for checking! I checked the error handling is implemented for the dnf in fedora:rawhide container like this. ``` $ podman run --rm -it fedora:rawhide bash [root@4723a7db9a65 /]# rpm -q dnf dnf-4.2.9-2.fc32.noarch [root@4723a7db9a65 /]# dnf module list postgresql Fedora - Modular Rawhide - Developmental packages for the nex 1.1 MB/s | 2.6 MB 00:02 Fedora - Rawhide - Developmental packages for the next Fedora 2.0 MB/s | 61 MB 00:30 Last metadata expiration check: 0:00:01 ago on Fri Sep 27 14:32:37 2019. Fedora - Modular Rawhide - Developmental packages for the next Fedora release Name Stream Profiles Summary postgresql 9.6 client, server [d] PostgreSQL module postgresql 10 client, server [d] PostgreSQL module postgresql 11 client, server [d] PostgreSQL module postgresql 12 client, libpq, server PostgreSQL module Hint: [d]efault, [e]nabled, [x]disabled, [i]nstalled [root@4723a7db9a65 /]# dnf module install postgresql:12 Last metadata expiration check: 0:01:34 ago on Fri Sep 27 14:32:37 2019. No default profiles for module postgresql:12. Available profiles: client, libpq, server Error: Problems in request: missing groups or modules: postgresql:12 [root@4723a7db9a65 /]# echo $? 1 ``` |