Comments - unable to upgrade from MariaDB 5.5 to MariaDB 10.0 using YUM

9 years, 11 months ago Cyberdome Cyberdome

when I am trying to update MariaDB to 10.0,

I am getting errors.

root# yum -y update mariadb-server mariadb

Loaded plugins: langpacks, refresh-packagekit 
Package(s) mariadb-server available, but not installed. 
Package(s) mariadb available, but not installed. 
No packages marked for update

root# rpm -qa | grep -iE '(maria|mysql)'
 
MariaDB-client-10.0.10-1.fc20.x86_64 
MariaDB-server-10.0.10-1.fc20.x86_64 
MariaDB-shared-10.0.10-1.fc20.x86_64 
php-mysqlnd-5.5.10-1.fc20.x86_64 
MariaDB-devel-10.0.10-1.fc20.x86_64 
qt-mysql-4.8.5-15.fc20.x86_64 
akonadi-mysql-1.11.0-2.fc20.x86_64 
MariaDB-common-10.0.10-1.fc20.x86_64

root# yum install mariadb-bench
 
Loaded plugins: langpacks, refresh-packagekit Resolving Dependencies 
--> Running transaction check 
---> Package mariadb-bench.x86_64 1:5.5.36-1.fc20 will be installed 
--> Processing Dependency: mariadb(x86-64) = 1:5.5.36-1.fc20 for package: 1:mariadb-bench-5.5.36-1.fc20.x86_64 Package 1:mariadb-5.5.36-1.fc20.x86_64 is obsoleted by MariaDB-client-10.0.10-1.fc20.x86_64 which is already installed 
--> Processing Dependency: perl(GD) for package: 1:mariadb-bench-5.5.36-1.fc20.x86_64 
--> Running transaction check 
---> Package mariadb-bench.x86_64 1:5.5.36-1.fc20 will be installed 
--> Processing Dependency: mariadb(x86-64) = 1:5.5.36-1.fc20 for package: 1:mariadb-bench-5.5.36-1.fc20.x86_64 Package 1:mariadb-5.5.36-1.fc20.x86_64 is obsoleted by MariaDB-client-10.0.10-1.fc20.x86_64 which is already installed 
---> Package perl-GD.x86_64 0:2.49-3.fc20 will be installed 
--> Finished Dependency Resolution Error: Package: 1:mariadb-bench-5.5.36-1.fc20.x86_64 (updates) Requires: mariadb(x86-64) = 1:5.5.36-1.fc20 Installed: MariaDB-client-10.0.10-1.fc20.x86_64 (@mariadb) mariadb(x86-64) = 1:10.0.10-1.fc20 Available: 1:mariadb-5.5.33a-2.fc20.x86_64 (fedora) mariadb(x86-64) = 1:5.5.33a-2.fc20 Available: 1:mariadb-5.5.36-1.fc20.x86_64 (updates) mariadb(x86-64) = 1:5.5.36-1.fc20 You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest
 
9 years, 11 months ago Elena Stepanova

For the first command yum -y update mariadb-server mariadb the response you are getting is natural, it is not an error -- you already have MariaDB 10.0.10 as your rpm -qa shows, there is nothihng to upgrade to.

For the second command, yum install mariadb-bench, the package mariadb-bench is provided by Fedora, and it seems it requires the exact same version of MariaDB client (5.5.36 in this case), which does not get installed because you have a newer one.

 
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.