Hi, this is odd, from your log: mysqld: error while loading shared libraries: libaio.so.1: cannot open shared object file: No such file or directory
Could you check if you have that package and all is ok with it: $ dpkg -l libaio1 $ dpkg -S /lib/x86_64-linux-gnu/libaio.so.1 If missing install $ apt install libaio1 # then retry the upgrade But mysql-server-core-<version> depend on it so this should not be missing. Maybe verify the files: dpkg --verify libaio1 ** 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/1731676 Title: package mysql-server-5.7 5.7.20-0ubuntu0.17.04.1 failed to install/upgrade: il sottoprocesso installato script di post- installation ha restituito lo stato di errore 127 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mysql-5.7/+bug/1731676/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs