[debian-mysql] Bug#831229: libmariadbclient-dev{, -compat}: fails to upgrade from 'sid' - trying to overwrite /usr/bin/mysql_config, /usr/lib/*/libmysqlclient.so

Andreas Beckmann anbe at debian.org
Thu Jul 14 10:00:45 UTC 2016


Package: libmariadbclient-dev-compat,libmariadbclient-dev
Version: 10.0.26-2~exp2
Severity: serious
User: debian-qa at lists.debian.org
Usertags: piuparts

Hi,

during a test with piuparts I noticed your package fails to upgrade from
'sid' to 'experimental'.
It installed fine in 'sid', then the upgrade to 'experimental' 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 libmariadbclient-dev.
  Preparing to unpack .../libmariadbclient-dev_10.0.26-2~exp2_amd64.deb ...
  Unpacking libmariadbclient-dev (10.0.26-2~exp2) ...
  dpkg: error processing archive /var/cache/apt/archives/libmariadbclient-dev_10.0.26-2~exp2_amd64.deb (--unpack):
   trying to overwrite '/usr/bin/mysql_config', which is also in package libmariadb-dev-compat 2.3.0-1
  dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
  Selecting previously unselected package libmariadbclient-dev-compat.
  Preparing to unpack .../libmariadbclient-dev-compat_10.0.26-2~exp2_amd64.deb ...
  Unpacking libmariadbclient-dev-compat (10.0.26-2~exp2) ...
  dpkg: error processing archive /var/cache/apt/archives/libmariadbclient-dev-compat_10.0.26-2~exp2_amd64.deb (--unpack):
   trying to overwrite '/usr/lib/x86_64-linux-gnu/libmysqlclient.so', which is also in package libmariadb-dev-compat 2.3.0-1
  Processing triggers for libc-bin (2.23-1) ...
  Errors were encountered while processing:
   /var/cache/apt/archives/libmariadbclient-dev_10.0.26-2~exp2_amd64.deb
   /var/cache/apt/archives/libmariadbclient-dev-compat_10.0.26-2~exp2_amd64.deb


cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libmariadb-dev-compat=2.3.0-1_libmariadbclient-dev-compat=10.0.26-2~exp2.log.gz
Type: application/gzip
Size: 9114 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-mysql-maint/attachments/20160714/fedaf893/attachment-0001.bin>


More information about the pkg-mysql-maint mailing list