package libmysqlclient16 (not installed) 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 #582847 reported by IndianaJones
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mysql-cluster-7.0 (Ubuntu)
New
Undecided
Unassigned

Bug Description

cemzafer@ubuntu:~$ sudo apt-get install bacula
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libnet-daemon-perl libdbi-perl mysql-client-core-5.1 libdbd-mysql-perl libplrpc-perl mysql-server-core-5.1
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  bacula-client bacula-common bacula-common-mysql bacula-console bacula-director-common bacula-director-mysql bacula-fd bacula-sd bacula-sd-mysql
  bacula-server dbconfig-common libdbd-mysql-perl libdbi-perl libmysqlclient16 libnet-daemon-perl libplrpc-perl mtx mysql-client-core-5.1 mysql-common
  mysql-server-core-5.1
Suggested packages:
  bacula-doc bacula-traymonitor dds2tar scsitools sg3-utils mt-st dbishell
Recommended packages:
  bacula-sd-tools
The following NEW packages will be installed:
  bacula bacula-client bacula-common bacula-common-mysql bacula-console bacula-director-common bacula-director-mysql bacula-fd bacula-sd bacula-sd-mysql
  bacula-server dbconfig-common libdbd-mysql-perl libdbi-perl libmysqlclient16 libnet-daemon-perl libplrpc-perl mtx mysql-client-core-5.1
  mysql-server-core-5.1
The following packages will be upgraded:
  mysql-common
1 upgraded, 20 newly installed, 0 to remove and 3 not upgraded.
Need to get 10.8MB of archives.
After this operation, 27.5MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://tr.archive.ubuntu.com/ubuntu/ lucid/main bacula-common 5.0.1-1ubuntu1 [639kB]
Get:2 http://tr.archive.ubuntu.com/ubuntu/ lucid-updates/main mysql-common 5.1.41-3ubuntu12.1 [97.2kB]
Get:3 http://tr.archive.ubuntu.com/ubuntu/ lucid-updates/main libmysqlclient16 5.1.41-3ubuntu12.1 [1,931kB]
Get:4 http://tr.archive.ubuntu.com/ubuntu/ lucid/main bacula-common-mysql 5.0.1-1ubuntu1 [103kB]
Get:5 http://tr.archive.ubuntu.com/ubuntu/ lucid/main bacula-console 5.0.1-1ubuntu1 [66.4kB]
Get:6 http://tr.archive.ubuntu.com/ubuntu/ lucid/main bacula-director-common 5.0.1-1ubuntu1 [57.1kB]
Get:7 http://tr.archive.ubuntu.com/ubuntu/ lucid/main dbconfig-common 1.8.44ubuntu1 [474kB]
Get:8 http://tr.archive.ubuntu.com/ubuntu/ lucid/main bacula-director-mysql 5.0.1-1ubuntu1 [306kB]
Get:9 http://tr.archive.ubuntu.com/ubuntu/ lucid/main mtx 1.3.12-2ubuntu2 [146kB]
Get:10 http://tr.archive.ubuntu.com/ubuntu/ lucid/main bacula-sd 5.0.1-1ubuntu1 [459kB]
Get:11 http://tr.archive.ubuntu.com/ubuntu/ lucid/main bacula-sd-mysql 5.0.1-1ubuntu1 [434kB]
Get:12 http://tr.archive.ubuntu.com/ubuntu/ lucid/main bacula-server 5.0.1-1ubuntu1 [48.7kB]
Get:13 http://tr.archive.ubuntu.com/ubuntu/ lucid/main bacula-fd 5.0.1-1ubuntu1 [123kB]
Get:14 http://tr.archive.ubuntu.com/ubuntu/ lucid/main bacula-client 5.0.1-1ubuntu1 [48.7kB]
Get:15 http://tr.archive.ubuntu.com/ubuntu/ lucid/main bacula 5.0.1-1ubuntu1 [1,076B]
Get:16 http://tr.archive.ubuntu.com/ubuntu/ lucid/main libnet-daemon-perl 0.43-1 [46.9kB]
Get:17 http://tr.archive.ubuntu.com/ubuntu/ lucid/main libplrpc-perl 0.2020-2 [36.0kB]
Get:18 http://tr.archive.ubuntu.com/ubuntu/ lucid/main libdbi-perl 1.609-1build1 [798kB]
Get:19 http://tr.archive.ubuntu.com/ubuntu/ lucid/main libdbd-mysql-perl 4.012-1ubuntu1 [135kB]
Get:20 http://tr.archive.ubuntu.com/ubuntu/ lucid-updates/main mysql-client-core-5.1 5.1.41-3ubuntu12.1 [176kB]
Get:21 http://tr.archive.ubuntu.com/ubuntu/ lucid-updates/main mysql-server-core-5.1 5.1.41-3ubuntu12.1 [4,711kB]
Fetched 10.8MB in 31s (348kB/s)
Preconfiguring packages ...
debconf: Unknown template field '_description', in stanza #9 of /tmp/bacula-director-mysql.template.71094

Selecting previously deselected package bacula-common.
(Reading database ... 143645 files and directories currently installed.)
Unpacking bacula-common (from .../bacula-common_5.0.1-1ubuntu1_i386.deb) ...
Adding user 'bacula'... Ok.
Preparing to replace mysql-common 5.1.41-3ubuntu12 (using .../mysql-common_5.1.41-3ubuntu12.1_all.deb) ...
Unpacking replacement mysql-common ...
Selecting previously deselected package libmysqlclient16.
Unpacking libmysqlclient16 (from .../libmysqlclient16_5.1.41-3ubuntu12.1_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/libmysqlclient16_5.1.41-3ubuntu12.1_i386.deb (--unpack):
 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
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Selecting previously deselected package bacula-common-mysql.
Unpacking bacula-common-mysql (from .../bacula-common-mysql_5.0.1-1ubuntu1_i386.deb) ...
Selecting previously deselected package bacula-console.
Unpacking bacula-console (from .../bacula-console_5.0.1-1ubuntu1_i386.deb) ...
Processing triggers for man-db ...
Errors were encountered while processing:
 /var/cache/apt/archives/libmysqlclient16_5.1.41-3ubuntu12.1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Package
DistroRelease: Ubuntu 10.04
Package: libmysqlclient16 (not installed)
ProcVersionSignature: Ubuntu 2.6.32-22.33-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-22-generic i686
Architecture: i386
Date: Wed May 19 15:35:33 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 LTS "Lucid Lynx" - Release i386 (20100429)
SourcePackage: mysql-dfsg-5.1
Title: package libmysqlclient16 (not installed) 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
IndianaJones (cemzafer) wrote :
Chuck Short (zulcss)
affects: mysql-dfsg-5.1 (Ubuntu) → mysql-cluster-7.0 (Ubuntu)
Revision history for this message
Vadim S. (vadim-cuuma) wrote :

Resolution to this issue is that package maintainers need to remove libmysqlclient16 libraries e.g. usr/lib from package
mysql-cluster-client-5.1. Then make mysql-cluster-client-5.1 dependable to libmysqlclient16 package.

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.