[debian-mysql] Bug#848118: mysql-server-core-5.6: fails to upgrade from 'jessie' - trying to overwrite /usr/share/man/man1/innochecksum.1.gz

Andreas Beckmann anbe at debian.org
Wed Dec 14 09:29:26 UTC 2016


Package: mysql-server-core-5.6
Version: 5.6.30-1
Severity: serious
User: debian-qa at lists.debian.org
Usertags: piuparts
Control: affects -1 + redmine

Hi,

during a test with piuparts I noticed your package fails to upgrade from
'jessie'.
It installed fine in 'jessie', then the upgrade to 'stretch' fails
because it tries to overwrite other packages files without declaring a
Breaks+Replaces relation.

See policy 7.6 at
https://www.debian.org/doc/debian-policy/ch-relationships.html#s-replaces

>From the attached log (scroll to the bottom...):

  Selecting previously unselected package mysql-server-core-5.6.
  (Reading database ... 
(Reading database ... 17075 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.50-0+deb8u1
  dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)

Same error as in 5.7.

This needs
  Conflicts+Replaces: mysql-server-5.5
added to the mysql-server-core-5.6 (and mysql-server-core-5.7) package.


cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: redmine_3.3.1-2.log.gz
Type: application/gzip
Size: 40799 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-mysql-maint/attachments/20161214/2b9a2909/attachment-0001.bin>


More information about the pkg-mysql-maint mailing list