我在CentOS 7上安装最新的MariaDB时遇到问题。我使用MariaDB的yum存储库,仅使用mariadb,另一个模块如php使用remirepo。我为MariaDB-10添加了一个yum repo,但总是安装了mariadb-55。
--> Finished Dependency Resolution
Error: MariaDB-common conflicts with 1:mariadb-libs-5.5.52-1.el7.x86_64
Error: Package: 1:mariadb-5.5.52-1.el7.x86_64 (base)
Requires: mariadb-libs(x86-64) = 1:5.5.52-1.el7
Installed: MariaDB-shared-10.1.21-1.el7.centos.x86_64 (@mariadb)
mariadb-libs(x86-64) = 1:10.1.21-1.el7.centos
Error: Package: 1:mariadb-server-5.5.52-1.el7.x86_64 (base)
Requires: mariadb-libs(x86-64) = 1:5.5.52-1.el7
Installed: MariaDB-shared-10.1.21-1.el7.centos.x86_64 (@mariadb)
mariadb-libs(x86-64) = 1:10.1.21-1.el7.centos
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
我也在remi.repo上排除了选项
/etc/yum.repos.d/remi.repo
## Exclude following Packages Updates ##
exclude=mariadb-server mariadb mariadb-libs MariaDB-common MariaDB-client
答案 0 :(得分:0)
mariadb并非来自" remi"存储库,但来自base / updates标准存储库。