Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1788107
Summary: | dnf install 'package <> name-version.release' does not work on release + 1 | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jan Pazdziora <jpazdziora> |
Component: | dnf | Assignee: | Jaroslav Mracek <jmracek> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 32 | CC: | jmracek, jpazdziora, jrohel, mblaha, mhatina, packaging-team-maint, pkratoch, rpm-software-management, vmukhame |
Target Milestone: | --- | Keywords: | Triaged |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | dnf-4.2.21-1.fc32 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-05-01 04:04:39 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
Jan Pazdziora
2020-01-06 12:55:22 UTC
Please could you use 'python3-astroid -x python3-astroid-2.3.3-2.gitace7b29.fc31'? I believe that supposed behaviour for argument `python3-astroid <> 2.3.3-2.gitace7b29.fc31` is `No much for argument` because operator `<>` is not supported. Please could you accept workaround with `-x` as a solution for the bug? If <> is not supported, how come it seems to do the right thing on Fedora 31 for package which exists in the repository: # dnf install 'python3-astroid <> 2.3.3-2.gitace7b29.fc31' Fedora Modular 31 - x86_64 - Updates 2.7 MB/s | 3.8 MB 00:01 Fedora 31 - x86_64 - Updates 14 MB/s | 16 MB 00:01 Fedora 31 - x86_64 27 MB/s | 71 MB 00:02 Last metadata expiration check: 0:00:01 ago on Tue Jan 7 12:09:10 2020. Dependencies resolved. ================================================================================ Package Arch Version Repo Size ================================================================================ Installing: python3-astroid noarch 2.2.5-4.git28fc86f.fc31 fedora 292 k [...] I confirm that dnf install python3-astroid -x python3-astroid-2.3.3-2.gitace7b29.fc31 works as expected -- on Fedora 31 it installs (the older version) python3-astroid-2.2.5-4.git28fc86f.fc31 and on Fedora rawhide it installs python3-astroid-2.3.3-2.gitace7b29.fc32. Thank you. I created PR https://github.com/rpm-software-management/libdnf/pull/881 that makes parsing of reldep mode strict. The result is that argument python3-astroid <> 2.3.3-2.gitace7b29.fc31 will never return any result. This bug appears to have been reported against 'rawhide' during the Fedora 32 development cycle. Changing version to 32. FEDORA-2020-68aa5586ed has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-68aa5586ed FEDORA-2020-68aa5586ed has been pushed to the Fedora 32 testing repository. In short time you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-68aa5586ed` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-68aa5586ed See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2020-68aa5586ed has been pushed to the Fedora 32 stable repository. If problem still persists, please make note of it in this bug report. |