Comment 2 for bug 1914636

Revision history for this message
Muhammad Naufal Hilmy Makarim (mnaufalhilmym) wrote : Re: 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

---------------------
Fixing method:
Check if /etc/mysql directory exist. If it exist, then check if /etc/mysql/conf.d/ exist. It it not exist, then check if /etc/mysql/mysql.conf.d exist. If it exist then run the command below.
$ sudo ln -s /etc/mysql/mysql.conf.d /etc/mysql/conf.d
That command create symbolic link to provide compatibility. After that, run command below.
$ sudo apt-get --fix-broken install

That's it ^_^