Here are the steps to recreate the issue. 1. Use the following tutorial to install mysql 5.7 on ubuntu 20.04. Insert some data into the database. https://techexpert.tips/mysql/installing-mysql-5-7-ubuntu-20-04/
2. Uninstall mysql-client, mysql-community-server, and mysql-server. apt-get remove mysql-community-server mysql-community-client mysql-server mysql-common mysql-client 3. remove /etc/apt/preferences.d/mysql 4. install the default verson of mysql-server. apt-get install mysql-server -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1914636 Title: package mysql-server-8.0 8.0.23-0ubuntu0.20.04.1 failed to install/upgrade: installed mysql-server-8.0 package post-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/1914636/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs