Erro ao instalar Mysql no CENTOS [RESOLVIDO]

1. Erro ao instalar Mysql no CENTOS [RESOLVIDO]

Marcelo Matos
zwe

(usa Ubuntu)

Enviado em 19/02/2016 - 15:53h

Caros;

Uso o Centos, e ao tentar instalar o Mysql nele, gera um erro que parece ser conflito com o MariaDB. Alguém já presenciou este erro e sabe a solução para tal?

====================

---> Package perl-Net-Daemon.noarch 0:0.48-5.el7 will be installed
--> Running transaction check
---> Package perl-Compress-Raw-Bzip2.x86_64 0:2.061-3.el7 will be installed
---> Package perl-Compress-Raw-Zlib.x86_64 1:2.061-4.el7 will be installed
--> Processing Conflict: MariaDB-common-10.1.10-1.el7.centos.x86_64 conflicts mariadb-libs < 1:10.1.10-1.el7.centos
--> Restarting Dependency Resolution with new changes.
--> Running transaction check
---> Package mariadb-libs.x86_64 1:5.5.41-2.el7_0 will be updated
---> Package mariadb-libs.x86_64 1:5.5.44-2.el7.centos will be an update
--> Processing Conflict: MariaDB-common-10.1.10-1.el7.centos.x86_64 conflicts mariadb-libs < 1:10.1.10-1.el7.centos
--> Finished Dependency Resolution
Error: MariaDB-common conflicts with 1:mariadb-libs-5.5.44-2.el7.centos.x86_64
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest


===================

Grato se puderem ajudar.

Att


  


2. MELHOR RESPOSTA

Bruno Thomaz
SarusKant

(usa CentOS)

Enviado em 22/02/2016 - 01:05h

Remova os pacotes que vc instalou do Repo base do centos.
yum remove mariadb mariadb-server mariadb-libs -y

Instale os pacotes do Repo MariaDB
yum install MariaDB-client MariaDB-server MariaDB-common --disablerepo=base -y

Se não funcionar, use isso.
yum install MariaDB-client MariaDB-server MariaDB-common --exclude=mariadb* -y

--
Bruno Thomaz

3. Re: Erro ao instalar Mysql no CENTOS

Daniel Lara Souza
danniel-lara

(usa Fedora)

Enviado em 19/02/2016 - 16:02h

use só o comando

yum install mariadb-server

pois se usar

yum install mariadb* ocorre esse erro


4. Re: Erro ao instalar Mysql no CENTOS [RESOLVIDO]

Marcelo Matos
zwe

(usa Ubuntu)

Enviado em 19/02/2016 - 16:08h

Opa Daniel;

Na verdade estou tentando instalar o Mysql. E por desencargo, tentei o comando (yum install mariadb-server) e o erro foi o mesmo.

Apenas copiei um trecho dos "Logs", o final onde aparentemente indica o conflito.

