package libmysqlclient16 5.1.41-3ubuntu12.6 failed to install/upgrade: trying to overwrite '/usr/lib/libmysqlclient.so.16.0.0', which is also in package mysql-cluster-client-5.1 0:7.0.9-1ubuntu7

Bug #629005 reported by Michel Bouckaert
242
This bug affects 53 people
Affects Status Importance Assigned to Milestone
mysql-cluster-7.0 (Ubuntu)
Fix Released
High
Chuck Short
Lucid
Won't Fix
High
Unassigned
Maverick
Fix Released
High
Chuck Short

Bug Description

Upon refresh by update-manager.

Description: Ubuntu 10.04.1 LTS
Release: 10.04

$ apt-cache policy mysql-cluster-client-5.1 0:7.0.9-1ubuntu7
mysql-cluster-client-5.1:
  Installed: (none)
  Candidate: 7.0.9-1ubuntu7
  Version table:
     7.0.9-1ubuntu7 0
        500 http://us.archive.ubuntu.com/ubuntu/ lucid/universe Packages
W: Unable to locate package 0:7.0.9-1ubuntu7

ProblemType: Package
DistroRelease: Ubuntu 10.04
Package: libmysqlclient16 5.1.41-3ubuntu12.6
ProcVersionSignature: Ubuntu 2.6.32-24.42-generic-pae 2.6.32.15+drm33.5
Uname: Linux 2.6.32-24-generic-pae i686
Architecture: i386
Date: Thu Aug 26 09:42:40 2010
ErrorMessage: trying to overwrite '/usr/lib/libmysqlclient.so.16.0.0', which is also in package mysql-cluster-client-5.1 0:7.0.9-1ubuntu7
InstallationMedia: Ubuntu 10.04.1 LTS "Lucid Lynx" - Release i386 (20100816.1)
Logs.var.log.daemon.log:

Logs.var.log.kern.log: Sep 1 18:00:47 bd2mbouckaert kernel: [ 16.910674] type=1505 audit(1283389247.893:14): operation="profile_load" pid=883 name="/usr/sbin/mysqld"
MySQLConf.etc.mysql.conf.d.mysqld.safe.syslog.cnf:
 [mysqld_safe]
 syslog
MySQLVarLibDirListing: ['bd2mbouckaert.err', 'mysql_upgrade_info', 'ib_logfile1', 'debian-5.0.flag', 'debian-5.1.flag', 'ibdata1', 'ib_logfile0', 'mysql', 'bd2mbouckaert.pid']
SourcePackage: mysql-dfsg-5.1
Title: package libmysqlclient16 5.1.41-3ubuntu12.6 failed to install/upgrade: trying to overwrite '/usr/lib/libmysqlclient.so.16.0.0', which is also in package mysql-cluster-client-5.1 0:7.0.9-1ubuntu7

Revision history for this message
Michel Bouckaert (mbouckaert-ign) wrote :
Revision history for this message
Dustin Kirkland  (kirkland) wrote :

Thanks for the bug report.

The relevant packaging just needs an appropriate "replaces" in its debian/control. Marking Triaged/High.

Changed in mysql-dfsg-5.1 (Ubuntu):
importance: Undecided → High
status: New → Triaged
Thierry Carrez (ttx)
Changed in mysql-dfsg-5.1 (Ubuntu Maverick):
assignee: nobody → Chuck Short (zulcss)
tags: added: server-mrs
Revision history for this message
Chuck Short (zulcss) wrote :

Dustin,

Care to explain a bit more please?

chuck

Revision history for this message
Mathias Gug (mathiaz) wrote :

The error message is :

ErrorMessage: trying to overwrite '/usr/lib/libmysqlclient.so.16.0.0', which is also in package mysql-cluster-client-5.1 0:7.0.9-1ubuntu7

So the libmysql-client package needs to conflict with libmysql-client since both packages provide the same file. Upgrades would make things a bit more complicated.

Revision history for this message
Steve Langasek (vorlon) wrote :

Sorry, I'm rejecting the package that has been uploaded to the maverick freeze queue.

+Conflicts: mysql-cluster-server-5.1, mysql-cluster-server

Neither of these are the package shipping /usr/lib/libmysqlclient.so.16.0.0, so this is a wrong conflict.

Adding a conflict is a questionable solution anyway, as this would mean mysql-cluster-client-5.1 would not be coinstallable with *any* other packages that use the libmysqlclient library. Why does mysql-cluster-client-5.1 need to ship its own copy of this library?

