Bug 1755005
Summary: | dnf module: A switched stream does not have "[i]" even when the RPMs are installed. | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jun Aruga <jaruga> |
Component: | dnf | Assignee: | Jaroslav Mracek <jmracek> |
Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 31 | 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 09:12:19 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:13:36 UTC
The key information is that "dnf module reset ruby" was used. In this step dnf remove all information about installed content of ruby module. In past when module switch operation was allowed and dnf remember installed profiler other people complain that this behavior is incorrect, because same profile in different stream could have different package content. Here is the list of commands that will result in state that you expect: 1. # dnf module install ruby:2.5 2. # dnf module reset ruby 3. # dnf module install ruby:2.6 4. # dnf distro-sync Jaroslav, thanks for the answer. > In past when module switch operation was allowed and dnf remember installed profiler other people complain that this behavior is incorrect, because same profile in different stream could have different package content. I see. But I see that there is a proposal for module switch operation here. https://pagure.io/modularity/issue/143 My commands to switch a stream are from below modularity document. > https://docs.fedoraproject.org/en-US/modularity/using-modules-switching-streams/ ``` $ sudo dnf module reset NAME $ sudo dnf module enable NAME:STREAM $ sudo dnf --allowerasing distro-sync [RPM]... ``` Do you think it is better to change it to your suggested steps like this? ``` $ sudo dnf module reset NAME $ sudo dnf module install NAME:STREAM $ sudo dnf --allowerasing distro-sync [RPM]... ``` |