>From your log it seems there are multiple levels of error.: grep: /etc/mysql/: No such file or directory Failed to stop mysql.service: Unit mysql.service not loaded. invoke-rc.d: initscript mysql, action "stop" failed. invoke-rc.d returned 5 There is a MySQL server running, but we failed in our attempts to stop it. Stop it yourself and try again!
Breaking this down: 1. grep: /etc/mysql/: No such file or directory Bad removal of the package? Always remove with "apt remove" or "apt purge" 2. Failed to stop mysql.service: Unit mysql.service not loaded. invoke-rc.d: initscript mysql, action "stop" failed. invoke-rc.d returned 5 Again seems like a manual config change that makes it fail to start/stop 3. There is a MySQL server running, but we failed in our attempts to stop it. Stop it yourself and try again! Something blocks the port maybe, but this could as well be a follow on issue of the others above. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1900015 Title: package mysql-server-8.0 (not installed) failed to install/upgrade: new mysql-server-8.0 package pre-installation script subprocess returned error exit status 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mysql-8.0/+bug/1900015/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
