Hi Bagus,
thank you for your report and your help to make Ubuntu better.

>From your log what puzzles me most is the error:
update-alternatives: error: alternative path /etc/mysql/my.cnf.fallback doesn't 
exist

This file is part of mysql-common and usually around.
I wonder what do the following commands report you:
$ update-alternatives  --display my.cnf
$ dpkg --verify mysql-common
$ dpkg --verify mysql-server-5.7

I don't think it really applies as no deleted conffiles are listed, but if you 
want to reinstall the packages in a way that they would re-populate any 
accidentially deleted config files you could try:
$ apt-get install --reinstall -o Dpkg::Options::="--force-confmiss" 
mysql-common mysql-server-5.7


Since it seems likely to me that this is a local configuration problem, rather 
than a bug in Ubuntu, I'm marking this bug as Incomplete for now until you 
provide the requested extra information.

If the suggested workarounds/checks already uncover the issue please
still report back so others can find the solution here.

** 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/1685644

Title:
  package mysql-common 5.7.17-0ubuntu0.16.04.2 failed to
  install/upgrade: subprocess installed post-installation script
  returned error exit status 2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mysql-5.7/+bug/1685644/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to