Bug #63491 Packaging error with mysql-5.5.18-solaris10-sparc-64bit.pkg.gz
Submitted: 30 Nov 2011 0:57 Modified: 24 Feb 2012 19:28
Reporter: Mark Dalton Email Updates:
Status: No Feedback Impact on me:
None 
Category:MySQL Server: Packaging Severity:S2 (Serious)
Version:5.5.18 OS:Solaris (SunOS heoc-cir 5.10 Generic_144488-17 sun4u sparc SUNW,Sun-Fire-880)
Assigned to: CPU Architecture:Any

[30 Nov 2011 0:57] Mark Dalton
Description:
After extracting the datastream package file from the gzip'ed file (mysql-5.5.18-solaris10-sparc-64bit.pkg.gz), Solaris "pkgchk" reports the following errors:

[root@heoc-cir]/home/mdalton# gunzip mysql-5.5.18-solaris10-sparc-64bit.pkg.gz
[root@heoc-cir]/home/mdalton# pkgchk -d mysql-5.5.18-solaris10-sparc-64bit.pkg all
Checking uninstalled stream format package <mysql> from </opt/home/mdalton/mysql-5.5.18-solaris10-sparc-64bit.pkg>
## Checking control scripts.
## Checking package objects.
ERROR: /var/tmp/aaaS5a46A/mysql/reloc/mysql/mysql-test/extra/rpl_tests/rpl_row_001.test
    file size <1909> expected <5810> actual
    file cksum <22700> expected <53940> actual
## Checking is complete.
[root@heoc-cir]/home/mdalton#

Attempting to "patchadd" this package, anyway, yields a partially installed package:

[ verifying class <none> ]
ERROR: content verification of </opt/mysql/mysql/mysql-test/extra/rpl_tests/rpl_row_001.test> failed
    file size <1909> expected <5810> actual
    file cksum <22700> expected <53940> actual
## Executing postinstall script.

PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:

/opt/mysql/mysql/bin/mysqladmin -u root password 'new-password'
/opt/mysql/mysql/bin/mysqladmin -u root -h heoc-cir password 'new-password'

Alternatively you can run:
/opt/mysql/mysql/bin/mysql_secure_installation

which will also give you the option of removing the test
databases and anonymous user created by default.  This is
strongly recommended for production servers.

See the manual for more instructions.

Please report any problems with the /opt/mysql/mysql/scripts/mysqlbug script!

Installation of <mysql> partially failed.

How to repeat:
1. gunzip mysql-5.5.18-solaris10-sparc-64bit.pkg.gz

2  pkgchk -d mysql-5.5.18-solaris10-sparc-64bit.pkg all

3. pkgadd -d mysql-5.5.18-solaris10-sparc-64bit.pkg all

Suggested fix:
Verify the contents of "rpl_tests" directory tree and correct the pkgmap file.
[30 Nov 2011 0:59] Mark Dalton
I meant to say "pkgadd" rather than "patchadd".  My bad!
[24 Jan 2012 19:28] Valeriy Kravchuk
Please, check if the same problem still happens with a newer version, 5.5.20.
[25 Feb 2012 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".