Bug 1323461

Summary: "Conflicts:" causes a failure although there is a solution
Product: Red Hat Enterprise Linux 6 Reporter: Yedidyah Bar David <didi>
Component: yumAssignee: Valentina Mukhamedzhanova <vmukhame>
Status: CLOSED WONTFIX QA Contact: BaseOS QE Security Team <qe-baseos-security>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.7CC: amarchuk, james.antill
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-26 15:02:32 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 Yedidyah Bar David 2016-04-03 09:23:18 UTC
Description of problem:

With the repos below, this fails:

yum install rhevm{,-dwh,-reports}

While this works:

yum install rhevm{,-dwh,-reports} java-1.7.0

I'd expect yum to be able to find this solution (use java-1.7.0) by itself, without me adding a "hint".

Version-Release number of selected component (if applicable):

yum-3.2.29-69.el6.noarch

How reproducible:

Always

Steps to Reproduce:
1. Install rhel6 with the below repos
2. yum install rhevm{,-dwh,-reports}
3.

Actual results:

Fails

Expected results:

Succeeds

Additional info:

See above. See also bug 1322528 and bug 1303132.

Repos used:

[rhel-67]
name=RHEL_67
baseurl=http://download.eng.tlv.redhat.com/pub/rhel/released/RHEL-6/6.7/Server/x86_64/os/Server/
enabled=1
gpgcheck=0

[rhel-67-optional]
name=RHEL_67_OPTIONAL
baseurl=http://download.eng.tlv.redhat.com/pub/rhel/released/RHEL-6/6.7/Server/optional/x86_64/os/
enabled=1
gpgcheck=0

[rhel-67-zstream]
name=RHEL_67_Z
baseurl=http://download.devel.redhat.com/rel-eng/repos/RHEL-6.7-Z/x86_64/
enabled=1
gpgcheck=0

[rhel-67-suppl]
name=RHEL_67_SUPPL
baseurl=http://download.devel.redhat.com/released/RHEL-6-Supplementary/6.7/Server/x86_64/os/
enabled=1
gpgcheck=0

[jboss-eap-6.4.Z]
name=jboss eap 6.4.Z
baseurl=http://download.eng.tlv.redhat.com/pub/rhel/devel/candidates/JBEAP/composing/latest-JBEAP-6.4-RHEL-6/compose/Server/x86_64/os/
enabled=1
gpgcheck=0
[rhev-3.6.5-1]
name=RHEV 3.6.5-1
baseurl=http://bob.eng.lab.tlv.redhat.com/builds/3.6/3.6.5-1/el$releasever
enabled=1
skip_if_unavailable=1
gpgcheck=0

Comment 1 Yedidyah Bar David 2016-04-03 09:27:43 UTC
*** Bug 1322528 has been marked as a duplicate of this bug. ***

Comment 3 Valentina Mukhamedzhanova 2016-07-26 15:02:32 UTC
Indeed yum's depsolver doesn't always find a solution where it exists. This will be addressed in dnf where the depsolver has a completely different algorithm. I'm afraid, on RHEL6 we will have to work around this with hints.