Bug 1281485 - fix distro-sync and downgrades for installonly packages
Summary: fix distro-sync and downgrades for installonly packages
Status: CLOSED DUPLICATE of bug 1191611
Alias: None
Product: Fedora
Classification: Fedora
Component: hawkey
Version: 23
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: rpm-software-management
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2015-11-12 15:59 UTC by Daniel Mach
Modified: 2016-11-25 10:14 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2016-11-25 10:14:36 UTC

Attachments (Terms of Use)

Description Daniel Mach 2015-11-12 15:59:33 UTC
I installed 3 kernels from rawhide (f24).
Then I decided to install a kernel (downgrade) from f23.

dnf <install|distro-sync|downgrade> with any combination of --allowerasing and --best options did not work.
Dnf was complaining about "conflicting requests".

Workaround was to increase number of installonly packages by setting --setopt='installonly_limit=4'

Dnf should ideally do following:
 * keep running kernel
 * install kernel specified by user
 * include latest kernel(s) if any

Comment 1 Honza Silhan 2015-11-18 13:54:16 UTC
Thanks for the report. we should refactor the selection of kernels over limit to remove. It should erase the lowest kernels which are not running which are not to be installed in the transaction.

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

Comment 3 Fedora End Of Life 2016-11-24 13:21:07 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 4 Michael Mráka 2016-11-25 10:14:36 UTC

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

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