Bug 1997616
Summary: | DNF is not evaluating conditional package-spec properly for "dnf install" | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Neal Gompa <ngompa13> |
Component: | dnf | Assignee: | rpm-software-management |
Status: | CLOSED DEFERRED | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | amatej, dmach, ejgoqvmerramxovrne, jmracek, jrohel, mblaha, mcatanza, mhatina, packaging-team-maint, pkratoch, rpm-software-management, vmukhame |
Target Milestone: | --- | Keywords: | 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: | 2023-06-18 08:08:52 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
Neal Gompa
2021-08-25 14:24:43 UTC
Thanks for the report. The problem is related to how we resolve arguments from commandline to packages in first place and then we ask to install those packages. We can improve it and try something like: when arguments start with '(' then do goal install provide of argument. This approach has some disadvantages. It will not work for globs and when multiarch_policy=all, because it will install only one architecture. Also there will be a problem with reports of no much found, but it can be workarrounded by creating query like always, but result will be used only for report and not for goal. Anyway the request is valid but I would prefer to resolve it in DNF5. This bug appears to have been reported against 'rawhide' during the Fedora 36 development cycle. Changing version to 36. 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. The issue is fixed in DNF5 for install command (only). DNF5 is available in Fedora 38+ therefore I consider the request as resolved. We don't have a plan to provide a patch for DNF4 therefore I am closing the bug. |