Public bug reported:

dist-upgrade of my system failed with the following error:

Unpacking mysql-server-5.7 (5.7.22-0ubuntu0.16.04.1) ...
dpkg: error processing archive 
/var/cache/apt/archives/mysql-server-5.7_5.7.22-0ubuntu0.16.04.1_amd64.deb 
(--unpack):
trying to overwrite '/usr/bin/mysql_plugin', which is also in package 
mysql-client-5.6 5.6.33-0ubuntu0.14.04.1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)


Indeed, in Debian mysql releases the offending file was moved from the client 
package to the server package. This looks like a relevant commit:

$ git show --stat 27d750
commit 27d7503d03900ee1d66ea21e72c6824ffbfa3659
Author: Otto Kekäläinen <otto.kekalai...@seravo.fi>
Date:   Wed Dec 10 18:58:17 2014 +0200

    Move mysql_plugin to server package as it controls the server
plugins

 debian/control                   | 4 ++--
 debian/mysql-client-5.6.install  | 1 -
 debian/mysql-client-5.6.manpages | 1 -
 debian/mysql-server-5.6.install  | 1 +
 debian/mysql-server-5.6.manpages | 1 +
 5 files changed, 4 insertions(+), 4 deletions(-)


According to the tags in git repo, the change was released in Debian in 
5.6.25-1. For some reason Ubuntu packages for 5.6 having a larger version, e.g. 
5.6.33-0ubuntu0.14.04.1 from trusty-updates, do not include the change. 

The file move does appear only in Ubuntu's 5.7 package but is not
appropriately reflected in its debian/control file, i.e. Breaks: and
Replaces: stanzas do not include mysql-client-5.6, which should be the
case when moving file(s) from package to package.

** Affects: mysql-5.7 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1809486

Title:
  mysql-server-5.7 overwrites a file from mysql-client-5.6

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mysql-5.7/+bug/1809486/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to