Bug #8074 pkgadd error on Solaris 9
Submitted: 21 Jan 2005 17:40 Modified: 19 Jul 2007 22:16
Reporter: Harry Xie Email Updates:
Status: Closed Impact on me:
None 
Category:Connector / ODBC Severity:S3 (Non-critical)
Version:3.51.10 OS:Any (Solrais 9)
Assigned to: Kent Boortz CPU Architecture:Any

[21 Jan 2005 17:40] Harry Xie
Description:
I was unable to install 3.51 on a Solaris 9 machine:
# pkgadd -d MyODBC-3.51.10-sun-solaris2.9-sparc.pkg
pkgadd: ERROR: attempt to process datastream failed
- bad format in datastream table-of-contents
pkgadd: ERROR: could not process datastream from </test/MyODBC-3.51.10-sun-solaris2.9-sparc.pkg>

I checked MD5 of the downloaded package and it is correct.

How to repeat:
Install driver package on Solaris 9.

Suggested fix:
Repackage and test?
[31 May 2005 13:22] Gary Ashford
I am also seeing this on Solaris8
pkgadd -d MyODBC-3.51.11-sun-solaris2.8-sparc.pkg produces the following:
  - bad format in datastream table-of-contents
pkgadd: ERROR: attempt to process datastream from <...MyODBC-3.51.11-sun-solaris2.8-sparc.pkg>

Is it possible you could release the Solaris drivers as tarballs, at least while the pkgadd bug is being investigated?? 
(Another bug prevents the configure script from detecting mysql_real_query correctly on Solaris, so it is not currently possible to build the driver from the source distribution either.)
[15 Sep 2005 20:28] Jesse Mundis
Still seems to be a problem 8 months later.  I get the same result described in this bug for Solaris 8, along with a confirmed md5sum of the file.

# pkgadd -d  MyODBC-3.51.10-sun-solaris2.8-sparc.pkg
pkgadd: ERROR: attempt to process datastream failed
    - bad format in datastream table-of-contents
pkgadd: ERROR: could not process datastream from
</user/jesse/MyODBC-3.51.10-sun-solaris2.8-sparc/MyODBC-3.51.10-sun-solaris2.8-sparc.pkg>

Any progress on this, or work-arounds?
[14 Jun 2007 11:26] Kent Boortz
The current installer needs to be rewritten. Currently
other bugs has taken higher priority, and only simple
TAR packages are released for Solaris. Sorry about
this.

This bug will be reverified to be corrected once the
new installer is in place. There is no ETA yet.
[19 Jul 2007 22:16] Kent Boortz
We have provided TAR packages for Solaris since 3.51.14.

We have now added as a trial packages in "pkgadd" format to
3.51.17. But the package doesn't come bundled with the 3rd
party driver manager, "unixODBC", as in earlier packagings,
it is just the MySQL Connector/ODBC 3.51 driver.