Mantis - cas_preserveconf
Viewing Issue Advanced Details
5303 packaging crash always 2017-06-29 11:46 2017-06-30 09:44
sortel  
dam  
normal  
closed  
unable to reproduce  
none    
none  
0005303: bad format in datastream table-of-contents
During installation on Solaris 9:
=> Installing CSWcas-preserveconf-1.49,REV=2013.08.05 (1/1) ...
pkgadd: ERROR: attempt to process datastream failed
    - bad format in datastream table-of-contents
pkgadd: ERROR: could not process datastream from </var/opt/csw/pkgutil/packages/cas_preserveconf-1.49,REV=2013.08.05-SunOS5.9-all-CSW.pkg>
Exiting pkgutil due to pkgadd error: 99
# /opt/csw/bin/pkgutil -y -i cas_preserveconf
Solving needed dependencies ...
Solving dependency order ...
1 CURRENT packages:
        CSWcommon-1.5,REV=2010.12.11
Install 1 NEW packages:
        CSWcas-preserveconf-1.49,REV=2013.08.05 (opencsw/testing)
Total size: 2.6 KB
=> Fetching CSWcas-preserveconf-1.49,REV=2013.08.05 (1/1) ...

=> Installing CSWcas-preserveconf-1.49,REV=2013.08.05 (1/1) ...
pkgadd: ERROR: attempt to process datastream failed
    - bad format in datastream table-of-contents
pkgadd: ERROR: could not process datastream from </var/opt/csw/pkgutil/packages/cas_preserveconf-1.49,REV=2013.08.05-SunOS5.9-all-CSW.pkg>
Exiting pkgutil due to pkgadd error: 99
Issue History
2017-06-29 11:46 sortel New Issue
2017-06-29 12:09 dam Status new => assigned
2017-06-29 12:09 dam Assigned To => dam
2017-06-29 12:10 dam Note Added: 0011254
2017-06-29 12:10 dam Status assigned => feedback
2017-06-29 12:24 sortel Note Added: 0011255
2017-06-29 12:57 dam Note Added: 0011256
2017-06-30 02:34 sortel Note Added: 0011257
2017-06-30 09:44 dam Status feedback => closed
2017-06-30 09:44 dam Resolution open => unable to reproduce

Notes
(0011254)
dam   
2017-06-29 12:10   
Works for me:

unstable9s# /opt/csw/bin/pkgutil -y -i cas_preserveconf
=> Fetching new catalog and descriptions (file:///export/mirror/opencsw-official/unstable/sparc/5.9) [^] if available ...
==> 3072 packages loaded from /var/opt/csw/pkgutil/catalog._export_mirror_opencsw-official_unstable_sparc_5.9
Solving needed dependencies ...
Solving dependency order ...
1 CURRENT packages:
        CSWcommon-1.5,REV=2010.12.11
Install 1 NEW packages:
        CSWcas-preserveconf-1.49,REV=2013.08.05 (opencsw-official/unstable)
Total size: 2.6 KB
=> Fetching CSWcas-preserveconf-1.49,REV=2013.08.05 (1/1) ...

=> Installing CSWcas-preserveconf-1.49,REV=2013.08.05 (1/1) ...
Please see /opt/csw/share/doc/cas_preserveconf/license for license information.

Installation of <CSWcas-preserveconf> was successful.
unstable9s#

Try removing the cached packages at /var/opt/csw/pkgutil/packages, probably select a different mirror and retry.
(0011255)
sortel   
2017-06-29 12:24   
Thanks for taking such a quick look. Removing the cache did not work. How can I select a different mirror? Thanks.
(0011256)
dam   
2017-06-29 12:57   
Setting a mirror:
  ^]

Here is a fresh list:
  https://mirror.opencsw.org/status/ [^]
(0011257)
sortel   
2017-06-30 02:34   
Unfortunately this seems to be a pkgadd problem. Every package that I download on this solaris 9 box fails. Even a manual pkgadd -d on the downloaded packages. I must be missing some pkgadd patch.

Thanks for your help. I think we can close this unless you have any insight.

Scott