The output listed in DpkgTerminalLog.txt seems to suggest there is a configuration setting which specifies a non-existent symlink location - have you customised the installation at all?
/var/lib/dpkg/info/mysql-server-5.7.postinst: linha 191: /usr/share/mysql-common/configure-symlinks: Arquivo ou diretório inexistente dpkg: erro ao processar o pacote mysql-server-5.7 (--configure): installed mysql-server-5.7 package post-installation script subprocess returned error exit status 127 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1784502 Title: package mysql-server-5.7 5.7.23-0ubuntu0.18.04.1 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/1784502/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs