Comment 13 for bug 1112363

Revision history for this message
Raghavendra D Prabhu (raghavendra-prabhu) wrote : Re: problems with Percona XtraDB Cluster upgrade 5.5.29

Most of the things the postinst runs under configure are not
required during upgrade.

Things like: (one or more in the following are run)

a) Updating the privilege tables and plugins.

b) mysql_install_db

c) Recreating debian.cnf

etc.

Based on the flowchart here - http://wiki.debian.org/MaintainerScripts?action=AttachFile&do=get&target=upgrade.png -- linked from http://wiki.debian.org/MaintainerScripts

We need to distinguish between upgrade and fresh installation by
looking at the second parameter which is the version.

Also, PXC has imported this script directly from PS. So this is a
PS bug as well.