=================

Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Package mariadb-server is obsoleted by MariaDB-Galera-server, trying to install MariaDB-Galera-server-10.0.23-1.el7.centos.x86_64 instead
Resolving Dependencies
--> Running transaction check
---> Package MariaDB-Galera-server.x86_64 0:10.0.23-1.el7.centos will be installed
--> Processing Dependency: rsync for package: MariaDB-Galera-server-10.0.23-1.el7.centos.x86_64
--> Processing Dependency: MariaDB-common for package: MariaDB-Galera-server-10.0.23-1.el7.centos.x86_64
--> Processing Dependency: perl(DBI) for package: MariaDB-Galera-server-10.0.23-1.el7.centos.x86_64
--> Processing Dependency: galera for package: MariaDB-Galera-server-10.0.23-1.el7.centos.x86_64
--> Processing Dependency: perl(Data::Dumper) for package: MariaDB-Galera-server-10.0.23-1.el7.centos.x86_64
--> Processing Dependency: MariaDB-client for package: MariaDB-Galera-server-10.0.23-1.el7.centos.x86_64
--> Processing Dependency: lsof for package: MariaDB-Galera-server-10.0.23-1.el7.centos.x86_64
--> Running transaction check
---> Package MariaDB-client.x86_64 0:10.1.10-1.el7.centos will be installed
---> Package MariaDB-common.x86_64 0:10.1.10-1.el7.centos will be installed
---> Package galera.x86_64 0:25.3.9-1.rhel7.el7.centos will be installed
--> Processing Dependency: nmap for package: galera-25.3.9-1.rhel7.el7.centos.x86_64
---> Package lsof.x86_64 0:4.87-4.el7 will be installed
---> Package perl-DBI.x86_64 0:1.627-4.el7 will be installed
--> Processing Dependency: perl(RPC::PlServer) >= 0.2001 for package: perl-DBI-1.627-4.el7.x86_64
--> Processing Dependency: perl(RPC::PlClient) >= 0.2000 for package: perl-DBI-1.627-4.el7.x86_64
---> Package perl-Data-Dumper.x86_64 0:2.145-3.el7 will be installed
---> Package rsync.x86_64 0:3.0.9-17.el7 will be installed
--> Running transaction check
---> Package nmap.x86_64 2:6.40-7.el7 will be installed
--> Processing Dependency: nmap-ncat = 2:6.40-7.el7 for package: 2:nmap-6.40-7.el7.x86_64
---> Package perl-PlRPC.noarch 0:0.2020-14.el7 will be installed
--> Processing Dependency: perl(Net::Daemon) >= 0.13 for package: perl-PlRPC-0.2020-14.el7.noarch
--> Processing Dependency: perl(Net::Daemon::Log) for package: perl-PlRPC-0.2020-14.el7.noarch
--> Processing Dependency: perl(Compress::Zlib) for package: perl-PlRPC-0.2020-14.el7.noarch
--> Processing Dependency: perl(Net::Daemon::Test) for package: perl-PlRPC-0.2020-14.el7.noarch
--> Running transaction check
---> Package nmap-ncat.x86_64 2:6.40-7.el7 will be installed
---> Package perl-IO-Compress.noarch 0:2.061-2.el7 will be installed
--> Processing Dependency: perl(Compress::Raw::Bzip2) >= 2.061 for package: perl-IO-Compress-2.061-2.el7.noarch
--> Processing Dependency: perl(Compress::Raw::Zlib) >= 2.061 for package: perl-IO-Compress-2.061-2.el7.noarch
---> Package perl-Net-Daemon.noarch 0:0.48-5.el7 will be installed
--> Running transaction check
---> Package perl-Compress-Raw-Bzip2.x86_64 0:2.061-3.el7 will be installed
---> Package perl-Compress-Raw-Zlib.x86_64 1:2.061-4.el7 will be installed
--> Processing Conflict: MariaDB-common-10.1.10-1.el7.centos.x86_64 conflicts mariadb-libs < 1:10.1.10-1.el7.centos
--> Restarting Dependency Resolution with new changes.
--> Running transaction check
---> Package mariadb-libs.x86_64 1:5.5.41-2.el7_0 will be updated
---> Package mariadb-libs.x86_64 1:5.5.44-2.el7.centos will be an update
--> Processing Conflict: MariaDB-common-10.1.10-1.el7.centos.x86_64 conflicts mariadb-libs < 1:10.1.10-1.el7.centos
--> Finished Dependency Resolution
Error: MariaDB-common conflicts with 1:mariadb-libs-5.5.44-2.el7.centos.x86_64
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

============

Vlw.


5. Re: Erro ao instalar Mysql no CENTOS

Airton Lastori
alastori

(usa Outra)

Enviado em 21/02/2016 - 21:28h

Já tentou?
# yum update mysql-libs
# yum install mysql-server

Tente ver se este post ajuda: http://www.alastori.com.br/2014/05/tutorial-de-instalacao-do-mysql-56-e.html


6. Re: Erro ao instalar Mysql no CENTOS [RESOLVIDO]

Marcelo Matos
zwe

(usa Ubuntu)

Enviado em 22/02/2016 - 12:30h

Caros;

Muito obrigado pela ajuda. Eu removi os pacotes de MariaDB conflitantes e assim consegui instalar o Mysql normalmente.

Muito obrigado pela ajuda pessoal.

Att






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts