>From the dpkg history log, it looks like you are mixing mariadb and mysql. I'm not sure transitioning from one to the other is supported, and in any case it's asking for trouble in my opinion. I suggest you pick one of the two.
For your current machine, I also suggest the following to try to fix it: sudo apt update sudo apt -f install And then choose between mariadb and mysql. ** Changed in: mysql-5.7 (Ubuntu) Status: Triaged => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1856597 Title: sepackage mysql-server-5.7 5.7.28-0ubuntu0.18.04.4 failed to install/upgrade: instalado mysql-server-5.7 paquete post-installation guión el subproceso devolvió un error con estado de salida 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mysql-5.7/+bug/1856597/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs