[MDEV-5390] doesn't install on fedora if mysql is installed, part 2 Created: 2013-12-05 Updated: 2014-02-21 Resolved: 2014-02-21 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 5.5.34 |
| Fix Version/s: | 5.5.36 |
| Type: | Bug | Priority: | Major |
| Reporter: | Will Fong | Assignee: | Sergei Golubchik |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | packaging | ||
| Environment: |
Fedora 19 |
||
| Issue Links: |
|
||||||||
| Description |
|
Fedora 19 includes MariaDB now, but it looks like the packages in the MariaDB repo does not obsolete them.
This looks similar to The workaround is to remove the distro provided packages first. |
| Comments |
| Comment by Sergei Golubchik [ 2014-01-24 ] |
|
I don't have a good solution for this yet. What happens — some files that are in the Fedora's mysql-libs.rpm are in MariaDB-common, while others are in MariaDB-shared. So, both MariaDB packages conflict with mysql-libs. Ideally, when one has mysql-libs installed, an attempt to install anything MariaDB-* should install MariaDB-shared, replacing mysql-libs. But if mysql-libs isn't installed, MariDB-shared shouldn't be installed automatically, only when a user explicitly requests it. I am not sure if there's a way to tell yum to do that. I can, perhaps, check this condition in the MariaDB-common preinst script and abort with a verbose explanation, if needed. oden, do you have any suggestions? |
| Comment by Oden Eriksson [ 2014-01-24 ] |
|
I have a solution for this while working on the deps, so you can add the http://yum.mariadb.org/ repo and do "yum update" which replaces the distro packages, but..., then I hit a brick wall and got no answer for quite a while now: https://lists.launchpad.net/maria-developers/msg06586.html |
| Comment by Sergei Golubchik [ 2014-01-25 ] |
|
replied to the maria-developers email. what was your solution? |