Bug 746831 - java-1.7.0-openjdk package does not provide 'java'
Summary: java-1.7.0-openjdk package does not provide 'java'
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: java-1.7.0-openjdk
Version: 16
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Deepak Bhole
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-17 21:35 UTC by Mikko Tiihonen
Modified: 2011-10-17 21:47 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-10-17 21:47:04 UTC
Type: ---


Attachments (Terms of Use)

Description Mikko Tiihonen 2011-10-17 21:35:39 UTC
Description of problem:
I have java-1.7.0-openjdk installed in F16. When installing postgresql-jdbc yum wrongly think it needs to install java-1.6.0-openjdk too.

Version-Release number of selected component (if applicable):
java-1.7.0-openjdk-1.7.0.0-0.1.20110803.1.fc16.x86_64

How reproducible:
always

Steps to Reproduce:
1. yum install java-1.7.0-openjdk
2. yum install postgresql-jdbc
  
Actual results:
yum installs java-1.6.0-openjdk

Expected results:
yum is content with java-1.7.0-openjdk

Additional info:
# yum provides java
java-1.5.0-gcj-1.5.0.0-37.fc16.x86_64 : JPackage runtime compatibility layer java-1.6.0-openjdk-1.6.0.0-59.1.10.3.fc16.x86_64 : OpenJDK Runtime Environment
- but no java-1.7.0-openjdk

Comment 1 Deepak Bhole 2011-10-17 21:47:04 UTC
This is intentional. java-1.6.0-openjdk is the primary Java in F16. To enforce that, the 1.7.0 rpm does not provide 'java', 'java-devel' or any of the usual provides. Please this ticket for more info:

https://fedorahosted.org/fesco/ticket/663


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