【问题标题】:How To Exclude MariaDB From remi repository?如何从 remi 存储库中排除 MariaDB?
【发布时间】:2017-01-23 12:03:22
【问题描述】:

在 CentOS 7 上安装最新的 MariaDB 时遇到问题。我使用 MariaDB 的 yum 存储库,仅用于 mariadb,另一个模块(如 php)使用 remirepo。我为 MariaDB-10 添加了一个 yum 存储库,但始终安装 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

【问题讨论】:

    标签: repository mariadb centos7


    【解决方案1】:

    mariadb 并非来自“remi”存储库,而是来自基本/更新标准存储库。

    【讨论】:

    • 对不起,你能帮我从基地禁用mariadb repo吗?
    • 请更新您不正确的问题标题。正确的 repo 文件中的“排除”指令应该可以工作。
    猜你喜欢
    • 2012-09-16
    • 2011-09-12
    • 1970-01-01
    • 2012-10-20
    • 1970-01-01
    • 2012-03-02
    • 2013-08-07
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多