[MDEV-4079] MariaDB Galera server 5.5 installation issue on fresh precise Ubuntu distro (wrong dependencies) Created: 2013-01-24 Updated: 2013-01-24 Resolved: 2013-01-24 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 5.5.28a-galera |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Blocker |
| Reporter: | Nicolas MENOUX | Assignee: | Unassigned |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Environment: |
fresh Ubuntu 12.04.1 precise distro |
||
| Description |
|
After setting-up a new fresh precise Ubuntu distro with the minimum package, I'm not able to install the mariadb-galera-server by the command : aptitude -y install mariadb-galera-server galera here are the error messages : The following packages have unmet dependencies: Keep the following packages at their current version: I've read some posts on the mysql-common issue but I've never seen any solution. As this distro is a fresh one and I did not install any extra packages, I do not understand why it is blocking with the dependencies... Is there any good tricks I've missed ? Thanks for your help Nicolas |
| Comments |
| Comment by Elena Stepanova [ 2013-01-24 ] |
|
For libmysqlclient 5.5.28 vs 5.5.29 part, there is work in progress in |
| Comment by Nicolas MENOUX [ 2013-01-24 ] |
|
Thanks Elena ro the reference but at the time beeing it seems not possible to run mariaDB-galera server on ubuntu, Thanks. Nicolas |
| Comment by Elena Stepanova [ 2013-01-24 ] |
|
>> at the time beeing it seems not possible to run mariaDB-galera server on ubuntu, I'm checking installation on a fresh precise right now, will update when done. |
| Comment by Elena Stepanova [ 2013-01-24 ] |
|
It looks like the only real problem is the one about libmysqlclient18, which is the same as sudo aptitude -y install mariadb-galera-server-5.5 libmysqlclient18=5.5.28-mariadb-a1~precise mysql-common=5.5.28-mariadb-a1~precise (assuming the galera library was already installed by the previous attempt) Please try it out. In regard to CentOS configs, it only uses ones from /etc/my.cnf.d/ because the top config /etc/my.cnf says to do so (it has includedir). You can add your galera configuration to any server-only section, be it mysqld, mariadb, mysqld-5.5, mariadb-5.5, into any cnf file, or create one of your own. |
| Comment by Nicolas MENOUX [ 2013-01-24 ] |
|
Thanks a lot Elena, your last aptitude command line is working on my new Ubunutu. I will now work on the cluster configuration. BTW, is there any good tutorial to set up a MariaDB galera cluster from scratch ? Thanks. Nicolas |
| Comment by Elena Stepanova [ 2013-01-24 ] |
|
There is Codership wiki for Galera http://www.codership.com/wiki/doku.php which has a lot of useful information, unfortunately its structure is not very obvious so it might be difficult to find what you're looking for. Here is a presentation from Codership, IIRC it has configuration steps inside: http://www.slideshare.net/henrikingo/introduction-to-galera Some time ago I ran onto this blog article http://www.sebastien-han.fr/blog/2012/04/01/mysql-multi-master-replication-with-galera/ which I found very good back then. It might be a little outdated by now (or maybe not, I didn't check), but I think it's still a useful read. |
| Comment by Elena Stepanova [ 2013-01-24 ] |
|
Since installation worked with the workaround for |
| Comment by Nicolas MENOUX [ 2013-01-24 ] |
|
Thanks Helena for all these useful links and information, I've found another one which could be interesting also : http://edin.no-ip.com/blog/hswong3i/mariadb-galera-mastermaster-replication-ubuntu-12-04-howto Regards, Nicolas |