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

Minor upgrade fails on xenial due to missing unixODBC (case-sensitive)

Details

    Description

      http://buildbot.askmonty.org/buildbot/builders/kvm-deb-xenial-amd64/builds/2495/steps/minor-upgrade-all/logs/stdio

      Some packages could not be installed. This may mean that you have
      requested an impossible situation or if you are using the unstable
      distribution that some required packages have not yet been created
      or been moved out of Incoming.
      The following information may help to resolve the situation:
       
      The following packages have unmet dependencies:
       mariadb-connect-engine-10.0 : Depends: unixODBC but it is not installable
      E: Unable to correct problems, you have held broken packages.
      

      $ dpkg -l | grep -iE unixodbc
      ii  unixodbc                           2.3.1-4.1                       amd64        Basic ODBC tools
      

      It is the same problem as MDEV-10032, which was only fixed in 10.1+. It needs to be done in 10.0 as well.

      Attachments

        Activity

          Hi,
          trying to reproduce this.

          I am able to download the package and I can see the dependency on "unixODBC" instead of "unixodbc":
          $ apt download mariadb-connect-engine-10.0
          $ ar x mariadb-connect-engine-10.0_10.0.34+maria-1~xenial_amd64.deb
          $ tar -xvf control.tar.gz
          $ grep -i unixODBC control
          Depends: libxml2, mariadb-server-10.0 | mariadb-galera-server-10.0, unixODBC

          But when I try to install it directly from apt, I get the following:
          $ sudo apt install mariadb-connect-engine-10.0
          Reading package lists... Done
          Building dependency tree
          Reading state information... Done
          Package mariadb-connect-engine-10.0 is not available, but is referred to by another package.
          This may mean that the package is missing, has been obsoleted, or
          is only available from another source
          However the following packages replace it:
          mariadb-plugin-connect:i386 mariadb-plugin-connect

          E: Package 'mariadb-connect-engine-10.0' has no installation candidate

          So it's only on upgrade that this append?

          And the following is working:
          $ sudo apt install mariadb-server-10.0 unixodbc
          $ apt download mariadb-connect-engine-10.0
          $ sudo dpkg -i mariadb-connect-engine-10.0_10.0.34+maria-1~xenial_amd64.deb
          Selecting previously unselected package mariadb-connect-engine-10.0.
          (Reading database ... 94024 files and directories currently installed.)
          Preparing to unpack mariadb-connect-engine-10.0_10.0.34+maria-1~xenial_amd64.deb ...
          Unpacking mariadb-connect-engine-10.0 (10.0.34+maria-1~xenial) ...
          Setting up mariadb-connect-engine-10.0 (10.0.34+maria-1~xenial) ...

          So apt download + dpkg -i seems to be a workaround until a new package is provided?

          faust Faustin Lammler added a comment - Hi, trying to reproduce this. I am able to download the package and I can see the dependency on "unixODBC" instead of "unixodbc": $ apt download mariadb-connect-engine-10.0 $ ar x mariadb-connect-engine-10.0_10.0.34+maria-1~xenial_amd64.deb $ tar -xvf control.tar.gz $ grep -i unixODBC control Depends: libxml2, mariadb-server-10.0 | mariadb-galera-server-10.0, unixODBC But when I try to install it directly from apt, I get the following: $ sudo apt install mariadb-connect-engine-10.0 Reading package lists... Done Building dependency tree Reading state information... Done Package mariadb-connect-engine-10.0 is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source However the following packages replace it: mariadb-plugin-connect:i386 mariadb-plugin-connect E: Package 'mariadb-connect-engine-10.0' has no installation candidate So it's only on upgrade that this append? And the following is working: $ sudo apt install mariadb-server-10.0 unixodbc $ apt download mariadb-connect-engine-10.0 $ sudo dpkg -i mariadb-connect-engine-10.0_10.0.34+maria-1~xenial_amd64.deb Selecting previously unselected package mariadb-connect-engine-10.0. (Reading database ... 94024 files and directories currently installed.) Preparing to unpack mariadb-connect-engine-10.0_10.0.34+maria-1~xenial_amd64.deb ... Unpacking mariadb-connect-engine-10.0 (10.0.34+maria-1~xenial) ... Setting up mariadb-connect-engine-10.0 (10.0.34+maria-1~xenial) ... So apt download + dpkg -i seems to be a workaround until a new package is provided?

          otto do you need something else to accept the PR (https://github.com/MariaDB/server/pull/726) so we can close this bug ?

          faust Faustin Lammler added a comment - otto do you need something else to accept the PR ( https://github.com/MariaDB/server/pull/726 ) so we can close this bug ?

          This was fixed via https://github.com/MariaDB/server/pull/726, closing issue.

          otto Otto Kekäläinen added a comment - This was fixed via https://github.com/MariaDB/server/pull/726 , closing issue.

          People

            sanja Oleksandr Byelkin
            elenst Elena Stepanova
            Votes:
            0 Vote for this issue
            Watchers:
            4 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.