Bug 770290

Summary: dependencies for openjdk need to be updated for 1.7
Product: [Fedora] Fedora Reporter: Brian Millett <bmillett>
Component: java-1.7.0-openjdkAssignee: Deepak Bhole <dbhole>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: dbhole, jvanek, omajid
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-25 17:41:24 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Brian Millett 2011-12-25 17:28:37 UTC
Description of problem:

do not have openjdk 1.6 installed, just openjdk 1.7.  This causes many non-errors (errors that are not ones) tying to update libre office

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

java-1.7.0-openjdk-demo-1.7.0.1-2.0.3.fc16.x86_64
java-1.7.0-openjdk-1.7.0.1-2.0.3.fc16.x86_64
java-1.7.0-openjdk-devel-1.7.0.1-2.0.3.fc16.x86_64

How reproducible:

Steps to Reproduce:
1.
2.
3.
  
Actual results:

Total                                                                                        1.1 MB/s | 5.2 MB     00:04     
Running Transaction Check
ERROR with transaction check vs depsolve:
jre >= 1.5.0 is needed by libreoffice-ure-1:3.4.4.2-6.fc16.x86_64
Please report this error in http://yum.baseurl.org/report
** Found 8 pre-existing rpmdb problem(s), 'yum check' output follows:
ant-1.8.2-6.fc16.noarch has missing requires of java-devel >= ('0', '1.5.0', None)
apache-commons-codec-1.4-12.fc15.noarch has missing requires of java >= ('1', '1.6.0', None)
apache-commons-logging-1.1.1-16.fc16.noarch has missing requires of java >= ('1', '1.6.0', None)
1:libreoffice-ure-3.4.4.2-3.fc16.x86_64 has missing requires of jre >= ('0', '1.5.0', None)
log4j-1.2.16-10.fc16.noarch has missing requires of java >= ('1', '1.6.0', None)
swing-layout-1.0.4-3.fc15.noarch has missing requires of java >= ('0', '1.3', None)
xerces-j2-2.11.0-3.fc15.noarch has missing requires of java
xml-commons-apis-1.4.01-4.fc16.noarch has missing requires of java
Your transaction was saved, rerun it with: yum load-transaction /tmp/yum_save_tx-2011-12-25-11-08QEaUxj.yumtx

Expected results:

should update.

Additional info:

Comment 1 Deepak Bhole 2011-12-25 17:41:24 UTC
This is intentional. In F16, Java 6 is the primary VM and the requirement that satisfies packages that needs Java:

http://fedoraproject.org/wiki/Features/Java7TechPreview#Detailed_Description

You can still use Java 7 for all your needs by setting it as the alternative (alternatives --config java|javac), but 6 but be installed alongside.

Comment 2 Brian Millett 2011-12-26 15:55:41 UTC
Ok, fair enough.