2016-07-12 40 views
2

CentOS 7
yum install mysql-develを実行すると、以下のエラーが報告されます。最終的には、これを最初に解決してmysqlclientをインストールしたいと思います。これについて何か助けてくれてありがとう。ありがとう.Pythonのバージョンは3.5です。 "YUMのmysql-develのコミュニティをインストールし、" ん "のyumのmysql-develのインストール" の代わりにCentOS-7にmysql-develをインストールできない

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 

------------- 
+1

何のyumリポジトリからインストールし 'のmysql-community'でしたか?同じリポジトリからすべてのMySqlアプリをインストールしたいと思うでしょう。最も良いことは、以前のインストールを削除して(可能であれば)、1つのリポジから再インストールすることです。かなり速くなければなりません。最初にすべての設定ファイルとデータファイルをバックアップしてください。 – ldg

+2

提案していただきありがとうございます。私は以下のことを行い、解決しました:yumはmysql-community-develをインストールし、pip3はmysqlclientをインストールします – Vinodh

答えて

1

関連する問題