Non ho molta esperienza con Debian / Ubuntu. Seguo questa guida:
https://mariadb.com/kb/en/installing-mariadb-deb-files/
E questo per aggiungere i repository richiesti (non installo MariaDB !!!): https://downloads.mariadb.org/mariadb/repositories/ Ubuntu -> 12.04 -> Mirror vicino a te
I miei passi attuali:
1. nuova installazione di Ubuntu 12.03.3
2. apt-get update && apt-get dist-upgrade
3. apt-get install openssh-server # accesso remoto per me
4. vim / etc / apt / sources. list.d / mariadb.list
5. incolla nel file
# MariaDB 5.5 repository list - created 2013-09-20 12:39 UTC
# http://mariadb.org/mariadb/repositories/
deb http://mirror2.hs- esslingen.de/mariadb/repo/5.5/ubuntu precise main
deb-src http://mirror2.hs-esslingen.de/mariadb/repo/5.5/ubuntu precise main
- apt-get update
- apt-get install mariadb-galera-server galera
Questo fallisce:
....
Selecting previously unselected package galera.
Unpacking galera (from .../galera_23.2.6-precise_amd64.deb) ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
Setting up mysql-common (5.5.33+maria-1~precise) ...
Setting up mariadb-common (5.5.33+maria-1~precise) ...
(Reading database ... 79533 files and directories currently installed.)
Unpacking mariadb-galera-server-5.5 (from .../mariadb-galera-server-5.5_5.5.32+maria-1~precise_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/mariadb-galera-server-5.5_5.5.32+maria-1~precise_amd64.deb (--unpack):
trying to overwrite '/usr/lib/mysql/plugin/dialog.so', which is also in package libmariadbclient18 5.5.33+maria-1~precise
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Selecting previously unselected package libhtml-template-perl.
Unpacking libhtml-template-perl (from .../libhtml-template-perl_2.10-1_all.deb) ...
Selecting previously unselected package mariadb-galera-server.
Unpacking mariadb-galera-server (from .../mariadb-galera-server_5.5.32+maria-1~precise_all.deb) ...
Processing triggers for ureadahead ...
Processing triggers for man-db ...
Errors were encountered while processing:
/var/cache/apt/archives/mariadb-galera-server-5.5_5.5.32+maria-1~precise_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Cosa non va? L'ho già provato con il pinning, ma non mi aiuta neanche. È possibile, i repository di MariaDB non sono in buono stato? Dire semplicemente che mariadb-galera-server è in conflitto con la propria dipendenza libmariadbclient18
Grazie