Mariadb 无法安装在我的 Debian 上,为什么?

Mariadb 无法安装在我的 Debian 上,为什么?

因为我喜欢拥有自己的数据库,所以我尝试安装MariaDB。

以下是我使用的步骤:

apt-get remove mysql-server mysql-client # Just to be safe that mysql isn't there
apt-get autoremove
apt-get install mariadb-server
sudo apt-get install python-software-properties
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 0xcbcb082a1bb943db
sudo add-apt-repository 'deb http://mirror.netcologne.de/mariadb/repo/10.1/debian jessie main'
sudo apt-get update
apt-get install mariadb-server

但最后它抛出这个错误:无法安装某些软件包。这可能意味着您请求了一种不可能的情况,或者如果您使用的是不稳定的发行版,某些所需的软件包尚未创建或已移出传入。以下信息可能有助于解决问题:

The following packages have unmet dependencies:
 mariadb-server : Depends: mariadb-server-10.3 (>= 10.3.5+maria~stretch) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

相关内容