Bug 2187981

Summary: Trying to download the package with --resolve fails.
Product: [Fedora] Fedora Reporter: Lukas Ruzicka <lruzicka>
Component: dnf5Assignee: Evan Goode <egoode>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: 38CC: jkolarik, nsella, pkratoch, rpm-software-management
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: dnf5-5.0.11-2.fc38 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-05-28 01:03:15 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:
Attachments:
Description Flags
The error message for download --resolve none

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.