[debian-mysql] Bug#847992: mysql-server-core-5.6 upgrade to stretch fails with file conflict on innochecksum.1.gz
Gabriel Filion
gabster at lelutin.ca
Mon Dec 12 22:19:14 UTC 2016
Package: mysql-server
Version: 5.5.53-0+deb8u1
Severity: important
Hello,
I'm trying to upgrade from jessie to stretch and I'm getting blocked on the
mysql upgrade from 5.5 to 5.6
During the upgrade I get this error message:
dpkg: mysql-client-5.5: dependency problems, but removing anyway as you requested:
mysql-server-5.5 depends on mysql-client-5.5 (>= 5.5.53-0+deb8u1).
(Reading database ... 50345 files and directories currently installed.)
Removing mysql-client-5.5 (5.5.53-0+deb8u1) ...
Selecting previously unselected package mysql-client-core-5.6.
(Reading database ... 50290 files and directories currently installed.)
Preparing to unpack .../0-mysql-client-core-5.6_5.6.30-1_amd64.deb ...
Unpacking mysql-client-core-5.6 (5.6.30-1) ...
Selecting previously unselected package mysql-client-5.6.
Preparing to unpack .../1-mysql-client-5.6_5.6.30-1_amd64.deb ...
Unpacking mysql-client-5.6 (5.6.30-1) ...
dpkg: mysql-server-core-5.5: dependency problems, but removing anyway as you requested:
mysql-server-5.5 depends on mysql-server-core-5.5 (>= 5.5.53-0+deb8u1); however:
Package mysql-server-core-5.5 is to be removed.
(Reading database ... 50351 files and directories currently installed.)
Removing mysql-server-core-5.5 (5.5.53-0+deb8u1) ...
Selecting previously unselected package mysql-server-core-5.6.
(Reading database ... 50262 files and directories currently installed.)
Preparing to unpack .../mysql-server-core-5.6_5.6.30-1_amd64.deb ...
Unpacking mysql-server-core-5.6 (5.6.30-1) ...
dpkg: error processing archive /var/cache/apt/archives/mysql-server-core-5.6_5.6.30-1_amd64.deb (--unpack):
trying to overwrite '/usr/share/man/man1/innochecksum.1.gz', which is also in package mysql-server-5.5 5.5.53-0+deb8u1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/mysql-server-core-5.6_5.6.30-1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Because of the previous error messages, there seems to be either a
dependency/breaks issue or something that's not happening right during removal
of mysql-server-core-5.5
A workaround is to apt remove mysql-server-5.5, then apt install
mysql-server-5.6
I've set this to priority Important since the upgrade path from jessie to
stretch is broken because of this.
-- System Information:
Debian Release: stretch/sid
APT prefers testing-updates
APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 3.16.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=en_CA.utf8, LC_CTYPE=en_CA.utf8 (charmap=UTF-8) (ignored: LC_ALL set to en_CA.utf8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages mysql-server depends on:
ii mysql-server-5.5 5.5.53-0+deb8u1
mysql-server recommends no packages.
mysql-server suggests no packages.
-- no debconf information
More information about the pkg-mysql-maint
mailing list