Comment 0 for bug 907499

Revision history for this message
Mrten (bugzilla-ii) wrote : ubuntu packaging: percona-server-client-5.1 should conflict mysql-client-core-5.1

I got this when trying to install percona-server-client:

root@piro:/etc/mysql# apt-get install percona-server-client-5.1
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  percona-server-client-5.1
0 upgraded, 1 newly installed, 0 to remove and 8 not upgraded.
Need to get 0B/4,707kB of archives.
After this operation, 13.2MB of additional disk space will be used.
(Reading database ... 141714 files and directories currently installed.)
Unpacking percona-server-client-5.1 (from .../percona-server-client-5.1_5.1.60-rel13.1-413.lucid_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/percona-server-client-5.1_5.1.60-rel13.1-413.lucid_amd64.deb (--unpack):
 trying to overwrite '/usr/share/man/man1/mysql.1.gz', which is also in package mysql-client-core-5.1 0:5.1.41-3ubuntu12.10
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Processing triggers for man-db ...
Errors were encountered while processing:
 /var/cache/apt/archives/percona-server-client-5.1_5.1.60-rel13.1-413.lucid_amd64.deb
[ Rootkit Hunter version 1.3.6 ]
apt-gFile updated: searched for 163 files, found 135
eE: Sub-process /usr/bin/dpkg returned an error code (1)

a simple apt-get remove mysql-client-core-5.1 fixed the problem.