Here is the error message:
Setting up mariadb-common (1:10.5.13-0ubuntu0.21.10.1) ...
update-alternatives: error: alternative path /etc/mysql/mariadb.cnf doesn't exist
dpkg: error processing package mariadb-common (--configure):
installed mariadb-common package post-installation script subprocess returned error exit status 2
Errors were encountered while processing:
mariadb-common
I also get:
Package failed to install:
Error while installing package: installed mariadb-common package post-installation script subprocess returned error exit status 2
Please report this issue to the packagers of your distribution
What should I do?