无法在Debian 11上安装MySQL服务器

sshcrbum  于 2023-01-16  发布在  Mysql
关注(0)|答案(1)|浏览(347)

我已经在操作系统上安装了MySQL APT存储库,然后尝试执行以下命令:

sudo apt update
sudo apt install mysql-server

它显示了以下错误:

$ sudo apt install mysqL-server
Reading package lists.. Done
Building dependency tree.. Done
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-client-core-10.5 : Conflicts: virtual-mysql-client-core
mariadb-server-core-10.5 : Conflicts: virtual-mysql-server-core
E: Error, pkgProblemResolver: :Resolve generated breaks, this may be caused by held
packages

我从来没有在我的设备上安装过mariadb。为什么报告这个错误?我需要在我的设备上安装mysql服务器。
请帮帮我。

11dmarpk

11dmarpk1#

用apt删除mariadb删除mariadb-common然后安装mysql为我做的

相关问题