Bug 2173050

Summary: dfn5 download exits with "success" when given an invalid package name
Product: [Fedora] Fedora Reporter: Zbigniew JÄ™drzejewski-Szmek <zbyszek>
Component: dnf5Assignee: rpm-software-management
Status: NEW --- QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 39CC: jkolarik, 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 Zbigniew Jędrzejewski-Szmek 2023-02-23 19:47:35 UTC
Description of problem:
$ dnf5 download asdfasdfasdfasd && echo OK
Updating and loading repositories:
Repositories loaded.
OK

Version-Release number of selected component (if applicable):
dnf5-5.0.6-1.fc39.x86_64

Actual results:
See above.

Expected results:
Like dnf4:
No package asdfasdfasdf available.
Exiting due to strict setting.
Error: No package asdfasdfasdf available.

Comment 1 Fedora Release Engineering 2023-08-16 07:10:14 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 39 development cycle.
Changing version to 39.