Thank you for taking the time to report this bug and helping to make Ubuntu better.
>From DpkgTerminalLog.txt it seems that mysql failed to query one of its default tables: Error occurred: Query against mysql.user table failed when checking the mysql.session. and indeed DpkgTerminalLog.txt shows several related errors: 2019-05-01T23:05:18.798998Z 0 [Warning] Can't open and lock time zone table: Table 'mysql.time_zone_leap_second' doesn't exist trying to live without them 2019-05-01T23:05:18.799119Z 0 [ERROR] Can't open and lock privilege tables: Table 'mysql.servers' doesn't exist 2019-05-01T23:05:18.799291Z 0 [ERROR] Native table 'performance_schema'.'cond_instances' has the wrong structure 2019-05-01T23:05:18.799336Z 0 [ERROR] Native table 'performance_schema'.'events_waits_current' has the wrong structure 2019-05-01T23:05:18.799369Z 0 [ERROR] Native table 'performance_schema'.'events_waits_history' has the wrong structure [...] Since it seems likely to me that this is a local configuration problem (corrupted/deleted tables), rather than a bug in Ubuntu, I'm marking this bug as Incomplete. If indeed this is a local configuration problem, you can find pointers to get help for this sort of problem here: http://www.ubuntu.com/support/community. Or if you believe that this is really a bug, we'd be grateful if you would then provide a more complete description of the problem, explain why you believe this is a bug in Ubuntu rather than a problem specific to your system, and then change the bug status back to New. ** 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/1827292 Title: package mysql-server-5.7 5.7.26-0ubuntu0.18.04.1 failed to install/upgrade: installed mysql-server-5.7 package post-installation script subprocess returned error exit status 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mysql-5.7/+bug/1827292/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs