mariadb-server : Depends: mariadb-server-10.3 (>= 1:10.3.25-0ubuntu0.20.04.1)

If you have installed mysql , remove it and give it a try. it worked in my scenario.

sudo apt-get remove --purge mysql-server mysql-client mysql-common
sudo apt-get autoremove
sudo apt-get autoclean
THIS WILL WIPE ALL YOUR EXISTING DATABASES -->> sudo rm -rf /var/lib/mysql
sudo rm -rf /etc/mysql


sudo apt install mariadb-server mariadb-client

 转自

apt - mariadb-server : Depends: mariadb-server-10.3 (>= 1:10.3.25-0ubuntu0.20.04.1) but it is not going to be installed - Ask Ubuntu 

你可能感兴趣的:(mariadb,数据库)