Hi, It looks like the mysqld binary is missing:
/var/lib/dpkg/info/mysql-server-8.0.postinst: line 102: mysqld: command not found The file is installed by the mysql-server-core-8.0, but according to DpkgHistoryLog.txt that package was not automatically installed when you ran: apt-get install mysql-server This could be normal if the package was already installed, but in this case the mysqld binary should be present. Did you by any chance manually removed mysql related files from your system? If this is the case, then you should be able to fix your system by purging all the mysql related packages and then reinstalling them. You can get help with this kind of operation here: https://ubuntu.com/community I'm setting the status of this report to Incomplete for the moment. If you agree with my analysis please change it to Invalid, as this is not really a bug, otherwise please explain why you believe this is a bug in Ubuntu rather than a problem specific to your system and then change the bug status back to New. Thanks! ** Changed in: mysql-8.0 (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/1882861 Title: package mysql-server-8.0 (not installed) failed to install/upgrade: installed mysql-server-8.0 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-8.0/+bug/1882861/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs