This seems to be due to a misconfiguration, from your log

ERROR: Unable to start MySQL server:
2018-12-27T20:29:22.816593Z 0 [ERROR] You have enabled the binary log, but you 
haven't provided the mandatory server-id. Please refer to the proper server 
start-up parameters documentation
2018-12-27T20:29:22.818643Z 0 [ERROR] Aborting
Please take a look at https://wiki.debian.org/Teams/MySQL/FAQ for tips on 
fixing common upgrade issues.

Then if you look for that error you find e.g. the helpful askubuntu Entry:
=> 
https://askubuntu.com/questions/829772/mysql-failed-to-restart-on-ubuntu-16-04

I'd ask you to follow the recommendations given there to fix up your
configuration, then install/upgrade of mysql should work again.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1809930

Title:
  package mysql-server-5.7 5.7.24-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/1809930/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to