Revision history for this message
Chuck Short (zulcss) wrote :

I added the conflict to the right package, the reason why mysql-cluster-5.1 basically its a fork of mysql with a newer version of the ndb cluster option. Basically it needs its own copy of this library.

chuck

Revision history for this message
Thierry Carrez (ttx) wrote :

mysql-cluster-7.0 (7.0.9-1ubuntu10) maverick; urgency=low

  * debian/control, debian/mysql-cluster-client-5.1.files, debian/patches/99_fix_ftbfs.dpatch: Ship a mysqlclient but conflict with the the proper mysqlclient library.
 -- Chuck Short <email address hidden> Fri, 24 Sep 2010 11:01:02 -0400

affects: mysql-dfsg-5.1 (Ubuntu Maverick) → mysql-cluster-7.0 (Ubuntu Maverick)
Changed in mysql-cluster-7.0 (Ubuntu Maverick):
status: Triaged → Fix Released
Revision history for this message
Clint Byrum (clint-fewbar) wrote :

Do we have confirmation from upstream that these libraries are incompatible?

Given that libmysqlclient is just the mysql protocol, and NDB doesn't have *anything* to do with that side of things (its basically just a storage engine for mysql), I am very curious as to how this library differs from upstream mysql.

If upstream gives us a good answer, we might be able to just drop this binary package and depend on libmysqlclient16 from mysql for the cluster client.

Revision history for this message
Monty Taylor (mordred) wrote :

I see no reason you can't drop libmysqlclient16 from cluster client and just depend on upstream version.

The only other thing you might have to figure out is the stupid mysql_config program, which should have an extra --ndb option in the ndb-built version - but that's a minimal enough script that you could probably rename it or something.

Revision history for this message
Andrew Hutchings (linuxjedi) wrote :

I concur with Monty, in MySQL support we would typically recommend installing the libraries from the standard MySQL server if the user wanted the backwards-compatibility client libraries for distros such as RHEL 5. So this shouldn't cause a problem.

Revision history for this message
Clint Byrum (clint-fewbar) wrote :

Should we open a new bug to drop libmysqlclient16 from the cluster build and depend on libmysqlclient16 from mysql-5.1 instead? Seems like a better option than conflicting.

We may also want to drop the cmdline client (/usr/bin/mysql) as well if possible.

Revision history for this message
Thierry Carrez (ttx) wrote :

Separate bug opened as bug 660379, please followup there.

Revision history for this message
Peter Sankauskas (pas256) wrote :

So it has been some time and this has still not been fixed in Lucid - isn't Lucid LTS?

Revision history for this message
Clint Byrum (clint-fewbar) wrote :

PAS, yes we should fix it in lucid. However there are a number of more pressing SRU's that have been the focus up until now. A debdiff or merge proposal with the fix backported to lucid would definitely be welcome!

Changed in mysql-cluster-7.0 (Ubuntu Lucid):
status: New → Confirmed
importance: Undecided → High
Revision history for this message
Peter Sankauskas (pas256) wrote :

Hi Clint,

Is this what you meant by a debdiff?

$ debdiff mysql-cluster-client-5.1_7.0.9-1ubuntu10_amd64.deb mysql-cluster-client-5.1_7.0.9-1ubuntu7_amd64.deb

[The following lists of changes regard files as different if they have
different names, permissions or owners.]

Files in second .deb but not in first
-------------------------------------
-rw-r--r-- root/root /usr/share/doc/mysql-cluster-client-5.1/changelog.gz

Control files: lines which differ (wdiff format)
------------------------------------------------
Conflicts: [-libmysqlclient16,-] mysql-client (<< [-7.0.9-1ubuntu10),-] {+7.0.9-1ubuntu7),+} mysql-client-5.0, mysql-client-5.1
Depends: debianutils (>= 1.6), mysql-common, perl, libc6 (>= 2.4), libgcc1 (>= 1:4.1.1), libncurses5 (>= [-5.7+20100313),-] {+5.6+20071006-3),+} libreadline6 (>= 6.0), libstdc++6 (>= 4.1.1), zlib1g (>= 1:1.1.4)
Installed-Size: [-10044-] {+10184+}
Replaces: mysql-client (<< [-7.0.9-1ubuntu10),-] {+7.0.9-1ubuntu7),+} mysql-client-5.0
Version: [-7.0.9-1ubuntu10-] {+7.0.9-1ubuntu7+}

