>From your log: 2019-11-28T16:19:14.950383Z 0 [ERROR] unknown variable 'SET GLOBAL sql_mode=NO_ENGINE_SUBSTITUTION' 2019-11-28T16:19:14.950399Z 0 [ERROR] Aborting
This is actually supposed to be set with a commandline argument: https://dev.mysql.com/doc/refman/8.0/en/sql-mode.html https://dev.mysql.com/doc/refman/5.7/en/sql-mode.html even back in https://dev.mysql.com/doc/refman/5.5/en/sql-mode.html You have set this as entry in your /etc/mysql/my.cnf I'd assume you'd need to adapt your configuration, drop this custom part, then upgrade and then bring the config in at the right place that works for the new version. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1854380 Title: package mysql-server-5.7 5.7.28-0ubuntu0.16.04.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mysql-5.7/+bug/1854380/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs