Upgrading MariaDB 5.5 to 10.1.11 fails with RPM (MDEV-9584)

[MDEV-9809] Transaction check error upon installing MariaDB-server and MariaDB-client over previously installed mariadb-server + mariadb from distro on Fedora Created: 2016-03-28  Updated: 2020-04-22

Status: Open
Project: MariaDB Server
Component/s: Packaging
Affects Version/s: N/A
Fix Version/s: 10.1

Type: Technical task Priority: Major
Reporter: Elena Stepanova Assignee: Sergei Golubchik
Resolution: Unresolved Votes: 0
Labels: None

Issue Links:
PartOf
is part of MDEV-22329 Packages issues when upgrading Open
Sprint: 10.1.14

 Description   

Note: this is about dnf install specifically, because dnf upgrade does not work in a different way, see MDEV-9808.

rpm -qa | grep -iE 'maria|mysql|galera|percona'
mariadb-10.0.23-1.fc23.x86_64
mariadb-config-10.0.23-1.fc23.x86_64
mariadb-errmsg-10.0.23-1.fc23.x86_64
mariadb-libs-10.0.23-1.fc23.x86_64
mariadb-server-10.0.23-1.fc23.x86_64
mariadb-common-10.0.23-1.fc23.x86_64
perl-DBD-MySQL-4.033-1.fc23.x86_64

sudo dnf --nogpgcheck install -y MariaDB-server MariaDB-client
galera                0% [                    ] ---  B/s |   0  B     --:-- ETA
galera                                          691 kB/s | 1.6 kB     00:00    
MariaDB New Release   0% [                    ] ---  B/s |   0  B     --:-- ETA
MariaDB New Release                              47 MB/s |  88 kB     00:00    
Last metadata expiration check performed 0:00:00 ago on Mon Mar 28 01:01:06 2016.
Dependencies resolved.
================================================================================
 Package                   Arch       Version                 Repository   Size
================================================================================
Installing:
 MariaDB-client            x86_64     10.1.14-1.fc23          local        34 M
     replacing  mariadb.x86_64 1:10.0.23-1.fc23
 MariaDB-common            x86_64     10.1.14-1.fc23          local        47 k
 MariaDB-server            x86_64     10.1.14-1.fc23          local        86 M
     replacing  mariadb-server.x86_64 1:10.0.23-1.fc23
 MariaDB-shared            x86_64     10.1.14-1.fc23          local       1.3 M
     replacing  mariadb-libs.x86_64 1:10.0.23-1.fc23
 boost-program-options     x86_64     1.58.0-11.fc23          updates     167 k
 galera                    x86_64     25.3.15-1.fc23.fc23     galera      8.9 M
 
Transaction Summary
================================================================================
Install  6 Packages
 
Total size: 130 M
Total download size: 9.1 M
Installed size: 579 M
Downloading Packages:
(1/2): galera-25.3.1  0% [                    ] ---  B/s |   0  B     --:-- ETA
(1/2): boost-program-options-1.58.0-11.fc23.x86  21 MB/s | 167 kB     00:00    
(2/2): galera-25.3.1  3% [-                   ]  40 MB/s | 328 kB     00:00 ETA
(2/2): galera-25.3.15-1.fc23.fc23.x86_64.rpm     70 MB/s | 8.9 MB     00:00    
--------------------------------------------------------------------------------
Total                                            13 MB/s | 9.1 MB     00:00     
Running transaction check
Transaction check succeeded.
Running transaction test
The downloaded packages were saved in cache till the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.

Error: Transaction check error:
  file /etc/my.cnf from install of MariaDB-common-10.1.14-1.fc23.x86_64 conflicts with file from package mariadb-config-1:10.0.23-1.fc23.x86_64
  file /usr/lib64/mysql/plugin/dialog.so from install of MariaDB-common-10.1.14-1.fc23.x86_64 conflicts with file from package mariadb-common-1:10.0.23-1.fc23.x86_64
  file /usr/lib64/mysql/plugin/mysql_clear_password.so from install of MariaDB-common-10.1.14-1.fc23.x86_64 conflicts with file from package mariadb-common-1:10.0.23-1.fc23.x86_64


Generated at Thu Feb 08 07:37:30 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.