Revision history for this message
Clint Byrum (clint-fewbar) wrote :

Sorry no PAS, that is just a diff of the binaries.

What we need is a diff that contains the difference that needs to be applied to the source package.

Revision history for this message
Peter Sankauskas (pas256) wrote :

Why do changes need to be made to the MySQL source packages?

Anyway, it seems like Bug 660379 is the better solution. What can I do to help there?

Revision history for this message
James Edward (james-y) wrote : Re: [Bug 629005] Re: package libmysqlclient16 5.1.41-3ubuntu12.6 failed to install/upgrade: trying to overwrite '/usr/lib/libmysqlclient.so.16.0.0', which is also in package mysql-cluster-client-5.1 0:7.0.9-1ubuntu7

Why am I receiving this email. I have not submitted any problems about Ubuntu. I have not used it in months.

This is real, this is me;

anything else just kain't BE!

IICor.6:2

--- On Wed, 4/20/11, Peter Sankauskas <email address hidden> wrote:

From: Peter Sankauskas <email address hidden>
Subject: [Bug 629005] Re: package libmysqlclient16 5.1.41-3ubuntu12.6 failed to install/upgrade: trying to overwrite '/usr/lib/libmysqlclient.so.16.0.0', which is also in package mysql-cluster-client-5.1 0:7.0.9-1ubuntu7
To: <email address hidden>
Date: Wednesday, April 20, 2011, 5:51 PM

Why do changes need to be made to the MySQL source packages?

Anyway, it seems like Bug 660379 is the better solution. What can I do
to help there?

--
You received this bug notification because you are a direct subscriber
of a duplicate bug (653413).
https://bugs.launchpad.net/bugs/629005

Title:
  package libmysqlclient16 5.1.41-3ubuntu12.6 failed to install/upgrade:
  trying to overwrite '/usr/lib/libmysqlclient.so.16.0.0', which is also
  in package mysql-cluster-client-5.1 0:7.0.9-1ubuntu7

Status in “mysql-cluster-7.0” package in Ubuntu:
  Fix Released
Status in “mysql-cluster-7.0” source package in Lucid:
  Confirmed
Status in “mysql-cluster-7.0” source package in Maverick:
  Fix Released

Bug description:
  Upon refresh by update-manager.

  Description:    Ubuntu 10.04.1 LTS
  Release:    10.04

  $ apt-cache policy mysql-cluster-client-5.1 0:7.0.9-1ubuntu7
  mysql-cluster-client-5.1:
    Installed: (none)
    Candidate: 7.0.9-1ubuntu7
    Version table:
       7.0.9-1ubuntu7 0
          500 http://us.archive.ubuntu.com/ubuntu/ lucid/universe Packages
  W: Unable to locate package 0:7.0.9-1ubuntu7

  ProblemType: Package
  DistroRelease: Ubuntu 10.04
  Package: libmysqlclient16 5.1.41-3ubuntu12.6
  ProcVersionSignature: Ubuntu 2.6.32-24.42-generic-pae 2.6.32.15+drm33.5
  Uname: Linux 2.6.32-24-generic-pae i686
  Architecture: i386
  Date: Thu Aug 26 09:42:40 2010
  ErrorMessage: trying to overwrite '/usr/lib/libmysqlclient.so.16.0.0', which is also in package mysql-cluster-client-5.1 0:7.0.9-1ubuntu7
  InstallationMedia: Ubuntu 10.04.1 LTS "Lucid Lynx" - Release i386 (20100816.1)
  Logs.var.log.daemon.log:

  Logs.var.log.kern.log: Sep  1 18:00:47 bd2mbouckaert kernel: [   16.910674] type=1505 audit(1283389247.893:14):  operation="profile_load" pid=883 name="/usr/sbin/mysqld"
  MySQLConf.etc.mysql.conf.d.mysqld.safe.syslog.cnf:
   [mysqld_safe]
   syslog
  MySQLVarLibDirListing: ['bd2mbouckaert.err', 'mysql_upgrade_info', 'ib_logfile1', 'debian-5.0.flag', 'debian-5.1.flag', 'ibdata1', 'ib_logfile0', 'mysql', 'bd2mbouckaert.pid']
  SourcePackage: mysql-dfsg-5.1
  Title: package libmysqlclient16 5.1.41-3ubuntu12.6 failed to install/upgrade: trying to overwrite '/usr/lib/libmysqlclient.so.16.0.0', which is also in package mysql-cluster-client-5.1 0:7.0.9-1ubuntu7

