Bug 1329614

Summary: Upgrade pkg.rpm with broken dep fail but upgrade pkg succeed
Product: [Fedora] Fedora Reporter: Jaroslav Mracek <jmracek>
Component: dnfAssignee: rpm-software-management
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: low    
Version: 25CC: mluscon, packaging-team-maint, pnemade, vmukhame
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-01-19 08:12:50 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 Jaroslav Mracek 2016-04-22 11:27:56 UTC
Description of problem:
The upgrade command doesn't behave consistently with local file argument (file.rpm) and pkg_spec argument. With rpm file skip-broken behavior is not applied.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. Download newer version of installed package (a) that require upgrade dep (b)
2. dnf --exclude=b --setopt=strict=False upgrade a.rpm c (FAIL)
3. dnf --exclude=b --setopt=strict=False upgrade a c (Succeed - c is upgraded)

Actual results:
See Steps to reproduce.

Expected results:
Step no. 2 succeed with same result like step no. 3.

Additional info

Comment 1 Fedora Admin XMLRPC Client 2016-07-08 09:34:25 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 2 Fedora End Of Life 2016-11-25 07:26:34 UTC
This message is a reminder that Fedora 23 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 23. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '23'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 23 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 3 Jaroslav Mracek 2017-01-19 08:12:50 UTC
The problem was solved by refactored downgrade command and added honor of strict option for downgrade command