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

Unable to upgrade MariaDB on a Debian 9.1

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Not a Bug
    • None
    • N/A
    • Packaging
    • Debian 9.1, MariaDB 10.1, i386

    Description

      I have MariaDB installed on a Debian 9.1 (i386) system.
      These are the installed packages:

      ii  libmariadbclient-dev                10.1.26-0+deb9u1               i386         MariaDB database development files
      ii  libmariadbclient-dev-compat:i386    10.1.26-0+deb9u1               i386         MariaDB database development files (libmysqlclient compatibility)
      ii  libmariadbclient18:i386             10.1.26-0+deb9u1               i386         MariaDB database client library
      ii  mariadb-client-10.1                 10.1.26-0+deb9u1               i386         MariaDB database client binaries
      ii  mariadb-client-core-10.1            10.1.26-0+deb9u1               i386         MariaDB database core client binaries
      ii  mariadb-common                      10.1.28+maria-1~stretch        all          MariaDB database common files (e.g. /etc/mysql/conf.d/mariadb.cnf)
      ii  mariadb-server                      10.1.23-9+deb9u1               all          MariaDB database server (metapackage depending on the latest version)
      ii  mariadb-server-10.1                 10.1.26-0+deb9u1               i386         MariaDB database server binaries
      ii  mariadb-server-core-10.1            10.1.26-0+deb9u1               i386         MariaDB database core server files
      

      I have an upgrade notification from apt and when I try to upgrade I get the following error:

      Reading package lists... Done
      Building dependency tree       
      Reading state information... Done
      The following additional packages will be installed:
        iproute
      Suggested packages:
        mariadb-test netcat-openbsd tinyca
      The following packages will be REMOVED:
        libmariadbclient-dev-compat
      The following NEW packages will be installed:
        iproute
      The following packages will be upgraded:
        libmariadbclient-dev libmariadbclient18 libmysqlclient18 mariadb-client-10.1 mariadb-client-core-10.1 mariadb-server mariadb-server-10.1 mariadb-server-core-10.1
      8 upgraded, 1 newly installed, 1 to remove and 0 not upgraded.
      Remv libmariadbclient-dev-compat [10.1.26-0+deb9u1]
      Inst mariadb-server [10.1.23-9+deb9u1] (10.1.28+maria-1~stretch MariaDB:mirror.klaus-uwe.me [all]) []
      Inst libmariadbclient-dev [10.1.26-0+deb9u1] (10.1.28+maria-1~stretch MariaDB:mirror.klaus-uwe.me [i386]) []
      Inst libmysqlclient18 [5.5.57-0+deb8u1] (10.1.28+maria-1~stretch MariaDB:mirror.klaus-uwe.me [i386]) []
      Inst libmariadbclient18 [10.1.26-0+deb9u1] (10.1.28+maria-1~stretch MariaDB:mirror.klaus-uwe.me [i386]) []
      Inst mariadb-server-10.1 [10.1.26-0+deb9u1] (10.1.28+maria-1~stretch MariaDB:mirror.klaus-uwe.me [i386]) []
      Inst mariadb-server-core-10.1 [10.1.26-0+deb9u1] (10.1.28+maria-1~stretch MariaDB:mirror.klaus-uwe.me [i386]) []
      Inst iproute (1:4.9.0-1 Debian:9.2/stable [all]) []
      Inst mariadb-client-core-10.1 [10.1.26-0+deb9u1] (10.1.28+maria-1~stretch MariaDB:mirror.klaus-uwe.me [i386]) [mariadb-client-10.1:i386 on mysql-client-core-5.5:i386] [mariadb-client-10.1:i386 on mysql-client-core-5.6:i386] [mariadb-client-10.1:i386 ]
      Inst mariadb-client-10.1 [10.1.26-0+deb9u1] (10.1.28+maria-1~stretch MariaDB:mirror.klaus-uwe.me [i386])
      Conf mariadb-server (10.1.28+maria-1~stretch MariaDB:mirror.klaus-uwe.me [all])
      Conf libmariadbclient-dev (10.1.28+maria-1~stretch MariaDB:mirror.klaus-uwe.me [i386])
      Conf libmysqlclient18 (10.1.28+maria-1~stretch MariaDB:mirror.klaus-uwe.me [i386])
      Conf libmariadbclient18 (10.1.28+maria-1~stretch MariaDB:mirror.klaus-uwe.me [i386])
      Conf mariadb-server-10.1 (10.1.28+maria-1~stretch MariaDB:mirror.klaus-uwe.me [i386])
      Conf mariadb-server-core-10.1 (10.1.28+maria-1~stretch MariaDB:mirror.klaus-uwe.me [i386])
      Conf iproute (1:4.9.0-1 Debian:9.2/stable [all])
      Conf mariadb-client-core-10.1 (10.1.28+maria-1~stretch MariaDB:mirror.klaus-uwe.me [i386])
      Conf mariadb-client-10.1 (10.1.28+maria-1~stretch MariaDB:mirror.klaus-uwe.me [i386])
      E: Fatal, conflicts violated mariadb-client-10.1:i386
      E: Fatal, conflicts violated mariadb-client-10.1:i386
      

      The content of /etc/apt/sources.list.d/MariaDB.list

      # MariaDB 10.1 repository list - created 2017-06-28 14:07 UTC
      # http://downloads.mariadb.org/mariadb/repositories/
      deb [arch=amd64,i386] http://mirror.klaus-uwe.me/mariadb/repo/10.1/debian stretch main
      deb-src http://mirror.klaus-uwe.me/mariadb/repo/10.1/debian stretch main
      

      Before posting the issue I have performed searches and found nothing, I am not an expert sysadmin.

      Attachments

        Activity

          Your 10.1.26 packages are provided by Debian, while 10.1.28 that you are trying to install come from MariaDB. Package upgrade from one distribution to another, while might work in some cases, is generally not supported, it is recommended to stick to one provider. Debian packages should in general be more convenient, as they are located in the default repository. If you have a reason to switch to packages produced by MariaDB (e.g. you need the new version urgently and can't wait till it appears in Debian repo), please uninstall the existing version, naturally without purging the data, and install the new one.

          elenst Elena Stepanova added a comment - Your 10.1.26 packages are provided by Debian, while 10.1.28 that you are trying to install come from MariaDB. Package upgrade from one distribution to another, while might work in some cases, is generally not supported, it is recommended to stick to one provider. Debian packages should in general be more convenient, as they are located in the default repository. If you have a reason to switch to packages produced by MariaDB (e.g. you need the new version urgently and can't wait till it appears in Debian repo), please uninstall the existing version, naturally without purging the data, and install the new one.

          People

            Unassigned Unassigned
            themaninspain Alan Moore
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.