I was following a setup process of the ERPNext from here in a fresh Ubuntu 20.04 server but I'm stuck at command sudo apt -y install mariadb-server libmysqlclient-dev as I can't install mariadb in it.
The issue is
The following packages have unmet dependencies:
mariadb-server : Depends: mariadb-server-10.6 (>= 1:10.6.4+maria~hirsute) but it is not going to be installed
It was initially showing mariadb-server : Depends: mariadb-server only, then I followed some answers available on this website so it was changed to mariadb-server : Depends: mariadb-server-10.3 and after following the official site's instructions, it is now at ...10.6.
I've searched and looked on almost all questions and answers available on this website as well as on other websites, none helped. Also, I've tried installing the mariadb-server-client as suggested by the CLI but it didn't work either, I've tried installing the mariadb-server-core again as suggested by the CLI and it installed successfully but didn't help in installation of mariadb-server.
sudo apt install mariadb-serverand nothing else. No other sources, no keys, no haywiring, nothing. If you need a specific version of MariaDB, you should say so in your Question above. If you need the newest version of all software, then you shouldn't be using an LTS release. – user535733 Sep 07 '21 at 19:20