A first step would be to give a more helpful error message than «It didn't 
work». 
Running mysqld --verbose --help 2>&1 > /dev/null can let us detect errors 
without starting up the database fully:

lars@lars-xenial2:~/git/mysql-5.7$ mysqld --verbose --help 2>&1  > /dev/null
2016-04-15T05:19:25.553086Z 0 [ERROR] unknown variable 'myisam-recover=BACKUP'
2016-04-15T05:19:25.555137Z 0 [ERROR] Aborting

So if that command fails we can abort early and pass on the error

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

Title:
  package mysql-server-5.7 5.7.11-0ubuntu5 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/1567884/+subscriptions

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

Reply via email to