Bug 2325962
| Summary: | dnf5 can't download packages with a space in the URL | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | fedora.dm0 |
| Component: | dnf5 | Assignee: | Marek Blaha <mblaha> |
| Status: | CLOSED ERRATA | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 41 | CC: | adam.martin223, chad.schroeder, gunaseelann, jkolarik, jrohel, kabhijeet, mblaha, nsella, pkratoch, ppisar, rpm-software-management |
| Target Milestone: | --- | Keywords: | Regression, Reopened, Triaged |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | dnf5-5.2.17.0-1.fc43 dnf5-5.2.17.0-1.fc42 dnf5-5.2.17.0-1.fc41 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2025-11-04 04:55:28 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
fedora.dm0
2024-11-13 17:24:45 UTC
`createrepo_c` stores '<location href="test dir/filesystem-3.18-8.fc40.x86_64.rpm"/>' to the primary.xml file. Special characters (and space) must be encoded in the URL. Usually the rule is applied to `href` as well. And '<location href="test%20dir/filesystem-3.18-8.fc40.x86_64.rpm"/>' works with `dnf5` (`libdnf5`). Is there a bug in `createrepo_c`? Is unencoded space in `href` correct? However, the old dnf4 assumes an unencoded path in the `href`. So for compatibility we probably need to change `libdnf5` to behave like `dnf4` and assume an unencoded path in `href`. No, we need to fix createrepo_c to follow URI syntax as prescribed by XML. There is also a bug in DNF5 <https://github.com/rpm-software-management/dnf5/issues/1321>. Hi RedHat Team, Any update on this bug ? Can you share an ETA for the fix ? Thanks Abhijeet I have found a similar issue with dnf5 and packages with a carat character `^` in Fedora Linux 42 with dnf5-5.2.13.1 https://github.com/rpm-software-management/dnf5/issues/1321#issuecomment-2858261121 No ETA. RedHat teams works on RHEL and RHEL does not use DNF5 now. *** Bug 2382271 has been marked as a duplicate of this bug. *** FEDORA-2025-763e312d6a (dnf5-5.2.17.0-1.fc43) has been submitted as an update to Fedora 43. https://bodhi.fedoraproject.org/updates/FEDORA-2025-763e312d6a FEDORA-2025-763e312d6a has been pushed to the Fedora 43 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-763e312d6a` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-763e312d6a See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2025-763e312d6a (dnf5-5.2.17.0-1.fc43) has been pushed to the Fedora 43 stable repository. If problem still persists, please make note of it in this bug report. *** Bug 2407379 has been marked as a duplicate of this bug. *** Reopening for fixing this in Fedora 42 and 41. FEDORA-2025-3ffc7cce52 (dnf5-5.2.17.0-1.fc42) has been submitted as an update to Fedora 42. https://bodhi.fedoraproject.org/updates/FEDORA-2025-3ffc7cce52 FEDORA-2025-d46e5baaa0 (dnf5-5.2.17.0-1.fc41) has been submitted as an update to Fedora 41. https://bodhi.fedoraproject.org/updates/FEDORA-2025-d46e5baaa0 FEDORA-2025-3ffc7cce52 has been pushed to the Fedora 42 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-3ffc7cce52` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-3ffc7cce52 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2025-d46e5baaa0 has been pushed to the Fedora 41 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-d46e5baaa0` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-d46e5baaa0 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2025-3ffc7cce52 (dnf5-5.2.17.0-1.fc42) has been pushed to the Fedora 42 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-2025-d46e5baaa0 (dnf5-5.2.17.0-1.fc41) has been pushed to the Fedora 41 stable repository. If problem still persists, please make note of it in this bug report. |