JDK-6531764 : Installation of Solaris Packages fails with jdk1.6.0_01-b05
  • Type: Bug
  • Component: install
  • Sub-Component: install
  • Affected Version: 6u1
  • Priority: P1
  • Status: Closed
  • Resolution: Fixed
  • OS: solaris
  • CPU: generic
  • Submitted: 2007-03-07
  • Updated: 2010-09-17
  • Resolved: 2007-03-07
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6 JDK 7
6u1 b05Fixed 7Fixed
Description
Installation of Solaris Packages fails with jdk1.6.0_01-b05
The following error is occured:
% pkgadd -d . SUNWj6rt

JDK 6.0 Runtime Env. (1.6.0_01)(i386) 1.6.0,REV=2006.11.29.05.03
Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
Use is subject to license terms.
Using </usr> as the package base directory.
## Processing package information.
pkgadd: ERROR: bad entry read in pkgmap
    pathname=copyright
    problem=unable to read content info
pkgadd: ERROR: unable to process pkgmap

Installation of <SUNWj6rt> failed (internal error).
No changes were made to the system.

NOTE: The istallation was successful with jdk1.6.0_01-b04
Installation fails on Solaris Sparc also with build jdk1.6.0_01-b05
Here is the log:

root[csh]@northgate[28]# pkgadd -d . SUNWj6rt SUNWj6dev SUNWj6cfg SUNWj6man SUNWj6dmo

Processing package instance <SUNWj6rt> from </home/ranjitl/Desktop>

JDK 6.0 Runtime Env. (1.6.0_01)(sparc) 1.6.0,REV=2006.11.29.05.57
Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
Use is subject to license terms.
Using </usr> as the package base directory.
## Processing package information.
pkgadd: ERROR: bad entry read in pkgmap
    pathname=copyright
    problem=unable to read content info
pkgadd: ERROR: unable to process pkgmap

Installation of <SUNWj6rt> failed (internal error).
No changes were made to the system.

There are 4 more packages to be installed.

Do you want to continue with package installation? [y,n,?] y

Processing package instance <SUNWj6dev> from </home/ranjitl/Desktop>

JDK 6.0 Dev. Tools (1.6.0_01)(sparc) 1.6.0,REV=2006.11.29.05.57
Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
Use is subject to license terms.
Using </usr> as the package base directory.
## Processing package information.
pkgadd: ERROR: bad entry read in pkgmap
    pathname=copyright
    problem=unable to read content info
pkgadd: ERROR: unable to process pkgmap

Installation of <SUNWj6dev> failed (internal error).
No changes were made to the system.

There are 3 more packages to be installed.

Do you want to continue with package installation? [y,n,?] y

Processing package instance <SUNWj6cfg> from </home/ranjitl/Desktop>

JDK 6.0 Host Config. (1.6.0_01)(sparc) 1.6.0,REV=2006.11.29.05.57
Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
Use is subject to license terms.
Using </> as the package base directory.
## Processing package information.
pkgadd: ERROR: bad entry read in pkgmap
    pathname=copyright
    problem=unable to read content info
pkgadd: ERROR: unable to process pkgmap

Installation of <SUNWj6cfg> failed (internal error).
No changes were made to the system.

There are 2 more packages to be installed.

Do you want to continue with package installation? [y,n,?] y

Processing package instance <SUNWj6man> from </home/ranjitl/Desktop>

JDK 6.0 Man Pages (1.6.0_01)(sparc) 1.6.0,REV=2006.12.07.16.37
Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
Use is subject to license terms.
Using </usr> as the package base directory.
## Processing package information.
pkgadd: ERROR: bad entry read in pkgmap
    pathname=copyright
    problem=unable to read content info
pkgadd: ERROR: unable to process pkgmap

Installation of <SUNWj6man> failed (internal error).
No changes were made to the system.

There is 1 more package to be installed.

Do you want to continue with package installation? [y,n,?] y

Processing package instance <SUNWj6dmo> from </home/ranjitl/Desktop>

JDK 6.0 Demo Programs (1.6.0_01)(sparc) 1.6.0,REV=2006.11.29.05.57
Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
Use is subject to license terms.
Using </usr> as the package base directory.
## Processing package information.
pkgadd: ERROR: bad entry read in pkgmap
    pathname=copyright
    problem=unable to read content info
pkgadd: ERROR: unable to process pkgmap

Installation of <SUNWj6dmo> failed (internal error).
No changes were made to the system.
root[csh]@northgate[29]#

Comments
EVALUATION script to create freshbit versions of the packages failed for 6u1 b05. Regeneration of the freshbit packages resolved the problem. Since the log file did not reveil the error, I've added an extra pkgchk after the freshbit script runs.
07-03-2007