Debian package should Provides/Conflicts/Replaces with the mysql ones

Bug #1005841 reported by Laurent Bigonville
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MariaDB
Incomplete
Undecided
Unassigned

Bug 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

Revision history for this message
Elena Stepanova (elenst) wrote :

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.

Elena Stepanova (elenst)
Changed in maria:
status: New → Incomplete
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.