To unsubscribe from this bug, go to:
https://bugs.launchpad.net/ubuntu/+source/mysql-cluster-7.0/+bug/629005/+subscribe

Revision history for this message
James Edward (james-y) wrote :

Why am I receiving this email? I have not submitted any problems and I have not used Ubuntu in months.

This is real, this is me;

anything else just kain't BE!

IICor.6:2

--- On Wed, 4/20/11, Clint Byrum <email address hidden> wrote:

From: Clint Byrum <email address hidden>
Subject: [Bug 629005] Re: package libmysqlclient16 5.1.41-3ubuntu12.6 failed to install/upgrade: trying to overwrite '/usr/lib/libmysqlclient.so.16.0.0', which is also in package mysql-cluster-client-5.1 0:7.0.9-1ubuntu7
To: <email address hidden>
Date: Wednesday, April 20, 2011, 2:34 AM

Sorry no PAS, that is just a diff of the binaries.

What we need is a diff that contains the difference that needs to be
applied to the source package.

--
You received this bug notification because you are a direct subscriber
of a duplicate bug (653413).
https://bugs.launchpad.net/bugs/629005

Title:
  package libmysqlclient16 5.1.41-3ubuntu12.6 failed to install/upgrade:
  trying to overwrite '/usr/lib/libmysqlclient.so.16.0.0', which is also
  in package mysql-cluster-client-5.1 0:7.0.9-1ubuntu7

Status in “mysql-cluster-7.0” package in Ubuntu:
  Fix Released
Status in “mysql-cluster-7.0” source package in Lucid:
  Confirmed
Status in “mysql-cluster-7.0” source package in Maverick:
  Fix Released

Bug description:
  Upon refresh by update-manager.

  Description:    Ubuntu 10.04.1 LTS
  Release:    10.04

  $ apt-cache policy mysql-cluster-client-5.1 0:7.0.9-1ubuntu7
  mysql-cluster-client-5.1:
    Installed: (none)
    Candidate: 7.0.9-1ubuntu7
    Version table:
       7.0.9-1ubuntu7 0
          500 http://us.archive.ubuntu.com/ubuntu/ lucid/universe Packages
  W: Unable to locate package 0:7.0.9-1ubuntu7

  ProblemType: Package
  DistroRelease: Ubuntu 10.04
  Package: libmysqlclient16 5.1.41-3ubuntu12.6
  ProcVersionSignature: Ubuntu 2.6.32-24.42-generic-pae 2.6.32.15+drm33.5
  Uname: Linux 2.6.32-24-generic-pae i686
  Architecture: i386
  Date: Thu Aug 26 09:42:40 2010
  ErrorMessage: trying to overwrite '/usr/lib/libmysqlclient.so.16.0.0', which is also in package mysql-cluster-client-5.1 0:7.0.9-1ubuntu7
  InstallationMedia: Ubuntu 10.04.1 LTS "Lucid Lynx" - Release i386 (20100816.1)
  Logs.var.log.daemon.log:

  Logs.var.log.kern.log: Sep  1 18:00:47 bd2mbouckaert kernel: [   16.910674] type=1505 audit(1283389247.893:14):  operation="profile_load" pid=883 name="/usr/sbin/mysqld"
  MySQLConf.etc.mysql.conf.d.mysqld.safe.syslog.cnf:
   [mysqld_safe]
   syslog
  MySQLVarLibDirListing: ['bd2mbouckaert.err', 'mysql_upgrade_info', 'ib_logfile1', 'debian-5.0.flag', 'debian-5.1.flag', 'ibdata1', 'ib_logfile0', 'mysql', 'bd2mbouckaert.pid']
  SourcePackage: mysql-dfsg-5.1
  Title: package libmysqlclient16 5.1.41-3ubuntu12.6 failed to install/upgrade: trying to overwrite '/usr/lib/libmysqlclient.so.16.0.0', which is also in package mysql-cluster-client-5.1 0:7.0.9-1ubuntu7

To unsubscribe from this bug, go to:
https://bugs.launchpad.net/ubuntu/+source/mysql-cluster-7.0/+bug/629005/+subscribe

Revision history for this message
Judd Seger (jjsbowhunter) wrote :
Download full text (5.6 KiB)

