[MDEV-716] LP:815198 - problems with overwriting libmysqlclient files when installing mariadb on debian wheezy Created: 2011-07-23  Updated: 2013-03-20  Resolved: 2013-03-20

Status: Closed
Project: MariaDB Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.5.31, 5.1.73, 5.2.15, 5.3.13

Type: Bug Priority: Major
Reporter: Kristian Nielsen Assignee: Alexey Botchkov
Resolution: Cannot Reproduce Votes: 0
Labels: Launchpad

Attachments: XML File LPexportBug815198.xml    

 Description   

knielsen@frigg:~$ sudo apt-get install mariadb-server
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libexpat1-dev comerr-dev libkrb5-dev libapr1-dev libpcrecpp0 libssl-dev libssl-doc uuid-dev
  libkadm5clnt-mit8 libpq-dev libkadm5srv-mit8 libsqlite3-dev libpcre3-dev libkdb5-5 krb5-multidev
  libldap2-dev
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  libdbd-mysql-perl libdbi-perl libhtml-template-perl libmariadbclient16 libmysqlclient16
  libnet-daemon-perl libplrpc-perl mariadb-client-5.3 mariadb-client-core-5.3 mariadb-server-5.3
  mariadb-server-core-5.3 mysql-common
Suggested packages:
  libipc-sharedcache-perl tinyca mariadb-test
The following packages will be REMOVED:
  apache2-prefork-dev libaprutil1-dev libmysqlclient-dev
The following NEW packages will be installed:
  libdbd-mysql-perl libdbi-perl libhtml-template-perl libmariadbclient16 libnet-daemon-perl libplrpc-perl
  mariadb-client-5.3 mariadb-client-core-5.3 mariadb-server mariadb-server-5.3 mariadb-server-core-5.3
The following packages will be upgraded:
  libmysqlclient16 mysql-common
