[debian-mysql] Bug#425912: mysql-client-5.0: upgrade from 4.1 fails due to bad Replaces

Steve Greenland steveg at moregruel.net
Thu May 24 20:59:04 UTC 2007


Package: mysql-client-5.0
Version: 5.0.41-2
Severity: normal

I've had mysql-server-4.1 since it became a transition package;
today I finally decided to upgrade. This causes the installation of
mysql-client-5.0, and the removal of m-c-4.1. However, via aptitude, we
have this:

(Reading database ... 146552 files and directories currently installed.)
Unpacking mysql-client-5.0 (from .../mysql-client-5.0_5.0.41-2_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/mysql-client-5.0_5.0.41-2_i386.deb (--unpack):
 trying to overwrite `/usr/bin/myisam_ftdump', which is also in package mysql-client-4.1
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/mysql-client-5.0_5.0.41-2_i386.deb
[etc.]

The problem is that the m-c-5.0 package has

     Replaces: mysql-client (<< 5.0.41-2), mysql-server

and needs, additionally, "mysql-client-4.1 (<< whatever)".

I worked around it by manually removing m-c-4.1 with dpkg --force-depends,
but it needs to be fixed.

Steve






-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (900, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.20-1-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages mysql-client-5.0 depends on:
ii  debianutils           2.19               Miscellaneous utilities specific t
ii  libc6                 2.5-8              GNU C Library: Shared libraries
ii  libdbd-mysql-perl     4.004-1            A Perl5 database interface to the 
ii  libdbi-perl           1.55~svn20070405-2 Perl5 database interface by Tim Bu
ii  libgcc1               1:4.2-20070516-1   GCC support library
ii  libmysqlclient15off   5.0.41-2           MySQL database client library
ii  libncurses5           5.6-3              Shared libraries for terminal hand
ii  libreadline5          5.2-2              GNU readline and history libraries
ii  libstdc++6            4.2-20070516-1     The GNU Standard C++ Library v3
ii  libwrap0              7.6.dbs-13         Wietse Venema's TCP wrappers libra
ii  mysql-common          5.0.41-2           MySQL database common files
ii  perl                  5.8.8-7            Larry Wall's Practical Extraction 
ii  zlib1g                1:1.2.3-15         compression library - runtime

mysql-client-5.0 recommends no packages.




More information about the pkg-mysql-maint mailing list