[MDEV-3361] LP:1005841 - Debian package should Provides/Conflicts/Replaces with the mysql ones Created: 2012-05-29  Updated: 2012-10-04  Resolved: 2012-10-04

Status: Closed
Project: MariaDB Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Laurent Bigonville (Inactive) Assignee: Unassigned
Resolution: Incomplete Votes: 0
Labels: Launchpad

Attachments: XML File LPexportBug1005841.xml    

 Description   

Hi,

The installation of libmariadbclient16 is failing on squeeze due to:

dpkg: error processing /var/cache/apt/archives/libmariadbclient16_5.2.12-mariadb115~squeeze_amd64.deb (--unpack):
trying to overwrite '/usr/lib/libmysqlclient_r.so.16.0.0', which is also in package libmysqlclient16 5.1.61-0+squeeze1

libmariadbclient16 should probably Provides/Conflicts/Replaces libmysqlclient16



 Comments   
Comment by Elena Stepanova [ 2012-06-13 ]

Re: Debian package should Provides/Conflicts/Replaces with the mysql ones
Hi,

What exactly was the order of your installation, i.e. what were you installing on top of what?
I am not getting the same error installing either mariadb-server-5.2 over mysql-server-5.1, or libmariadbclient16 over mysql-server-5.1.

mariadb-server-5.2 over mysql-server-5.1:

The following extra packages will be installed:
libmariadbclient16 libmysqlclient16 mariadb-client-5.2 mariadb-client-core-5.2 mariadb-server-core-5.2
mysql-common
Suggested packages:
tinyca mariadb-test
The following packages will be REMOVED:
mysql-client-5.1 mysql-server-5.1 mysql-server-core-5.1
The following NEW packages will be installed:
libmariadbclient16 mariadb-client-5.2 mariadb-client-core-5.2 mariadb-server-5.2 mariadb-server-core-5.2
The following packages will be upgraded:
libmysqlclient16 mysql-common
2 upgraded, 5 newly installed, 3 to remove and 0 not upgraded.

libmariadbclient16 (from 5.2 repository) over mysql-server-5.1:

The following extra packages will be installed:
libmysqlclient16 mysql-common
The following NEW packages will be installed:
libmariadbclient16
The following packages will be upgraded:
libmysqlclient16 mysql-common
2 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 1,479 kB of archives.
After this operation, 1,270 kB disk space will be freed.
Do you want to continue [Y/n]? y
Get:1 http://mirrors.supportex.net/mariadb/repo/5.2/debian/ squeeze/main mysql-common all 5.2.12-mariadb115~squeeze [10.6 kB]
Get:2 http://mirrors.supportex.net/mariadb/repo/5.2/debian/ squeeze/main libmysqlclient16 amd64 5.2.12-mariadb115~squeeze [4,316 B]
Get:3 http://mirrors.supportex.net/mariadb/repo/5.2/debian/ squeeze/main libmariadbclient16 amd64 5.2.12-mariadb115~squeeze [1,464 kB]
Fetched 1,479 kB in 0s (2,023 kB/s)
Reading changelogs... Done
(Reading database ... 129785 files and directories currently installed.)
Preparing to replace mysql-common 5.1.61-0+squeeze1 (using .../mysql-common_5.2.12-mariadb115~squeeze_all.deb) ...
Unpacking replacement mysql-common ...
Preparing to replace libmysqlclient16 5.1.61-0+squeeze1 (using .../libmysqlclient16_5.2.12-mariadb115~squeeze_amd64.deb) ...
Unpacking replacement libmysqlclient16 ...
Selecting previously deselected package libmariadbclient16.
Unpacking libmariadbclient16 (from .../libmariadbclient16_5.2.12-mariadb115~squeeze_amd64.deb) ...
Setting up mysql-common (5.2.12-mariadb115~squeeze) ...
Installing new version of config file /etc/mysql/my.cnf ...
Setting up libmysqlclient16 (5.2.12-mariadb115~squeeze) ...
Setting up libmariadbclient16 (5.2.12-mariadb115~squeeze) ...

In both cases the process finishes successfully.

Comment by Rasmus Johansson (Inactive) [ 2012-06-22 ]

Launchpad bug id: 1005841

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