CentOS 6.5上安装MariaDB(二)

2015-03-05 23:52:21 · 作者: · 浏览: 86
-----------------------------------------------------------------
Total? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 40 kB/s |? 55 MB? ? 23:34? ?
warning: rpmts_HdrFromFdno: Header V4 DSA/SHA1 Signature, key ID 1bb943db: NOKEY
Retrieving key from https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
Importing GPG key 0x1BB943DB:
?Userid: "Daniel Bartholomew (Monty Program signing key) "
?From? : https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
Is this ok [y/N]: y
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
? Installing : MariaDB-compat-5.5.36-1.el6.x86_64? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 1/7
? Installing : MariaDB-common-5.5.36-1.el6.x86_64? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 2/7
Error in PREIN scriptlet in rpm package MariaDB-server-5.5.36-1.el6.x86_64


******************************************************************
A MySQL or MariaDB server package (mysql-server-5.1.71-1.el6.x86_64) is installed.


The current MariaDB server package is provided by a different
vendor (CentOS) than Monty Program AB.? Some files may be installed
to different locations, including log files and the service
startup script in /etc/init.d/.


Upgrading directly from MySQL 5.1 to MariaDB 5.5 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 ' 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-5.5.36-1.el6.x86_64) scriptlet failed, exit status 1
error:? install: %pre scriptlet failed (2), skipping MariaDB-server-5.5.36-1.el6
? Installing : MariaDB-client-5.5.36-1.el6.x86_64? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 4/7
? Erasing? ? : mysql-5.1.71-1.el6.x86_64? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 5/7
? Erasing? ? : mysql-libs-5.1.71-1.el6.x86_64? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 6/7
? Verifying? : MariaDB-common-5.5.36-1.el6.x86_64? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 1/7
? Verifying? : MariaDB-compat-5.5.36-1.el6.x86_64? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 2/7
? Verifying? : MariaDB-client-5.5.36-1.el6.x86_64? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 3/7
? Verifying? : mysql-libs-5.1.71-1.el6.x86_64? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 4/7
? Verifying? : MariaDB-server-5.5.36-1.el6.x86_64? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 5/7
mysql-server-5.1.71-1.el6.x86_64 was supposed to be removed but is not!
? Verifying? : mysql-server-5.1.71-1.el6.x86_64? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 6/7
? Verifying? : mysql-5.1.71-1.el6.x86_64? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 7/7


Installed:
? MariaDB-client.x86_64 0:5.5.36-1.el6? ? ? ? ? ? ? ? ? ? MariaDB-compat.x86_64 0:5.5.36-1.el6