I’ve had this problem since I’ve upgraded my MariaDB to 10.1 (Centos 6).
--> Finished Dependency Resolution Error: Package: galera-25.3.20-1.rhel6.el6.x86_64 (mariadb) Requires: libboost_program_options.so.5()(64bit) Removing: boost-program-options-1.41.0-28.el6.x86_64 (@base) libboost_program_options.so.5()(64bit) Updated By: boost-program-options-1.55.0-25.el6.x86_64 (okay) Not found
After many try and fail, I’ve found that the problem was in being using the epel repo.
So the solution to my problem was removing this repo.
# yum remove epel-release Loaded plugins: fastestmirror, security Setting up Remove Process Resolving Dependencies ---> Running transaction check ---> Package epel-release.noarch 0:6-8 will be erased ---> Processing Dependency: epel-release = 6 for package: ius-release-1.0-15.ius.centos6.noarch ---> Processing Dependency: epel-release = 6 for package: remi-release-6.9-1.el6.remi.noarch ---> Processing Dependency: epel-release for package: okay-release-1-1.noarch ---> Running transaction check ---> Package ius-release.noarch 0:1.0-15.ius.centos6 will be erased ---> Package okay-release.noarch 0:1-1 will be erased ---> Package remi-release.noarch 0:6.9-1.el6.remi will be erased ---> Finished Dependency Resolution Dependencies Resolved =============================================================================================================================================================================================================== Package Arch Version Repository Size =============================================================================================================================================================================================================== Removing: epel-release noarch 6-8 installed 22 k Removing for dependencies: ius-release noarch 1.0-15.ius.centos6 installed 8.5 k okay-release noarch 1-1 installed 19 k remi-release noarch 6.9-1.el6.remi @remi-safe 12 k Transaction Summary =============================================================================================================================================================================================================== Remove 4 Package(s) Installed size: 61 k Is this ok [y/N]: y Downloading Packages: Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Warning: RPMDB altered outside of yum. ** Found 2 pre-existing rpmdb problem(s), 'yum check' output follows: boost-program-options-1.53.0-26.el7.x86_64 is a duplicate with boost-program-options-1.41.0-28.el6.x86_64 boost-program-options-1.53.0-26.el7.x86_64 has missing requires of libc.so.6(GLIBC_2.14)(64bit) Erasing : remi-release-6.9-1.el6.remi.noarch 1/4 warning: /etc/yum.repos.d/remi.repo saved as /etc/yum.repos.d/remi.repo.rpmsave Erasing : okay-release-1-1.noarch 2/4 Erasing : ius-release-1.0-15.ius.centos6.noarch 3/4 Erasing : epel-release-6-8.noarch 4/4 Verifying : epel-release-6-8.noarch 1/4 Verifying : ius-release-1.0-15.ius.centos6.noarch 2/4 Verifying : okay-release-1-1.noarch 3/4 Verifying : remi-release-6.9-1.el6.remi.noarch 4/4 Removed: epel-release.noarch 0:6-8 Dependency Removed: ius-release.noarch 0:1.0-15.ius.centos6 okay-release.noarch 0:1-1 remi-release.noarch 0:6.9-1.el6.remi Complete!
Then:
# yum -y update Loaded plugins: fastestmirror, security Setting up Update Process Loading mirror speeds from cached hostfile * atomic: www4.atomicorp.com * base: centos.mirror.ptisp.pt * extras: centos.mirror.ptisp.pt * rpmforge: miroir.univ-paris13.fr * updates: centos.mirror.ptisp.pt Resolving Dependencies ---> Running transaction check ---> Package MariaDB-server.x86_64 0:10.1.22-1.el6 will be updated ---> Package MariaDB-server.x86_64 0:10.1.25-1.el6 will be an update ---> Package galera.x86_64 0:25.3.19-1.rhel6.el6 will be updated ---> Package galera.x86_64 0:25.3.20-1.rhel6.el6 will be an update ---> Finished Dependency Resolution Dependencies Resolved =============================================================================================================================================================================================================== Package Arch Version Repository Size =============================================================================================================================================================================================================== Updating: MariaDB-server x86_64 10.1.25-1.el6 mariadb 106 M galera x86_64 25.3.20-1.rhel6.el6 mariadb 8.8 M Transaction Summary =============================================================================================================================================================================================================== Upgrade 2 Package(s) Total download size: 115 M Downloading Packages: (1/2): MariaDB-10.1.25-centos6-x86_64-server.rpm | 106 MB 00:22 (2/2): galera-25.3.20-1.rhel6.el6.x86_64.rpm | 8.8 MB 00:02 --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Total 4.5 MB/s | 115 MB 00:25 Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Updating : galera-25.3.20-1.rhel6.el6.x86_64 1/4 Updating : MariaDB-server-10.1.25-1.el6.x86_64 2/4 Cleanup : MariaDB-server-10.1.22-1.el6.x86_64 3/4 Shutting down MySQL...[ OK ] Starting MySQL.170804 12:51:56 mysqld_safe Logging to '/var/log/mysqld.log'. 170804 12:51:56 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql ...[ OK ] Cleanup : galera-25.3.19-1.rhel6.el6.x86_64 4/4 Verifying : MariaDB-server-10.1.25-1.el6.x86_64 1/4 Verifying : galera-25.3.20-1.rhel6.el6.x86_64 2/4 Verifying : galera-25.3.19-1.rhel6.el6.x86_64 3/4 Verifying : MariaDB-server-10.1.22-1.el6.x86_64 4/4 Updated: MariaDB-server.x86_64 0:10.1.25-1.el6 galera.x86_64 0:25.3.20-1.rhel6.el6 Complete!