Bug 1157228 - "dnf install" does not always find latest version of dependency
Summary: "dnf install" does not always find latest version of dependency
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 20
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-10-26 11:13 UTC by Steve Bryant
Modified: 2014-10-27 11:00 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-10-27 11:00:37 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Steve Bryant 2014-10-26 11:13:47 UTC
Description of problem:
"dnf install pythonqt.x86_64" identified the following packages to be installed:

 pythonqt     x86_64  2.1-3.fc20                           fedora         2.4 M
 qtwebkit     x86_64  2.3.3-7.fc20                         updates         10 M
 qt-mobility  x86_64  1.2.2-0.5.20120224git.fc20           fedora         3.0 M

Immediately afterwards, "dnf upgrade" found an upgrade to "qt-mobility" (which also had a number of dependencies):

 qt-mobility  x86_64  1.2.2-0.16.20140317git169da60c.fc20  updates        7.6 k

Version-Release number of selected component (if applicable):
dnf-0.5.4-2.fc20.noarch

How reproducible:


Steps to Reproduce:
1. dnf install pythonqt.x86_64
2. dnf upgrade
3.

Actual results:
 "dnf install" selected qt-mobility-1.2.2-0.5.20120224git.fc20.x86_64 as a dependency from the "Fedora 20 - x86_64" repository.

Expected results:
 qt-mobility-1.2.2-0.16.20140317git169da60c.fc20.x86_64 installed from "Fedora 20 - x86_64 - Updates" as a dependency, without the need for a subsequent "dnf update".

Additional info:
Looks like "dnf install" is not deciding correctly which is the later release version out of "0.5" and "0.16".

Comment 1 Honza Silhan 2014-10-27 11:00:37 UTC
Please, execute `dnf upgrade --best`*. If it succesfully proceeds and still selects lower version then reopen the bug.

* `--best` will select the highest versions of all packages. It probably outputs error. Dnf without `--best` tries to find the solution without dependency problems (as yum's --skipbroken).


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