Thanks for taking the time to file a bug, from the terminal log:
2018-03-27T10:54:13.150044Z 0 [ERROR] unknown variable
'log_slow_queries=/var/log/mysql/mysql-slow.log'
After searching around a bit:
The --log-slow-queries option is deprecated and is removed (along with
the log_slow_queries system variable) in MySQL 5.6. Instead, use the
--slow_query_log option to enable the slow query log and the
--slow_query_log_file=file_name option to set the slow query log file
name.
Therefore, change log_slow_queries --> slow_query_log, see:
https://dev.mysql.com/doc/refman/5.7/en/server-system-
variables.html#sysvar_slow_query_log
I am marking this incomplete as I do not believe this to be an actual
bug in Ubuntu.
** Changed in: mysql-5.7 (Ubuntu)
Status: New => Incomplete
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1759241
Title:
package mysql-server-5.7 5.7.21-0ubuntu0.16.04.1 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/1759241/+subscriptions
--
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs