United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: 6980760 JDK 7 -rpm.bin bundle fails to install correctly
6980760 : JDK 7 -rpm.bin bundle fails to install correctly

Details
Type:
Bug
Submit Date:
2010-08-28
Status:
Closed
Updated Date:
2011-05-26
Project Name:
JDK
Resolved Date:
2011-03-25
Component:
install
OS:
linux
Sub-Component:
install
CPU:
generic
Priority:
P2
Resolution:
Won't Fix
Affected Versions:
7-pool
Fixed Versions:
7

Related Reports

Sub Tasks

Description
Testsuite name: Install/Removal
JDK/JRE tested: JDK/JRE 7 b107
OS/architecture: Linux-x86, Linux-x64
Reproducible: Always
Reproducible on machine: stt-121.russia.sun.com
Is it a platform specific regression: Y
[If yes] Is it a new platform support: N
[If yes] Regression relative to OS version: N
Is it a Regression: Y
[If yes] Regression introduced in release/build: JDK 7 (from JDK 6)
Test result on FCS: Pass/Fail (if applicable) (explicitely mention here 1.3.1 FCS, 1.4.2 FCS, 1.5.0 FCS or 1.6.0 FCS) Not applicable
Steps to reproduce: 
1. Attempt to install -rpm.bin bundle
2. See that RPM extraction failed.

[stt-robot@stt-121]$ sudo sh /set/stt/newroot/jdk/1.7.0/ea/b107/bundles/linux-i586/jre-7-ea-linux-i586-rpm.bin 
Do you agree to the above license terms? [yes or no]
yes
Unpacking...
Checksumming...
Extracting...
UnZipSFX 5.52 of 28 February 2005, by Info-ZIP (http://www.info-zip.org).
  inflating: jre-7-ea-linux-i586.rpm
Failed to extract the files.  Please refer to the Troubleshooting section of
the Installation Instructions on the download page for more information.

Though it is prompted that extraction failed, and exit code is 1, jre.rpm is successfully extracted to the working directory. And this jre.rpm is workable (at least it installs fine).

Issue is a regression from JDK 6. It is reproducible with all -rpm.bin bundles (both jdk and jre, both i586 and amd64)

                                    

Comments
SUGGESTED FIX

We need to upgrade to the latest version of unzip that works. We cannot upgrade and perform the testing this week. We would like to do this in 7-pool
                                     
2011-03-23
WORK AROUND

Users can unzip the file and ignore the messaage

unzip ../jre-7-ea-linux-i586-rpm.bin
Archive:  ../jre-7-ea-linux-i586-rpm.bin
warning [../jre-7-ea-linux-i586-rpm.bin]:  75790 extra bytes at beginning or within zipfile
  (attempting to process anyway)
  inflating: jre-7-ea-linux-i586.rpm  

alien -i jre-7-ea-linux-i586.rpm

Run the following commands


../bin/unpack200 deploy.pack deploy.jar
../bin/unpack200 charsets.pack charsets.jar
../bin/unpack200 javaws.pack javaws.jar
../bin/unpack200 jsse.pack jsse.jar
../bin/unpack200 plugin.pack plugin.jar
../bin/unpack200 rt.pack rt.jar
                                     
2011-02-01
EVALUATION

I tried this on Ubuntu and it failed. The version of Unzipsfx that we are using is no longer supported. I need to create a new bundle with the lastest version of Unzipsfx and test it. 


There are other inssues on Unbuntu in that Ubuntu doesn't support the native installation of rmps wihtout the use of alien which converts them first to debian format.
                                     
2011-02-01



Hardware and Software, Engineered to Work Together