Bug 2125298
| Summary: | dnf describes a hard dependency as a weak dependency | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Terry Bowling <tbowling> |
| Component: | dnf | Assignee: | rpm-software-management |
| Status: | NEW --- | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 39 | CC: | amatej, daniel.mach, jmracek, jrohel, mblaha, mhatina, nsella, packaging-team-maint, pkratoch, rpm-software-management, vmukhame |
| Target Milestone: | --- | Keywords: | RFE, Triaged |
| 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: | 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
Terry Bowling
2022-09-08 14:30:39 UTC
OK, I now understand that this is problably not a bug, but a complicated user experience problem. In this case, I have an Intel powered hardware. So I wanted to understand what was depending on the amd and nvidia firmware packages to understand if I could exclude them. Or if there was a bug I could report to correct dependencies meta data or help reduce package bloat installing unnecessary packages. The dependencies are not obvious to understand without much though and many queries. As a user, "weak dependencies" was not obvious to meant that encompassed --depends as well as suggests, supplements, and enhances. It would be nice to have some "repoquery --show-dependencies PKGNAME" that show both directions and listed the type of dependencies for each. To see the upstream/parent dependencies, I had to execute 2 commands for both the amd and nvidia packages (total of 4) # dnf repoquery --alldeps --whatrequires amd-gpu-firmware # dnf repoquery --alldeps --whatdepends amd-gpu-firmware To see the downstream dependencies, I have to query every variation, because --depends does not tell my what type of weak dependency, nor hard dependency. I thought --deplist would provide this, but it does not. # for i in --depends --requires --suggests --supplements --enhances; do echo $i; dnf repoquery $i linux-firmware; done; --depends This message is a reminder that Fedora Linux 36 is nearing its end of life. Fedora will stop maintaining and issuing updates for Fedora Linux 36 on 2023-05-16. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a 'version' of '36'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, change the 'version' to a later Fedora Linux version. Note that the version field may be hidden. Click the "Show advanced fields" button if you do not see it. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora Linux 36 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora Linux, you are encouraged to change the 'version' to a later version prior to this bug being closed. This bug appears to have been reported against 'rawhide' during the Fedora Linux 39 development cycle. Changing version to 39. |