2 upgraded, 11 newly installed, 3 to remove and 0 not upgraded.
Need to get 23.5 MB of archives.
After this operation, 38.2 MB of additional disk space will be used.
Do you want to continue [Y/n]? 
Get:1 http://ftp.dk.debian.org/debian/ wheezy/main libnet-daemon-perl all 0.48-1 [46.2 kB]
Get:2 http://ftp.osuosl.org/pub/mariadb/repo/5.3/debian/ squeeze/main mysql-common all 5.3.0-mariadb101~squeeze [10.7 kB]
Get:3 http://ftp.dk.debian.org/debian/ wheezy/main libplrpc-perl all 0.2020-2 [36.0 kB]
Get:4 http://ftp.dk.debian.org/debian/ wheezy/main libdbi-perl amd64 1.616-1+b1 [894 kB]
Get:5 http://ftp.osuosl.org/pub/mariadb/repo/5.3/debian/ squeeze/main libmariadbclient16 amd64 5.3.0-mariadb101~squeeze [1,525 kB]
Get:6 http://ftp.dk.debian.org/debian/ wheezy/main libdbd-mysql-perl amd64 4.019-1 [137 kB]
Get:7 http://ftp.dk.debian.org/debian/ wheezy/main libhtml-template-perl all 2.9-3 [61.7 kB]
Get:8 http://ftp.osuosl.org/pub/mariadb/repo/5.3/debian/ squeeze/main libmysqlclient16 amd64 5.3.0-mariadb101~squeeze [4,348 B]
Get:9 http://ftp.osuosl.org/pub/mariadb/repo/5.3/debian/ squeeze/main mariadb-client-core-5.3 amd64 5.3.0-mariadb101~squeeze [94.5 kB]
Get:10 http://ftp.osuosl.org/pub/mariadb/repo/5.3/debian/ squeeze/main mariadb-client-5.3 amd64 5.3.0-mariadb101~squeeze [1,759 kB]
Get:11 http://ftp.osuosl.org/pub/mariadb/repo/5.3/debian/ squeeze/main mariadb-server-core-5.3 amd64 5.3.0-mariadb101~squeeze [4,621 kB]
Get:12 http://ftp.osuosl.org/pub/mariadb/repo/5.3/debian/ squeeze/main mariadb-server-5.3 amd64 5.3.0-mariadb101~squeeze [14.3 MB]
Get:13 http://ftp.osuosl.org/pub/mariadb/repo/5.3/debian/ squeeze/main mariadb-server all 5.3.0-mariadb101~squeeze [4,382 B]
Fetched 23.5 MB in 20s (1,161 kB/s)                                                                         
Reading changelogs... Done
Preconfiguring packages ...
(Reading database ... 167715 files and directories currently installed.)
Removing apache2-prefork-dev ...
Removing libaprutil1-dev ...
Removing libmysqlclient-dev ...
Processing triggers for man-db ...
(Reading database ... 167298 files and directories currently installed.)
Preparing to replace mysql-common 5.1.57-3 (using .../mysql-common_5.3.0-mariadb101~squeeze_all.deb) ...
Unpacking replacement mysql-common ...
Selecting previously deselected package libnet-daemon-perl.
Unpacking libnet-daemon-perl (from .../libnet-daemon-perl_0.48-1_all.deb) ...
Selecting previously deselected package libplrpc-perl.
Unpacking libplrpc-perl (from .../libplrpc-perl_0.2020-2_all.deb) ...
Selecting previously deselected package libdbi-perl.
Unpacking libdbi-perl (from .../libdbi-perl_1.616-1+b1_amd64.deb) ...
Selecting previously deselected package libmariadbclient16.
Unpacking libmariadbclient16 (from .../libmariadbclient16_5.3.0-mariadb101~squeeze_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/libmariadbclient16_5.3.0-mariadb101~squeeze_amd64.deb (--unpack):
 trying to overwrite '/usr/lib/libmysqlclient_r.so.16.0.0', which is also in package libmysqlclient16 5.1.57-3
configured to not write apport reports
                                      dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Preparing to replace libmysqlclient16 5.1.57-3 (using .../libmysqlclient16_5.3.0-mariadb101~squeeze_amd64.deb) ...
Unpacking replacement libmysqlclient16 ...
Selecting previously deselected package libdbd-mysql-perl.
Unpacking libdbd-mysql-perl (from .../libdbd-mysql-perl_4.019-1_amd64.deb) ...
Selecting previously deselected package mariadb-client-core-5.3.
Unpacking mariadb-client-core-5.3 (from .../mariadb-client-core-5.3_5.3.0-mariadb101~squeeze_amd64.deb) ...
Selecting previously deselected package mariadb-client-5.3.
Unpacking mariadb-client-5.3 (from .../mariadb-client-5.3_5.3.0-mariadb101~squeeze_amd64.deb) ...
Selecting previously deselected package mariadb-server-core-5.3.
Unpacking mariadb-server-core-5.3 (from .../mariadb-server-core-5.3_5.3.0-mariadb101~squeeze_amd64.deb) ...
Processing triggers for man-db ...
Processing triggers for menu ...
Errors were encountered while processing:
 /var/cache/apt/archives/libmariadbclient16_5.3.0-mariadb101~squeeze_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)



 Comments   
Comment by Kristian Nielsen [ 2011-07-25 ]

Re: problems with overwriting libmysqlclient files when installing mariadb on debian wheezy
I think there is just missing a conflict declaration between libmariadbclient and libmysqlclient, as libmariadbclient contains libmysqlclient.so which replaces the same file in libmysqlclient. Will investigate.

Comment by Rasmus Johansson (Inactive) [ 2012-05-07 ]

Launchpad bug id: 815198

Comment by Alexey Botchkov [ 2013-03-20 ]

I've tried different combinations of MySQL and MariaDB, but everything worked for me on wheezy-amd64.
Shortly speaking, cannot reproduce this one.

Generated at Thu Feb 08 06:30:49 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.