Bug 1329614 - Upgrade pkg.rpm with broken dep fail but upgrade pkg succeed
Summary: Upgrade pkg.rpm with broken dep fail but upgrade pkg succeed
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 25
Hardware: Unspecified
OS: Unspecified
low
unspecified
Target Milestone: ---
Assignee: rpm-software-management
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-22 11:27 UTC by Jaroslav Mracek
Modified: 2017-01-19 08:12 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-01-19 08:12:50 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1329617 0 low CLOSED Downgrade fails with broken dep with --setopt=strict=False 2021-02-22 00:41:40 UTC

Internal Links: 1329617

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


Note You need to log in before you can comment on or make changes to this bug.