There is no need to have a separate -compat package on Debian.
Dependency chain looks like maatkit -> libdbd-mysql-perl ->
libmysqlclient15off -> mysql-common
mysql-common is provided by percona-server-common as well as
mysql-common package itself.
In your case percona-server-common seems to be installed, but apt tries
to install mysql-common.
Obviously this causes dependency issue as percona-server-* packaged
don't obsolete the respective mysql-*.
In your case I would ensure there are no mysql-* packages in the system.
Check if percona-server-common is installed correctly and then install
maatkit.
-Aleks
test:~# apt-rdepends libmysqlclient15off
Reading package lists... Done
Building dependency tree
Reading state information... Done
libmysqlclient15off
Depends: libc6 (>= 2.7-1)
Depends: mysql-common (>= 5.0.51a-24+lenny4)
Depends: zlib1g (>= 1:1.1.4)
libc6
Depends: libgcc1
libgcc1
Depends: gcc-4.3-base (= 4.3.2-1.1)
Depends: libc6 (>= 2.7-1)
So when I install libdbd-mysql-perl the dependency does not seem to be
resolved.
However, if I install the libmysqlclient15off from the percona servers first
(which only has a dependency on mysql-common) all seems to work fine.
| --
| You received this message because you are subscribed to the Google Groups
| "Percona Discussion" group.
| To post to this group, send email to percona-d...@googlegroups.com.
| To unsubscribe from this group, send email to percona-
| discussion+...@googlegroups.com.
| For more options, visit this group at
| http://groups.google.com/group/percona-discussion?hl=en.
> installation of debian:
>
> dpkg -l *mysql* (which shows no mysql installed)
> aptitude install percona-server-common (succeeds)
> aptitude install mysql-common (complain about BROKEN package below)
>
Why are you installing mysql-common?
percona-server-common provides both percona-server-common as well as
mysql-common.
maatkit will be happy with it.
> The following packages have unmet dependencies:
> percona-server-common: Conflicts: mysql-common but 5.0.51a-24+lenny4
> is to be installed.
> The following actions will resolve these dependencies:
>
> Remove the following packages:
> percona-server-common
>
>
> I would have expected that to succeed, right?
>
Not really. mysql-common and percona-server-common conflict with each
other and should conflict.
If you want to install maatkit and Percona Server, you need to install
Percona Server first. Then maatkit:
apt-get install percona-server-server
apt-get install maatkit
Eventually you'll get following:
Debian-lenny-amd64:~# dpkg -l | grep -i -e mysql -e percona
ii libdbd-mysql-perl 4.007-1+lenny1 A
Perl5 database interface to the MySQL database
ii libmysqlclient15off 5.0.91-percona-b22.lenny.33
MySQL database client library
ii libmysqlclient16 5.1.47-11.1-51.lenny
Percona Server database client library
ii maatkit 1877-1
Command-line utilities for MySQL
ii percona-server-client-5.1 5.1.47-11.1-51.lenny
Percona Server database client binaries
ii percona-server-common 5.1.47-11.1-51.lenny
Percona Server database common files (e.g. /etc/mysql/my.cnf)
ii percona-server-server 5.1.47-11.1-51.lenny
Percona Server database server (metapackage depending on the l
ii percona-server-server-5.1 5.1.47-11.1-51.lenny
Percona Server database server binaries
Debian-lenny-amd64:~#
-Aleks
I'll include libmysqlclient15off in our own repository.
| -----Original Message-----
| From: percona-d...@googlegroups.com [mailto:percona-
| discu...@googlegroups.com] On Behalf Of Aleksandr Kuzminsky
| Sent: Tuesday, June 29, 2010 11:54 PM
| To: percona-d...@googlegroups.com
| Subject: Re: Is there a shared compat package for debian?
|
| On 06/30/2010 09:16 AM, Bassam Tabbara wrote:
| > Here is another data point. libmysqlclient15off that is in the
| > official debian repositories has a dependency on a specific version of
| > mysql-common
| >
| > test:~# apt-rdepends libmysqlclient15off Reading package lists... Done
| > Building dependency tree Reading state information... Done
| > libmysqlclient15off
| > Depends: libc6 (>= 2.7-1)
| > Depends: mysql-common (>= 5.0.51a-24+lenny4)
| > Depends: zlib1g (>= 1:1.1.4)
| > libc6
| > Depends: libgcc1
| > libgcc1
| > Depends: gcc-4.3-base (= 4.3.2-1.1)
| > Depends: libc6 (>= 2.7-1)
| >
| > So when I install libdbd-mysql-perl the dependency does not seem to be
| > resolved.
| >
| > However, if I install the libmysqlclient15off from the percona servers
| > first (which only has a dependency on mysql-common) all seems to work
| fine.
| >
|
| Unfortunately this is expected behavior. And this is the reason why
Percona
| delivers its own libmysqlclient15off .
|
| -a