I have not tried it on Ubuntu 10.4 yet, but the following worked for me on
9.10:
$ sudo dpkg -r mysql-server mysql-client
$ sudo dpkg -i <mysql-wsrep DEB>
Looking at your log, they (Ubuntu MySQL maintainers) might have changed
dependencies (or they might have upgraded to MySQL 5.1) and you may need to
manually remove libmysqlclient16 (with --ignore-depends if necessary).
The problem here is that mysql-wsrep DEB package provides everything:
mysql-server, mysql-client, mysql-common and libmysqlclient16. This is
required because we need to make sure that mysqldump comes from the same
MySQL version. On older distributions they are still using MySQL 5.0 and
mysqldump from 5.0 does not cut it. Somehow dpkg fails to cope with it.
Regards,
Alex
On Mon, 5 Jul 2010 01:18:24 -0700 (PDT), meman <jon.ska...@gmail.com>
wrote:
If step 2 gives you problems (e.g. there are packages depending on
libmysqlclient16) try --force-depends.
On Mon, 5 Jul 2010 07:52:12 -0700 (PDT), meman <jon.ska...@gmail.com>
wrote:
--
Alexey Yurchenko,
Codership Oy, www.codership.com
Skype: alexey.yurchenko, Phone: +358-400-516-011
mysql-wsrep conflicts with all mysql packages from ubuntu 10.4 and they
all must be removed before mysql-wsrep installation. I know this is ugly
and we will try to address it in 0.7.5, but at this point this is the only
option.
it worked *almost* fine on 9.10 and older, but this libmysqlclient16 that
appeared in 10.4 broke whatever we had. See, the problem is that for older
distributions we can't just provide mysql-server package because it
requires 5.1 clients and where do you get 5.1 clients on 9.10? So for now
you have to *manually* remove all mysql packages that come with 10.4 and
then install mysql-wsrep (with --force-depends option if needed, perl libs
might give you a problem). I guess we have a hidden circular dependency
there: perl libs depend on libmysqlclient, mysql-wsrep provides
libmysqlclient but depends on perl libs. That must be the reason why dpkg
behaves that way. In older distributions perl libs depended on
libmysqlclient15 and everything was fine.
And yes, mysql-wsrep provides mysql-common:
$ dpkg-deb -I mysql-wsrep-5.1.44-0.7.4-i386.deb | grep Provides:
Provides: mysql-server-core-5.1, mysql-server-core, mysql-server-5.1,
mysql-server, mysql-client-5.1, mysql-client, mysql-common-5.1,
mysql-common, libmysqlclient16
On Tue, 6 Jul 2010 05:55:38 -0700 (PDT), meman <jon.ska...@gmail.com>
wrote:
--
Say, what happens if you do the following:
>0) start with the fully configured mysql server
1) dpkg -r --auto-deconfigure mysql-server mysql-client libmysqlclient16
mysql-common
2) dpkg -i --force-depends <mysql-wsrep deb>
3) dpkg --configure -a
If this does not work than the only way is to
0) start with the fully configured mysql server.
1) dpkg -r --force-depends mysql-server mysql-client libmysqlclient16
mysql-common
2) dpkg -i --force-depends <mysql-wsrep deb>
but it is somewhat risky as it would not show possible dependency
problems.
On Tue, 6 Jul 2010 09:22:02 -0700 (PDT), meman <jon.ska...@gmail.com>
wrote: