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.
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/MaintainerS cripts? action= AttachFile& do=get& target= upgrade. png -- linked from http:// wiki.debian. org/MaintainerS cripts
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.