Bug 882211 - DNF to show packages which have a higher version available but can not be updated (e.g for dependency reasons)
Summary: DNF to show packages which have a higher version available but can not be upd...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 18
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: ---
Assignee: Ales Kozumplik
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-11-30 12:06 UTC by Ales Kozumplik
Modified: 2014-09-30 23:40 UTC (History)
3 users (show)

Fixed In Version: dnf-0.2.20
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-03-25 09:47:22 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Ales Kozumplik 2012-11-30 12:06:45 UTC
Description of problem:

'dnf upgrade' behaves similarly to 'yum upgrade --skip-broken', that is the user is not informed if there are packages with broken PRCOs or missing dependencies. This feature can be desirable e.g. for package maintainers testing the installability of their packages.

Comment 1 Ales Kozumplik 2012-11-30 12:09:36 UTC
Wild ideas of implementing this:

a) revert in this case to the old 'dnf upgrade' mechanism that simply looked for all latest available versions and tried to install them. (this would be resolving twice if that should happen as a part of the standard 'dnf upgrade' --- very undesirable).

b) find a way to make libsolv tell us why it didn't decide to update a particular package with an available update. (might be possible already, not possible at all (esp. with much detail) or just not yet possible).

Comment 2 Ales Kozumplik 2012-11-30 12:12:34 UTC
Also see bug 872948 for related discussion.

Comment 3 Michael Schröder 2012-12-05 16:27:58 UTC
That's basically what the SOLVER_FORCEBEST flag is about: It tells the solver to insist on the best package.

FORCEBEST can be used with install/update/distupgrade jobs.

Comment 4 Ales Kozumplik 2012-12-06 08:21:37 UTC
(In reply to comment #3)
> That's basically what the SOLVER_FORCEBEST flag is about: It tells the
> solver to insist on the best package.
> 
> FORCEBEST can be used with install/update/distupgrade jobs.

Ah cool, thank you!!

Comment 5 Ales Kozumplik 2012-12-14 09:32:30 UTC
From the git log it looks FORCEBEST was only implemented recently in libsolv, commit 96275a1, so I either first have to rebase the F18 libsolv or defer this (and other fixes) to the F19 development cycle.

Comment 6 Ales Kozumplik 2013-01-07 15:14:30 UTC
DNF commit 83d3338 introduces the --best switch that forces the best available packages into the transaction, also documented at http://akozumpl.github.com/dnf/cli_vs_yum.html#no-skip-broken


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