Bug 882211
| Summary: | DNF to show packages which have a higher version available but can not be updated (e.g for dependency reasons) | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Ales Kozumplik <akozumpl> |
| Component: | dnf | Assignee: | Ales Kozumplik <akozumpl> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 18 | CC: | akozumpl, jzeleny, mls |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | dnf-0.2.20 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-03-25 09:47: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: | |
| Embargoed: | |||
|
Description
Ales Kozumplik
2012-11-30 12:06:45 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). Also see bug 872948 for related discussion. 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. (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!! 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. 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 |