[MDEV-13164] Error when I try update mariadb - "conflicts between attempted installs" Created: 2017-06-24 Updated: 2022-01-07 Resolved: 2022-01-06 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Packaging, Platform RedHat |
| Affects Version/s: | 5.5 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Minor |
| Reporter: | Edgar | Assignee: | Unassigned |
| Resolution: | Incomplete | Votes: | 0 |
| Labels: | upstream-wontfix | ||
| Environment: |
CentOS 7.3.1611 |
||
| Description |
|
Hi I can´t update from Mariadb 5.5.52 to 5.5.56 due next errors:
|
| Comments |
| Comment by Elena Stepanova [ 2017-06-24 ] | ||||||||||||||||||||||||||||||||||||||||
|
Please paste the output of
before your attempt to install, and the complete installation command. | ||||||||||||||||||||||||||||||||||||||||
| Comment by Edgar [ 2017-06-24 ] | ||||||||||||||||||||||||||||||||||||||||
|
Runing this code and trying after "yum update" I get these errors:
I installed MariaDB 1 month ago like: NOTE: My servers installers are recent and very clean | ||||||||||||||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2017-06-24 ] | ||||||||||||||||||||||||||||||||||||||||
|
Please paste the output of
before your attempt to run yum update. | ||||||||||||||||||||||||||||||||||||||||
| Comment by Edgar [ 2017-06-24 ] | ||||||||||||||||||||||||||||||||||||||||
|
Hello
and after i run "yum update" but the same error continue | ||||||||||||||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2017-06-24 ] | ||||||||||||||||||||||||||||||||||||||||
|
Thank you. It appears that you have MariaDB server installed from the default CentOS repo (which contains packages built and provided by CentOS), but when you run yum update, it tries to read and install stuff from MariaDB repo (which contains packages built and provided by MariaDB). While the components inside them are fully compatible, the packages themselves are not. Is it your intention to switch from the CentOS repo to MariaDB repo? If it is, you'll probably need to remove CentOS packages first, and then install ones from MariaDB repo. Unless you have a compelling reason to switch to MariaDB repo, I recommend staying with the distro repo, updates will be smoother this way. | ||||||||||||||||||||||||||||||||||||||||
| Comment by Edgar [ 2017-06-24 ] | ||||||||||||||||||||||||||||||||||||||||
|
Thank you Ms Elena. For remove mariadb direct repo; It works deleting file MariaDB.repo from MC? NOTE: I remember now, I created manually file MariaDB.repo in etc/yum.repos.d because from the Centos repository it was never possible to update MariaDB. | ||||||||||||||||||||||||||||||||||||||||
| Comment by Edgar [ 2017-06-24 ] | ||||||||||||||||||||||||||||||||||||||||
|
After deleting my MariaDB repo I run "yum clean all" and "yum update", then Mariadb is not updated to 5.5.56:
| ||||||||||||||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2017-06-24 ] | ||||||||||||||||||||||||||||||||||||||||
|
True, it appears that at the moment the latest MariaDB version available in CentOS repo is 5.5.52:
I'm not sure why it is so, whether it's their policy or an oversight, we need to find out. | ||||||||||||||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2017-07-23 ] | ||||||||||||||||||||||||||||||||||||||||
|
ratzpo, do you know how to contact CentOS to find out why MariaDB stopped being updated in their repo? Should we keep recommending people to install it from the default repo (regardless recent security fixes and everything), or should we switch the focus to our repo and search for proper migration paths, since as we know the installations are not easily interchangeable? | ||||||||||||||||||||||||||||||||||||||||
| Comment by Sergei Golubchik [ 2017-08-21 ] | ||||||||||||||||||||||||||||||||||||||||
|
I've reported it upstream, https://bugs.centos.org/view.php?id=13700 But given that other MariaDB issues, starting from 2014 (e.g. https://bugs.centos.org/view.php?id=7557) still have "new" status, I wouldn't expect this one to be fixed anytime soon. | ||||||||||||||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2017-09-19 ] | ||||||||||||||||||||||||||||||||||||||||
|
serg, | ||||||||||||||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2017-10-01 ] | ||||||||||||||||||||||||||||||||||||||||
|
However, at least CentOS 7 repo has the up-to-date MariaDB 5.5.56 now. konk, were you able to upgrade to it successfully? |