Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.0.9
-
None
-
None
-
Centos 6.4, 64-bit
Description
Upgrade from MariaDB 5.5.36 via yum fails for MariaDB-server package.
Downloading Packages:
|
MariaDB-10.0.9-centos6-x86_64-server.rpm | 51 MB 03:10
|
Running rpm_check_debug
|
Running Transaction Test
|
Transaction Test Succeeded
|
Running Transaction
|
Error in PREIN scriptlet in rpm package MariaDB-server-10.0.9-1.el6.x86_64
|
|
******************************************************************
|
A MySQL or MariaDB server package (MariaDB-server-5.5.36-1.el6.x86_64
|
MariaDB-server-5.5.36-1.el6.x86_64) is installed.
|
|
The current MariaDB server package is provided by a different
|
vendor (package MariaDB-server-5.5.36-1.el6.x86_64
|
MariaDB-server-5.5.36-1.el6.x86_64 is not installed) than Monty Program AB. Some files may be installed
|
to different locations, including log files and the service
|
startup script in /etc/init.d/.
|
...
|
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.9-1.el6.x86_64) scriptlet failed, exit status 1
|
error: install: %pre scriptlet failed (2), skipping MariaDB-server-10.0.9-1.el6
|
Verifying : MariaDB-server-10.0.9-1.el6.x86_64 1/2
|
MariaDB-server-5.5.36-1.el6.x86_64 was supposed to be removed but is not!
|
Verifying : MariaDB-server-5.5.36-1.el6.x86_64 2/2
|
|
Failed:
|
MariaDB-server.x86_64 0:5.5.36-1.el6 MariaDB-server.x86_64 0:10.0.9-1.el6
|
Other MariaDB related packages upgraded ok (MariaDB-common-10.0.9-1.el6.x86_64, MariaDB-compat-10.0.9-1.el6.x86_64, MariaDB-client-10.0.9-1.el6.x86_64)
Attachments
Activity
Field | Original Value | New Value |
---|---|---|
Assignee | Elena Stepanova [ elenst ] |
Description |
Upgrade from MariaDB 5.5.36 via yum fails for MariaDB-server package. Downloading Packages: MariaDB-10.0.9-centos6-x86_64-server.rpm | 51 MB 03:10 Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Error in PREIN scriptlet in rpm package MariaDB-server-10.0.9-1.el6.x86_64 ****************************************************************** A MySQL or MariaDB server package (MariaDB-server-5.5.36-1.el6.x86_64 MariaDB-server-5.5.36-1.el6.x86_64) is installed. The current MariaDB server package is provided by a different vendor (package MariaDB-server-5.5.36-1.el6.x86_64 MariaDB-server-5.5.36-1.el6.x86_64 is not installed) than Monty Program AB. Some files may be installed to different locations, including log files and the service startup script in /etc/init.d/. ... 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.9-1.el6.x86_64) scriptlet failed, exit status 1 error: install: %pre scriptlet failed (2), skipping MariaDB-server-10.0.9-1.el6 Verifying : MariaDB-server-10.0.9-1.el6.x86_64 1/2 MariaDB-server-5.5.36-1.el6.x86_64 was supposed to be removed but is not! Verifying : MariaDB-server-5.5.36-1.el6.x86_64 2/2 Failed: MariaDB-server.x86_64 0:5.5.36-1.el6 MariaDB-server.x86_64 0:10.0.9-1.el6 Other MariaDB related packages upgraded ok (MariaDB-common-10.0.9-1.el6.x86_64, MariaDB-compat-10.0.9-1.el6.x86_64, MariaDB-client-10.0.9-1.el6.x86_64) |
Upgrade from MariaDB 5.5.36 via yum fails for MariaDB-server package. {noformat} Downloading Packages: MariaDB-10.0.9-centos6-x86_64-server.rpm | 51 MB 03:10 Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Error in PREIN scriptlet in rpm package MariaDB-server-10.0.9-1.el6.x86_64 ****************************************************************** A MySQL or MariaDB server package (MariaDB-server-5.5.36-1.el6.x86_64 MariaDB-server-5.5.36-1.el6.x86_64) is installed. The current MariaDB server package is provided by a different vendor (package MariaDB-server-5.5.36-1.el6.x86_64 MariaDB-server-5.5.36-1.el6.x86_64 is not installed) than Monty Program AB. Some files may be installed to different locations, including log files and the service startup script in /etc/init.d/. {noformat} ... {noformat} 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.9-1.el6.x86_64) scriptlet failed, exit status 1 error: install: %pre scriptlet failed (2), skipping MariaDB-server-10.0.9-1.el6 Verifying : MariaDB-server-10.0.9-1.el6.x86_64 1/2 MariaDB-server-5.5.36-1.el6.x86_64 was supposed to be removed but is not! Verifying : MariaDB-server-5.5.36-1.el6.x86_64 2/2 Failed: MariaDB-server.x86_64 0:5.5.36-1.el6 MariaDB-server.x86_64 0:10.0.9-1.el6 {noformat} Other MariaDB related packages upgraded ok (MariaDB-common-10.0.9-1.el6.x86_64, MariaDB-compat-10.0.9-1.el6.x86_64, MariaDB-client-10.0.9-1.el6.x86_64) |
Fix Version/s | 10.0.10 [ 14500 ] | |
Assignee | Elena Stepanova [ elenst ] | Sergei Golubchik [ serg ] |
Description |
Upgrade from MariaDB 5.5.36 via yum fails for MariaDB-server package. {noformat} Downloading Packages: MariaDB-10.0.9-centos6-x86_64-server.rpm | 51 MB 03:10 Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Error in PREIN scriptlet in rpm package MariaDB-server-10.0.9-1.el6.x86_64 ****************************************************************** A MySQL or MariaDB server package (MariaDB-server-5.5.36-1.el6.x86_64 MariaDB-server-5.5.36-1.el6.x86_64) is installed. The current MariaDB server package is provided by a different vendor (package MariaDB-server-5.5.36-1.el6.x86_64 MariaDB-server-5.5.36-1.el6.x86_64 is not installed) than Monty Program AB. Some files may be installed to different locations, including log files and the service startup script in /etc/init.d/. {noformat} ... {noformat} 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.9-1.el6.x86_64) scriptlet failed, exit status 1 error: install: %pre scriptlet failed (2), skipping MariaDB-server-10.0.9-1.el6 Verifying : MariaDB-server-10.0.9-1.el6.x86_64 1/2 MariaDB-server-5.5.36-1.el6.x86_64 was supposed to be removed but is not! Verifying : MariaDB-server-5.5.36-1.el6.x86_64 2/2 Failed: MariaDB-server.x86_64 0:5.5.36-1.el6 MariaDB-server.x86_64 0:10.0.9-1.el6 {noformat} Other MariaDB related packages upgraded ok (MariaDB-common-10.0.9-1.el6.x86_64, MariaDB-compat-10.0.9-1.el6.x86_64, MariaDB-client-10.0.9-1.el6.x86_64) |
Upgrade from MariaDB 5.5.36 via yum fails for MariaDB-server package. {noformat} Downloading Packages: MariaDB-10.0.9-centos6-x86_64-server.rpm | 51 MB 03:10 Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Error in PREIN scriptlet in rpm package MariaDB-server-10.0.9-1.el6.x86_64 ****************************************************************** A MySQL or MariaDB server package (MariaDB-server-5.5.36-1.el6.x86_64 MariaDB-server-5.5.36-1.el6.x86_64) is installed. The current MariaDB server package is provided by a different vendor (package MariaDB-server-5.5.36-1.el6.x86_64 MariaDB-server-5.5.36-1.el6.x86_64 is not installed) than Monty Program AB. Some files may be installed to different locations, including log files and the service startup script in /etc/init.d/. ... 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.9-1.el6.x86_64) scriptlet failed, exit status 1 error: install: %pre scriptlet failed (2), skipping MariaDB-server-10.0.9-1.el6 Verifying : MariaDB-server-10.0.9-1.el6.x86_64 1/2 MariaDB-server-5.5.36-1.el6.x86_64 was supposed to be removed but is not! Verifying : MariaDB-server-5.5.36-1.el6.x86_64 2/2 Failed: MariaDB-server.x86_64 0:5.5.36-1.el6 MariaDB-server.x86_64 0:10.0.9-1.el6 {noformat} Other MariaDB related packages upgraded ok (MariaDB-common-10.0.9-1.el6.x86_64, MariaDB-compat-10.0.9-1.el6.x86_64, MariaDB-client-10.0.9-1.el6.x86_64) |
Status | Open [ 1 ] | In Progress [ 3 ] |
Fix Version/s | 5.5.37 [ 15000 ] |
Resolution | Fixed [ 1 ] | |
Status | In Progress [ 3 ] | Closed [ 6 ] |
Workflow | defaullt [ 36423 ] | MariaDB v2 [ 43012 ] |
Workflow | MariaDB v2 [ 43012 ] | MariaDB v3 [ 62048 ] |
Workflow | MariaDB v3 [ 62048 ] | MariaDB v4 [ 147615 ] |
Hi,
While the text that the upgrade offers is weird and should be fixed, in the essence it holds true:
Upgrading directly from MySQL <unrecognized version package MariaDB-server-5.5.36-1.el6.x86_64
MariaDB-server-5.5.36-1.el6.x86_64 is not installed> 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