Run dist-upgrade after MariaDB upgrade

This commit is contained in:
VirtuBox
2020-10-28 11:11:01 +01:00
parent 13394e4a08
commit 4bca86580e
2 changed files with 4 additions and 1 deletions

View File

@@ -53,6 +53,8 @@ class WOStackMigrateController(CementBaseController):
WOAptGet.remove(self, ["mariadb-server"])
WOAptGet.auto_remove(self)
WOAptGet.install(self, WOVar.wo_mysql)
WOAptGet.dist_upgrade(self)
WOAptGet.auto_remove(self)
Log.valide(self, "Upgrading MariaDB ")
WOFileUtils.mvfile(
self, '/etc/mysql/my.cnf', '/etc/mysql/my.cnf.old')