yum entra em conflito com o MySQL e MarioaDB

0

Eu rodei um MUD em C e estou tentando compilá-lo em uma versão mais nova do CentOS (7):

sql.h:1:25: fatal error: mysql/mysql.h: No such file or directory

Então eu tento instalar os pacotes do MySQL

[user@server src]$ sudo yum install mysql++-devel

Mas recebo muitos erros de conflito:

Resolving Dependencies
--> Running transaction check
---> Package mysql++-devel.x86_64 0:3.1.0-12.el7 will be installed
--> Processing Dependency: mysql-devel(x86-64) for package: mysql++-devel-3.1.0-12.el7.x86_64
--> Running transaction check
---> Package mariadb101u-devel.x86_64 1:10.1.32-1.ius.centos7 will be installed
--> Processing Dependency: mariadb101u-libs(x86-64) = 1:10.1.32-1.ius.centos7 for package: 1:mariadb101u-devel-10.1.32-1.ius.centos7.x86_64
--> Processing Dependency: pkgconfig(openssl) for package: 1:mariadb101u-devel-10.1.32-1.ius.centos7.x86_64
--> Running transaction check
---> Package mariadb101u-libs.x86_64 1:10.1.32-1.ius.centos7 will be installed
--> Processing Dependency: mariadb101u-common(x86-64) = 1:10.1.32-1.ius.centos7 for package: 1:mariadb101u-libs-10.1.32-1.ius.centos7.x86_64
---> Package openssl-devel.x86_64 1:1.0.2k-12.el7 will be installed
--> Processing Dependency: zlib-devel(x86-64) for package: 1:openssl-devel-1.0.2k-12.el7.x86_64
--> Processing Dependency: krb5-devel(x86-64) for package: 1:openssl-devel-1.0.2k-12.el7.x86_64
--> Running transaction check
---> Package krb5-devel.x86_64 0:1.15.1-19.el7 will be installed
--> Processing Dependency: libkadm5(x86-64) = 1.15.1-19.el7 for package: krb5-devel-1.15.1-19.el7.x86_64
--> Processing Dependency: libverto-devel for package: krb5-devel-1.15.1-19.el7.x86_64
--> Processing Dependency: libselinux-devel for package: krb5-devel-1.15.1-19.el7.x86_64
--> Processing Dependency: libcom_err-devel for package: krb5-devel-1.15.1-19.el7.x86_64
--> Processing Dependency: keyutils-libs-devel for package: krb5-devel-1.15.1-19.el7.x86_64
---> Package mariadb101u-common.x86_64 1:10.1.32-1.ius.centos7 will be installed
--> Processing Dependency: mariadb101u-config(x86-64) = 1:10.1.32-1.ius.centos7 for package: 1:mariadb101u-common-10.1.32-1.ius.centos7.x86_64
---> Package zlib-devel.x86_64 0:1.2.7-17.el7 will be installed
--> Running transaction check
---> Package keyutils-libs-devel.x86_64 0:1.5.8-3.el7 will be installed
---> Package libcom_err-devel.x86_64 0:1.42.9-12.el7_5 will be installed
---> Package libkadm5.x86_64 0:1.15.1-19.el7 will be installed
---> Package libselinux-devel.x86_64 0:2.5-12.el7 will be installed
--> Processing Dependency: libsepol-devel(x86-64) >= 2.5-6 for package: libselinux-devel-2.5-12.el7.x86_64
--> Processing Dependency: pkgconfig(libsepol) for package: libselinux-devel-2.5-12.el7.x86_64
--> Processing Dependency: pkgconfig(libpcre) for package: libselinux-devel-2.5-12.el7.x86_64
---> Package libverto-devel.x86_64 0:0.2.5-4.el7 will be installed
---> Package mariadb101u-config.x86_64 1:10.1.32-1.ius.centos7 will be installed
--> Running transaction check
---> Package libsepol-devel.x86_64 0:2.5-8.1.el7 will be installed
---> Package pcre-devel.x86_64 0:8.32-17.el7 will be installed
--> Processing Conflict: 1:mariadb101u-config-10.1.32-1.ius.centos7.x86_64 conflicts mariadb-libs < 1:10.1.32-1.ius.centos7
--> Processing Conflict: 1:mariadb101u-common-10.1.32-1.ius.centos7.x86_64 conflicts mariadb-libs < 1:10.1.32-1.ius.centos7
--> Processing Conflict: 1:mariadb101u-libs-10.1.32-1.ius.centos7.x86_64 conflicts mariadb-libs < 1:10.1.32-1.ius.centos7
--> Finished Dependency Resolution
Error: mariadb101u-common conflicts with 1:mariadb-libs-5.5.56-2.el7.x86_64
Error: mariadb101u-config conflicts with 1:mariadb-libs-5.5.56-2.el7.x86_64
Error: mariadb101u-libs conflicts with 1:mariadb-libs-5.5.56-2.el7.x86_64
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

Devo pular ou há uma maneira melhor de garantir que eu tenha os arquivos de cabeçalho do mysql C?

    
por Zeno 06.07.2018 / 06:42

1 resposta

1

Se você olhar pelo site do MariaDB, há um FAQ que mostra como resolver o (s) problema (s) que você está enfrentando. Como eu suspeitava, você tem uma mistura de RPMs instalados que não são compatíveis entre si.

A FAQ é intitulada: Instalação do MariaDB ( Versão 10.1.21) via RPMs no CentOS 7

    
por 06.07.2018 / 07:40

Tags