Bug 1381224

Summary: --assumeno breaks returncode
Product: [Fedora] Fedora Reporter: Igor Gnatenko <ignatenko>
Component: dnfAssignee: rpm-software-management
Status: CLOSED CANTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: low    
Version: 26CC: jmracek, mluscon, packaging-team-maint, pnemade, rpm-software-management, vmukhame
Target Milestone: ---Keywords: Triaged, UserExperience
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: 2017-05-09 16:50:22 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:

Description Igor Gnatenko 2016-10-03 13:07:11 UTC
[brain@brain ~]$ sudo dnf install acpid --assumeno
[sudo] password for brain: 
Last metadata expiration check: 0:23:36 ago on Mon Oct 03 14:42:32 2016 CEST.
Dependencies resolved.
===================================================================================================================================================================================================================
 Package                                         Arch                                             Version                                                  Repository                                         Size
===================================================================================================================================================================================================================
Installing:
 acpid                                           x86_64                                           2.0.28-1.fc26                                            rawhide                                            75 k

Transaction Summary
===================================================================================================================================================================================================================
Install  1 Package

Total download size: 75 k
Installed size: 148 k
Operation aborted.
[brain@brain ~]$ echo $?
1

Comment 1 Honza Silhan 2016-10-10 12:48:51 UTC
FTR yum does the same.

Comment 2 Fedora End Of Life 2017-02-28 10:24:23 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 26 development cycle.
Changing version to '26'.

Comment 3 Jaroslav Mracek 2017-05-09 16:50:22 UTC
I am sorry but request breaks yum-dnf compatibility, therefore we cannot change it.