Comment 4 for bug 905712

Revision history for this message
Sergey Petrunia (sergefp) wrote :

Fails on centos 5.7, too:

[root@centos57-vm rpms]# rpm -qa | grep -i maria
MariaDB-shared-5.3.2-102.el5
MariaDB-test-5.3.2-102.el5
MariaDB-debuginfo-5.3.2-102.el5
MariaDB-devel-5.3.2-102.el5
MariaDB-server-5.3.2-102.el5
MariaDB-client-5.3.2-102.el5
[root@centos57-vm rpms]# rpm -U *.rpm
warning: MariaDB-client-5.3.3-108.el5.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 1bb943db

******************************************************************
A MySQL or MariaDB server package (MariaDB-server-5.3.2-102.el5) is installed.

The current MariaDB server package is provided by a different
vendor (MariaDB (http://mariadb.com/)) than Monty Program - http://www.montyprogram.com/. Some files may be installed
to different locations, including log files and the service
startup script in /etc/init.d/.

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 - http://www.montyprogram.com/
- 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-5.3.3-108.el5.x86_64) scriptlet failed, exit status 1
error: install: %pre scriptlet failed (2), skipping MariaDB-server-5.3.3-108.el5