Upgrading MariaDB 5.5.41 to 10.0.18 have error

jazz1611

Verified User
Joined
Sep 10, 2014
Messages
28
I installed new Directadmin on Centos 7.1 then i upgrade Mariadb 5.5 to Mariadb 10 and have error/logs. Hope logs on below will helpfuls for fixing.

Code:
Upgrading MariaDB 5.5.41 to 10.0.18
Preparing packages...
MariaDB-client-5.5.41-1.el7.centos.x86_64
Preparing packages...
MariaDB-shared-5.5.41-1.el7.centos.x86_64
Preparing packages...
MariaDB-compat-5.5.41-1.el7.centos.x86_64
Preparing packages...
error reading information on service mysql: No such file or directory
error: %preun(MariaDB-server-5.5.41-1.el7.centos.x86_64) scriptlet failed, exit status 1
error: MariaDB-server-5.5.41-1.el7.centos.x86_64: erase failed
Preparing packages...
MariaDB-devel-5.5.41-1.el7.centos.x86_64
Preparing packages...
MariaDB-common-5.5.41-1.el7.centos.x86_64
warning: MariaDB-10.0.18-centos7-x86_64-client.rpm: Header V4 DSA/SHA1 Signature, key ID 1bb943db: NOKEY
Preparing...                          ################################# [100%]
Updating / installing...
   1:MariaDB-common-10.0.18-1.el7.cent################################# [ 14%]
   2:MariaDB-client-10.0.18-1.el7.cent################################# [ 29%]

******************************************************************
A MySQL or MariaDB server package (MariaDB-server-5.5.41-1.el7.centos.x86_64) is installed.

Upgrading directly from MySQL 5.5 to MariaDB 10.0 may not
be safe in all cases.  A manual dump and restore using mysqldump is
recommended.  It is important to review the MariaDB manual's Upgrading
section for version-specific incompatibilities.

A manual upgrade is required.

- Ensure that you have a complete, working backup of your data and my.cnf
  files
- Shut down the MySQL server cleanly
- Remove the existing MySQL packages.  Usually this command will
  list the packages you should remove:
  rpm -qa | grep -i '^mysql-'

  You may choose to use 'rpm --nodeps -ev <package-name>' to remove
  the package which contains the mysqlclient shared library.  The
  library will be reinstalled by the MariaDB-shared package.
- Install the new MariaDB packages supplied by Monty Program AB
- Ensure that the MariaDB server is started
- Run the 'mysql_upgrade' program

This is a brief description of the upgrade process.  Important details
can be found in the MariaDB manual, in the Upgrading section.
******************************************************************
error: %pre(MariaDB-server-10.0.18-1.el7.centos.x86_64) scriptlet failed, exit status 1
error: MariaDB-server-10.0.18-1.el7.centos.x86_64: install failed
   3:MariaDB-devel-10.0.18-1.el7.cento################################# [ 43%]
   4:MariaDB-shared-10.0.18-1.el7.cent################################# [ 57%]
   5:MariaDB-compat-10.0.18-1.el7.cent################################# [ 71%]
error: MariaDB-server-5.5.41-1.el7.centos.x86_64: erase skipped
Giving mysqld a few seconds to start up...
 
Do you still have the problem with latest version of the CustomBuild script?
 
I was having a similar problem with the latest version of custombuild. I did `rpm -e MariaDB-server-5.5.60-1.el7.centos.x86_64 --noscripts` and then custombuild completed its process when I tried again.
 
Back
Top