首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >无法在CentOS-7上安装mysql-devel

无法在CentOS-7上安装mysql-devel
EN

Stack Overflow用户
提问于 2016-07-13 01:22:10
回答 1查看 5.2K关注 0票数 2

在CentOS 7上,当我执行以下操作时会报告以下错误

yum安装mysql-devel。最终,我想通过首先解决这个问题来安装mysqlclient。感谢任何关于this.Thanks.Python版本是3.5的帮助。

代码语言:javascript
复制
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
     * base: centos.bhs.mirrors.ovh.net
     * epel: ny-mirrors.evowise.com
     * extras: centos.bhs.mirrors.ovh.net
     * ius: mirror.symnds.com
     * remi-safe: remi.check-update.co.uk
     * updates: centos.bhs.mirrors.ovh.net
     * webtatic: us-east.repo.webtatic.com
    Resolving Dependencies
    --> Running transaction check
    ---> Package mariadb101u-devel.x86_64 1:10.1.14-2.ius.centos7 will be installed
    --> Processing Dependency: mariadb101u-libs(x86-64) = 1:10.1.14-2.ius.centos7 for package: 1:mariadb101u-devel-10.1.14-2.ius.centos7.x86_64
    --> Running transaction check
    ---> Package mariadb101u-libs.x86_64 1:10.1.14-2.ius.centos7 will be installed
    --> Processing Dependency: mariadb101u-common(x86-64) = 1:10.1.14-2.ius.centos7 for package: 1:mariadb101u-libs-10.1.14-2.ius.centos7.x86_64
    --> Running transaction check
    ---> Package mariadb101u-common.x86_64 1:10.1.14-2.ius.centos7 will be installed
    --> Processing Dependency: mariadb101u-config(x86-64) = 1:10.1.14-2.ius.centos7 for package: 1:mariadb101u-common-10.1.14-2.ius.centos7.x86_64
    --> Running transaction check
    ---> Package mariadb101u-config.x86_64 1:10.1.14-2.ius.centos7 will be installed
    --> Finished Dependency Resolution

    Dependencies Resolved

    ==============================================================================================================================
     Package                            Arch                   Version                                  Repository           Size
    ==============================================================================================================================
    Installing:
     mariadb101u-devel                  x86_64                 1:10.1.14-2.ius.centos7                  ius                 913 k
    Installing for dependencies:
     mariadb101u-common                 x86_64                 1:10.1.14-2.ius.centos7                  ius                  60 k
     mariadb101u-config                 x86_64                 1:10.1.14-2.ius.centos7                  ius                  23 k
     mariadb101u-libs                   x86_64                 1:10.1.14-2.ius.centos7                  ius                 634 k

    Transaction Summary
    ==============================================================================================================================
    Install  1 Package (+3 Dependent packages)

    Total size: 1.6 M
    Installed size: 7.7 M
    Is this ok [y/d/N]: y
    Downloading packages:
    Running transaction check
    Running transaction test


    Transaction check error:
      file /etc/my.cnf from install of mariadb101u-config-1:10.1.14-2.ius.centos7.x86_64 conflicts with file from package mysql-community-server-5.6.31-2.el7.x86_64
      file /usr/lib64/mysql/libmysqlclient.so.18 from install of mariadb101u-libs-1:10.1.14-2.ius.centos7.x86_64 conflicts with file from package mysql-community-libs-5.6.31-2.el7.x86_64
      file /usr/bin/mysql_config from install of mariadb101u-devel-1:10.1.14-2.ius.centos7.x86_64 conflicts with file from package mysql-community-client-5.6.31-2.el7.x86_64
      file /usr/bin/mysql_config-64 from install of mariadb101u-devel-1:10.1.14-2.ius.centos7.x86_64 conflicts with file from package mysql-community-client-5.6.31-2.el7.x86_64

    Error Summary

-------------
EN

回答 1

Stack Overflow用户

发布于 2017-01-24 19:17:57

不是"yum install mysql-devel“,而是"yum install mysql-community-devel”

票数 8
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/38335330

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档