软件包 MariaDB-shared 需要 MariaDB-common,但无法安装任何提供程序

软件包 MariaDB-shared 需要 MariaDB-common,但无法安装任何提供程序

我正在尝试更新 CentOS 8 服务器上的软件包,但是当我运行时sudo dnf update,出现以下消息:

Last metadata expiration check: 0:43:34 ago on Wed 12 May 2021 11:59:25 AM CEST.
Error: 
 Problem 1: package MariaDB-shared-10.3.29-1.el8.x86_64 requires MariaDB-common, but none of the providers can be installed
  - cannot install the best update candidate for package mariadb-connector-c-3.0.7-1.el8.x86_64
  - package MariaDB-common-10.3.27-1.el8.x86_64 is filtered out by modular filtering
  - package MariaDB-common-10.3.28-1.el8.x86_64 is filtered out by modular filtering
  - package MariaDB-common-10.3.29-1.el8.x86_64 is filtered out by modular filtering
 Problem 2: package MariaDB-shared-10.3.29-1.el8.x86_64 requires MariaDB-common, but none of the providers can be installed
  - cannot install the best update candidate for package mariadb-connector-c-config-3.0.7-1.el8.noarch
  - package MariaDB-common-10.3.27-1.el8.x86_64 is filtered out by modular filtering
  - package MariaDB-common-10.3.28-1.el8.x86_64 is filtered out by modular filtering
  - package MariaDB-common-10.3.29-1.el8.x86_64 is filtered out by modular filtering
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

已安装的软件包与可更新的软件包存在冲突。如何修复此问题,以便一切顺利更新?

答案1

我遇到了同样的问题。要解决此问题,您需要module_hotfixes = true在 /etc/yum.repos.d 中设置存储库定义。请参阅有关此问题的 MariaDB 错误报告:https://jira.mariadb.org/browse/MDEV-25675

干杯,大卫

相关内容