Bug #68776 pkgadd mysql on solaris10 failed with bad format in datastream
Submitted: 26 Mar 2013 10:27 Modified: 22 Dec 2017 18:15
Reporter: Siyun Ai Email Updates:
Status: No Feedback Impact on me:
None 
Category:MySQL Server: Installing Severity:S2 (Serious)
Version:5.1.67 OS:Solaris
Assigned to: CPU Architecture:Any
Tags: solaris10 install fail

[26 Mar 2013 10:27] Siyun Ai
Description:
When install mysql-5.1.67 on Solaris 10, it failed with bad format in datastream.
However, md5 of the downloaded install package is same as the one published on website.

bash-3.00# gunzip mysql-5.1.67-solaris10-x86_64.pkg.gz
bash-3.00# digest -v -a md5 /export/home/mysql-5.1.67-solaris10-x86_64.pkg
md5 (/export/home/mysql-5.1.67-solaris10-x86_64.pkg) = c74b9d3d227c586bd0ee3c04dd7669c0
bash-3.00# pwd
/export/home
bash-3.00# cd /opt
bash-3.00# pkgadd -d /export/home/mysql-5.1.67-solaris10-x86_64.pkg
pkgadd: ERROR: attempt to process datastream failed
    - bad format in datastream table-of-contents
pkgadd: ERROR: could not process datastream from </export/home/mysql-5.1.67-solaris10-x86_64.pkg>
bash-3.00# uname -v
Generic_141445-09
bash-3.00# uname -av
SunOS ssgv7intra 5.10 Generic_141445-09 i86pc i386 i86pc
bash-3.00#

Please advise.

How to repeat:
1. download mysql-5.1.67-solaris10-x86_64.pkg
2. pkgadd -d mysql-5.1.67-solaris10-x86_64.pkg
[17 Apr 2013 13:44] MySQL Verification Team
Thank you for the bug report. On my side it's a packaging issue, I tried several times and got a corrupt file with X86_64 bit package the X86_32 has not presented that issue.
[18 May 2013 1:00] Bugs System
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
[24 Mar 2015 15:39] Michael Despotopoulos
My installation failed as well on Solaris 11.2

USER@solaris:~/Downloads$ sudo pkgadd -d mysql-5.6.23-solaris11-x86_64.tar 
Password: 
pkgadd: ERROR: attempt to process datastream failed- bad format in datastream table-of-contents
pkgadd: ERROR: could not process datastream from </home/USER/Downloads/mysql-5.6.23-solaris11-x86_64.tar>
[23 Dec 2017 1:00] Bugs System
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".