当我尝试mariadb-server
使用以下命令在 Ubuntu 21.04 上安装时:
sudo apt install mariadb-server
它显示了这个错误:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
mariadb-server : Depends: mariadb-server-10.3 (>= 1:10.3.31-0ubuntu0.20.04.1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
答案1
MariaDB 有自己的存储库,支持 21.04...请参阅下面的链接。