I got news for you cowboy, I never sent you this !!!!!!!! Try again.......

--- On Wed, 4/20/11, James Edward <email address hidden> wrote:

From: James Edward <email address hidden>
Subject: Re: [Bug 629005] Re: package libmysqlclient16 5.1.41-3ubuntu12.6 failed to install/upgrade: trying to overwrite '/usr/lib/libmysqlclient.so.16.0.0', which is also in package mysql-cluster-client-5.1 0:7.0.9-1ubuntu7
To: <email address hidden>
Date: Wednesday, April 20, 2011, 7:21 PM

Why am I receiving this email. I have not submitted any problems about
Ubuntu. I have not used it in months.

This is real, this is me;

anything else just kain't BE!

IICor.6:2

--- On Wed, 4/20/11, Peter Sankauskas <email address hidden> wrote:

From: Peter Sankauskas <email address hidden>
Subject: [Bug 629005] Re: package libmysqlclient16 5.1.41-3ubuntu12.6 failed to install/upgrade: trying to overwrite '/usr/lib/libmysqlclient.so.16.0.0', which is also in package mysql-cluster-client-5.1 0:7.0.9-1ubuntu7
To: <email address hidden>
Date: Wednesday, April 20, 2011, 5:51 PM

Why do changes need to be made to the MySQL source packages?

Anyway, it seems like Bug 660379 is the better solution. What can I do
to help there?

--
You received this bug notification because you are a direct subscriber
of a duplicate bug (653413).
https://bugs.launchpad.net/bugs/629005

Title:
  package libmysqlclient16 5.1.41-3ubuntu12.6 failed to install/upgrade:
  trying to overwrite '/usr/lib/libmysqlclient.so.16.0.0', which is also
  in package mysql-cluster-client-5.1 0:7.0.9-1ubuntu7

Status in “mysql-cluster-7.0” package in Ubuntu:
  Fix Released
Status in “mysql-cluster-7.0” source package in Lucid:
  Confirmed
Status in “mysql-cluster-7.0” source package in Maverick:
  Fix Released

Bug description:
  Upon refresh by update-manager.

  Description:    Ubuntu 10.04.1 LTS
  Release:    10.04

  $ apt-cache policy mysql-cluster-client-5.1 0:7.0.9-1ubuntu7
  mysql-cluster-client-5.1:
    Installed: (none)
    Candidate: 7.0.9-1ubuntu7
    Version table:
       7.0.9-1ubuntu7 0
          500 http://us.archive.ubuntu.com/ubuntu/ lucid/universe Packages
  W: Unable to locate package 0:7.0.9-1ubuntu7

  ProblemType: Package
  DistroRelease: Ubuntu 10.04
  Package: libmysqlclient16 5.1.41-3ubuntu12.6
  ProcVersionSignature: Ubuntu 2.6.32-24.42-generic-pae 2.6.32.15+drm33.5
  Uname: Linux 2.6.32-24-generic-pae i686
  Architecture: i386
  Date: Thu Aug 26 09:42:40 2010
  ErrorMessage: trying to overwrite '/usr/lib/libmysqlclient.so.16.0.0', which is also in package mysql-cluster-client-5.1 0:7.0.9-1ubuntu7
  InstallationMedia: Ubuntu 10.04.1 LTS "Lucid Lynx" - Release i386 (20100816.1)
  Logs.var.log.daemon.log:

  Logs.var.log.kern.log: Sep  1 18:00:47 bd2mbouckaert kernel: [   16.910674] type=1505 audit(1283389247.893:14):  operation="profile_load" pid=883 name="/usr/sbin/mysqld"
  MySQLConf.etc.mysql.conf.d.mysqld.safe.syslog.cnf:
   [mysqld_safe]
   syslog
  MySQLVarLibDirListing: ['bd2mbouckaert.err', 'mysql_upgrade_info', 'ib_logfile1', 'debian-5.0.flag', 'debian-5.1.flag', 'ibdata1', 'ib_logfile0', 'mysql', 'bd2mbouckaert.pid']
  SourcePackage: mysql-dfsg-5.1
  Title: package libmysqlclie...

Read more...

Revision history for this message
Rolf Leggewie (r0lf) wrote :

lucid has seen the end of its life and is no longer receiving any updates. Marking the lucid task for this ticket as "Won't Fix".

Changed in mysql-cluster-7.0 (Ubuntu Lucid):
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.