How did I prevent MySQL failing on any `apt install <package>` command in Ubuntu 20?

How did I fix «update-alternatives: error: alternative path /etc/mysql/mysql.cnf doesn't exist»?