Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-3361

LP:1005841 - Debian package should Provides/Conflicts/Replaces with the mysql ones

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Incomplete
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      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

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            elenst Elena Stepanova added a comment -

            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.

            Show
            elenst Elena Stepanova added a comment - 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.
            Hide
            ratzpo Rasmus Johansson added a comment -

            Launchpad bug id: 1005841

            Show
            ratzpo Rasmus Johansson added a comment - Launchpad bug id: 1005841

              People

              • Assignee:
                Unassigned
                Reporter:
                laurentbigonville Laurent Bigonville
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: