Bug#771213: [debian-mysql] Bug#771213: mariadb-server-10.0: file conflict with mysql-client-5.5

2014-11-30 Thread Otto Kekäläinen
Thanks for reporting this!

I mysql-5.5/5.6 the mysql_plugin is part of the client package:
mysql-client-5.6.install:usr/bin/mysql_plugin
mysql-client-5.6.manpages:debian/tmp/usr/share/man/man1/mysql_plugin.1

In MariaDB it is part of server package:
mariadb-server-10.0.install:usr/bin/mysql_plugin
mariadb-server-10.0.manpages:debian/tmp/usr/share/man/man1/mysql_plugin.1

As this command controls what plugins the server loads, I think the proper
location indeed is in the server package (as upstream did) and I will not
change it, instead I added breaks/replaces to overwrite file (
https://www.debian.org/doc/debian-policy/ch-relationships.html#s7.6.1) in
commit
http://anonscm.debian.org/cgit/pkg-mysql/mariadb-10.0.git/commit/?id=7bda76751754145a66239c8f9fd343d47fd1c1b0

This fix will be uploaded once 10.0.15 it is finalized for Debian.


Bug#771213: mariadb-server-10.0: file conflict with mysql-client-5.5

2014-11-27 Thread Frédéric Brière
Package: mariadb-server-10.0
Severity: serious

Here's me trying to migrate from MySQL to MariaDB:

  Unpacking mariadb-server-10.0 (10.0.14-4) ...
  dpkg: error processing archive 
/var/cache/apt/archives/mariadb-server-10.0_10.0.14-4_i386.deb (--unpack):
   trying to overwrite '/usr/share/man/man1/mysql_plugin.1.gz', which is also 
in package mysql-client-5.5 5.5.40-1


I'll let you figure out which combination of Conflicts/Breaks/Replaces
is appropriate in this case.  :)


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (x86_64)
Foreign Architectures: amd64

Kernel: Linux 3.16-2-amd64 (SMP w/3 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org