Summary: | "dnf module reset" will clear the "install" information | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | yalzhang <yalzhang> |
Component: | dnf | Assignee: | Pavla Kratochvilova <pkratoch> |
Status: | CLOSED ERRATA | QA Contact: | Eva Mrakova <emrakova> |
Severity: | unspecified | Docs Contact: | |
Priority: | medium | ||
Version: | --- | CC: | amatej, james.antill, pkratoch |
Target Milestone: | rc | Keywords: | Triaged |
Target Release: | 8.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | dnf-4.2.11-1.el8 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-04-28 16:48:04 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: |
Description
yalzhang@redhat.com
2019-07-16 03:01:09 UTC
This is actually expected behavior. A module profile can be installed only for an enabled stream (when you install a profile, streams get enabled accordingly). Therefore, when you reset a module, no stream is enabled and all the profiles get removed. I can enhance the documentation, so that it is clear that reset also has this effect. Additionally, you are mentioning package visibility. All packages from enabled and default streams are visible, other modules packages are not visible. Since the module stream you are mentioning is default (indicated by the "[d]"), it is expected that you can see its packages. Is this explanation sufficient? PR that improves the documentation: https://github.com/rpm-software-management/dnf/pull/1437 (In reply to Pavla Kratochvilova from comment #1) > This is actually expected behavior. > > A module profile can be installed only for an enabled stream (when you > install a profile, streams get enabled accordingly). Therefore, when you > reset a module, no stream is enabled and all the profiles get removed. > > I can enhance the documentation, so that it is clear that reset also has > this effect. > > Additionally, you are mentioning package visibility. All packages from > enabled and default streams are visible, other modules packages are not > visible. Since the module stream you are mentioning is default (indicated by > the "[d]"), it is expected that you can see its packages. > > Is this explanation sufficient? Yes, it's very clear. Thank you very much! Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2020:1823 |