Bug 1323461 - "Conflicts:" causes a failure although there is a solution
Summary: "Conflicts:" causes a failure although there is a solution
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: yum
Version: 6.7
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Valentina Mukhamedzhanova
QA Contact: BaseOS QE Security Team
URL:
Whiteboard:
: 1322528 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-03 09:23 UTC by Yedidyah Bar David
Modified: 2016-07-26 15:02 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-26 15:02:32 UTC
Target Upstream Version:


Attachments (Terms of Use)

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.


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