Hi,
first I tried to recreate your issue, but it works fine for me.

Then I looked at /usr/share/mysql-common/configure-symlinks as in your log 
there is:
Setting up mysql-server-5.7 (5.7.22-0ubuntu18.04.1) ...
/var/lib/dpkg/info/mysql-server-5.7.postinst: line 191: 
/usr/share/mysql-common/configure-symlinks: No such file or directory

This file is in mysql-common and should be there if not removed by a script or 
accident.
Could you check if /usr/share/mysql-common/configure-symlinks exists.

Check the integrity of mysql-common, if it is missing this or also other files.
$ dpkg --verify mysql-common

I'd assume you need to re-install mysql-common and better find what exactly 
deleted the file.
If it is there, then I wonder why the postinst stumbled over missing it.

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

Title:
  package mysql-server-5.7 (not installed) failed to install/upgrade:
  installed mysql-server-5.7 package post-installation script subprocess
  returned error exit status 127

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

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

Reply via email to