February 7, 2020

Error Install MySQL Server on Ubuntu 18

A few days ago mysql server was installed again, mysql was successfully installed and the service was successfully running but if you want to install another package, this problem must be solved by installing mysql server because mysql server installation is not 100% complete yet.

Btw, fortunately the terminal history on the laptop has not been cleared so I can save the error message again on Ubuntu pastebin so that others can see the error clearly 😁. Can be seen here.

Then how do I solve the problem?

In order to solve the problem, make it a habit to read the error messageπŸ˜„ From the error message it is actually clear the cause is AppArmor parser error so the rest of the search for a solution so that it doesn’t fail to parse again the AppArmor. In this case, I just deleted the AppArmor using the command sudo apt purge apparmor then run the install mysql-server, and 100% mysql server successfully installed.