Bug 2187981 - Trying to download the package with --resolve fails.
Summary: Trying to download the package with --resolve fails.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf5
Version: 38
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Evan Goode
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-04-19 10:53 UTC by Lukas Ruzicka
Modified: 2023-05-28 01:03 UTC (History)
4 users (show)

Fixed In Version: dnf5-5.0.11-2.fc38
Clone Of:
Environment:
Last Closed: 2023-05-28 01:03:15 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
The error message for download --resolve (10.27 KB, image/png)
2023-04-19 10:54 UTC, Lukas Ruzicka
no flags Details

Description Lukas Ruzicka 2023-04-19 10:53:45 UTC
User-Agent:       Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/112.0
Build Identifier: 

When I try to download a package with its dependencies on Fedora Server 38 (fully updated), the transaction fails with "Failed to resolve the transaction."

Reproducible: Always

Steps to Reproduce:
1. dnf5 download --resolve ruby

Actual Results:  
See the screenshot for the full error message.

Expected Results:  
Transaction should download the newest available package and its dependencies for that release.

Comment 1 Lukas Ruzicka 2023-04-19 10:54:22 UTC
Created attachment 1958278 [details]
The error message for download --resolve

Comment 2 Jaroslav Mracek 2023-04-19 11:23:35 UTC
I guess that the issue due to the fact that queries are not limited according to priority and latest packages per arch.

Comment 3 Jaroslav Mracek 2023-04-19 11:26:00 UTC
I created an issue for upstream planning: https://github.com/rpm-software-management/dnf5/issues/472

Comment 4 Jan Kolarik 2023-05-04 13:34:48 UTC
Moving to POST as the issue is done now.

Comment 5 Fedora Update System 2023-05-19 11:06:07 UTC
FEDORA-2023-c8fb79e192 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-c8fb79e192

Comment 6 Fedora Update System 2023-05-20 09:20:25 UTC
FEDORA-2023-c8fb79e192 has been pushed to the Fedora 38 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-c8fb79e192`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-c8fb79e192

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2023-05-28 01:03:15 UTC
FEDORA-2023-c8fb79e192 has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.