Bug 1128139

Summary: dnf install succeeds with a non-installable package
Product: [Fedora] Fedora Reporter: Nikolai Kondrashov <nikolai.kondrashov>
Component: dnfAssignee: Packaging Maintenance Team <packaging-team-maint>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: jsilhan, jzeleny, packaging-team-maint, pnemade, rholy, tim.lauridsen
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-11-19 12:29:45 UTC 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 Nikolai Kondrashov 2014-08-08 11:51:20 UTC
Description of problem:
"dnf install" returns successful exit code despite one of the supplied packages being not installable, i.e. missing from the repos.

Version-Release number of selected component (if applicable):
dnf-0.5.4-1.fc20.noarch

How reproducible:
always

Steps to Reproduce:
Execute "dnf install missing bash"

Actual results:
Returned exit code is zero.

Expected results:
Returned exit code is non-zero

Additional info:
"dnf install missing" returns non-zero

Comment 1 Honza Silhan 2014-08-08 11:54:59 UTC
Thanks for the report. We'll take a look.

Comment 2 Honza Silhan 2014-11-19 12:29:45 UTC

*** This bug has been marked as a duplicate of bug 1107737 ***