Bug 2178129
Summary: | dnf5 swap refuse to swap packages for an invalid reason | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Eva Mrakova <emrakova> |
Component: | dnf5 | Assignee: | rpm-software-management |
Status: | NEW --- | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 38 | CC: | amatej, jkolarik, mblaha, nsella, pkratoch, rpm-software-management |
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: | 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
Eva Mrakova
2023-03-14 11:52:22 UTC
Actually here the behavior is exactly the same as with dnf4. ❯ dnf swap dnf5 acpi Last metadata expiration check: 1:44:50 ago on Po 20. března 2023, 14:30:34. Error: Problem: problem with installed package dnf5-plugins-5.0.7-20230313005754.13.g8893b905.fc37.x86_64 - package dnf5-plugins-5.0.7-20230320005934.38.gae642bd8.fc37.x86_64 requires dnf5(x86-64) = 5.0.7-20230320005934.38.gae642bd8.fc37, but none of the providers can be installed . . . What you need to do is add `--allowerasing` cmdline option (for both dnf4 and dnf5). But it would be nice if dnf5 could print a hint to the user. |