I have the same error:
update-alternatives: error: alternative path /etc/mysql/mariadb.cnf doesn't exist
And this is content of /etc/mysql
ls /etc/mysql conf.d mariadb.conf.d my.cnf my.cnf.fallback
I have the same error:
update- alternatives: error: alternative path /etc/mysql/ mariadb. cnf doesn't exist
And this is content of /etc/mysql
ls /etc/mysql
conf.d mariadb.conf.d my.cnf my.cnf.fallback