Commit e07ed9aa authored by Otto Kekäläinen's avatar Otto Kekäläinen

Clean up old debian-*.flag files from datadir

to avoid unexpected behavior at later upgrades (Closes: #770177)
parent 579282f2
......@@ -18,6 +18,8 @@ mariadb-10.0 (10.0.15-1) unstable; urgency=low
was introduced in the new upstream release.
* Allow mariadb-server-10.0 to overwrite file man1/mysql_plugin.1.gz in
mysql-client-5.5 with breaks and replaces (Closes: #771213).
* Clean up old debian-*.flag files from datadir to avoid unexpected
behavior at later upgrades (Closes: #770177).
-- Otto Kekäläinen <otto@seravo.fi> Tue, 25 Nov 2014 21:45:43 +0200
......
# OK, embedded has same source
mariadb-client-core-10.0: embedded-library usr/bin/mysql: libmysqlclient
mariadb-client-core-10.0: embedded-library usr/bin/mysqlcheck: libmysqlclient
# OK, embedded has same source
mariadb-server-10.0: embedded-library usr/bin/mysqlbinlog: libmysqlclient
# ash's buildin has no "-e" so use /bin/echo
mariadb-server-10.0: command-with-path-in-maintainer-script postinst:196 /bin/echo
mariadb-server-10.0: command-with-path-in-maintainer-script postinst:210 /bin/echo
mariadb-server-10.0: command-with-path-in-maintainer-script postinst:218 /bin/echo
mariadb-server-10.0: command-with-path-in-maintainer-script postinst:198 /bin/echo
mariadb-server-10.0: command-with-path-in-maintainer-script postinst:212 /bin/echo
mariadb-server-10.0: command-with-path-in-maintainer-script postinst:220 /bin/echo
......@@ -133,7 +133,9 @@ EOF
# data directory and then somewhen gets purged by the admin.
db_set mysql-server/postrm_remove_database false || true
# To avoid downgrades.
# Clean up old flags before setting new one
rm $mysql_statedir/debian-*.flag
# Flag data dir to avoid downgrades
touch $mysql_statedir/debian-10.0.flag
# initiate databases. Output is not allowed by debconf :-(
......@@ -145,7 +147,7 @@ EOF
set +e
bash /usr/bin/mysql_install_db --rpm --user=mysql 2>&1 | $ERR_LOGGER
set -e
## On every reconfiguration the maintenance user is recreated.
#
# - It is easier to regenerate the password every time but as people
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment