Not the answer you need?
Register and ask your own question!

Yum confilicts on Centos 7

capt_cosmocapt_cosmo EntrantInactive User Role Beginner
Hi,
I noticed a problem when I tried to perform an 'yum update' on a Centos 7 box where the xtrabackup is installed via its official repo.

# yum update
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: pkg.adfinis-sygroup.ch
* epel: mirror.23media.de
* extras: pkg.adfinis-sygroup.ch
* updates: pkg.adfinis-sygroup.ch
Resolving Dependencies
--> Running transaction check
---> Package Percona-Server-shared-55.x86_64 0:5.5.47-rel37.7.el7 will be obsoleting
---> Package Percona-Server-shared-56.x86_64 0:5.6.28-rel76.1.el7 will be obsoleting
---> Package Percona-Server-shared-compat-57.x86_64 0:5.7.10-2rc2.1.el7 will be obsoleting
---> Package Percona-XtraDB-Cluster-shared-55.x86_64 1:5.5.41-25.11.853.el7 will be obsoleting
---> Package Percona-XtraDB-Cluster-shared-56.x86_64 1:5.6.28-25.14.1.el7 will be obsoleting
---> Package mariadb-libs.x86_64 1:5.5.44-2.el7.centos will be obsoleted
--> Processing Dependency: mariadb-libs(x86-64) = 1:5.5.44-2.el7.centos for package: 1:mariadb-server-5.5.44-2.el7.centos.x86_64
--> Processing Dependency: mariadb-libs(x86-64) = 1:5.5.44-2.el7.centos for package: 1:mariadb-5.5.44-2.el7.centos.x86_64
---> Package tzdata.noarch 0:2015g-1.el7 will be updated
---> Package tzdata.noarch 0:2016a-1.el7 will be an update
--> Processing Conflict: 1:Percona-XtraDB-Cluster-shared-55-5.5.41-25.11.853.el7.x86_64 conflicts Percona-Server-shared-55
--> Processing Conflict: 1:Percona-XtraDB-Cluster-shared-55-5.5.41-25.11.853.el7.x86_64 conflicts Percona-XtraDB-Cluster-shared-56
--> Processing Conflict: Percona-Server-shared-55-5.5.47-rel37.7.el7.x86_64 conflicts Percona-Server-shared-56
--> Processing Conflict: Percona-Server-shared-56-5.6.28-rel76.1.el7.x86_64 conflicts Percona-Server-shared-55
--> Processing Conflict: 1:Percona-XtraDB-Cluster-shared-56-5.6.28-25.14.1.el7.x86_64 conflicts Percona-Server-shared-56
--> Processing Conflict: Percona-Server-shared-compat-57-5.7.10-2rc2.1.el7.x86_64 conflicts Percona-Server-shared-55
--> Processing Conflict: Percona-Server-shared-compat-57-5.7.10-2rc2.1.el7.x86_64 conflicts Percona-Server-shared-56
--> Finished Dependency Resolution
Error: Percona-XtraDB-Cluster-shared-55 conflicts with 1:Percona-XtraDB-Cluster-shared-56-5.6.28-25.14.1.el7.x86_64
Error: Percona-Server-shared-compat-57 conflicts with Percona-Server-shared-55-5.5.47-rel37.7.el7.x86_64
Error: Package: 1:mariadb-server-5.5.44-2.el7.centos.x86_64 (@base)
Requires: mariadb-libs(x86-64) = 1:5.5.44-2.el7.centos
Removing: 1:mariadb-libs-5.5.44-2.el7.centos.x86_64 (@anaconda)
mariadb-libs(x86-64) = 1:5.5.44-2.el7.centos
Obsoleted By: Percona-Server-shared-55-5.5.47-rel37.7.el7.x86_64 (percona-release-x86_64)
Not found
Error: Percona-Server-shared-55 conflicts with Percona-Server-shared-56-5.6.28-rel76.1.el7.x86_64
Error: Percona-Server-shared-compat-57 conflicts with Percona-Server-shared-56-5.6.28-rel76.1.el7.x86_64
Error: Percona-XtraDB-Cluster-shared-56 conflicts with Percona-Server-shared-56-5.6.28-rel76.1.el7.x86_64
Error: Percona-Server-shared-56 conflicts with Percona-Server-shared-55-5.5.47-rel37.7.el7.x86_64
Error: Percona-XtraDB-Cluster-shared-55 conflicts with Percona-Server-shared-55-5.5.47-rel37.7.el7.x86_64
Error: Package: 1:mariadb-5.5.44-2.el7.centos.x86_64 (@base)
Requires: mariadb-libs(x86-64) = 1:5.5.44-2.el7.centos
Removing: 1:mariadb-libs-5.5.44-2.el7.centos.x86_64 (@anaconda)
mariadb-libs(x86-64) = 1:5.5.44-2.el7.centos
Obsoleted By: Percona-Server-shared-55-5.5.47-rel37.7.el7.x86_64 (percona-release-x86_64)
Not found
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

Anyone else with this problem? How can I perform the update in a safely manner?

Thank you.

Comments

  • dainiuxusdainiuxus Entrant Inactive User Role Beginner
    I had absolutely the same problem.Anyway, I was installing on empty machine, not updating.
    I did that way: I took conflicting package, and installed it separately: (yum install Percona-Server-shared-compat-57) It replaced some mariadb-libs.
    After that, I was able to install everything without conflicts.
    I believe upgrading packages individually is safe.
Sign In or Register to comment.

MySQL, InnoDB, MariaDB and MongoDB are trademarks of their respective owners.
Copyright ©2005 - 2020 Percona LLC. All rights reserved.