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

mariadb-client-10.7 and mariadb-server-10.7 fail to install on Ubuntu 21.10 for arm64

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Duplicate
    • 10.6.7, 10.7.3
    • 10.7.4, 10.6.8
    • Packaging
    • None

    Description

      Hi there,

      Trying to install MariaDB 10.7.3 using the official procedure (ref. https://mariadb.com/kb/en/installing-mariadb-deb-files/#installing-mariadb-packages-with-apt) on Ubuntu 21.10 Server (Impish Indri) for system architecture arm64 the following problem appears, preventing the installation to complete successfully:

      2022-05-08 21:59:19 ubuntu@xcraspi01:~$ sudo apt update -y && sudo apt-get install mariadb-server galera-4 mariadb-client libmariadb3 mariadb-backup mariadb-common
      Hit:1 http://ppa.launchpad.net/certbot/certbot/ubuntu disco InRelease
      Hit:2 http://ports.ubuntu.com/ubuntu-ports impish InRelease
      Hit:3 http://ports.ubuntu.com/ubuntu-ports impish-updates InRelease
      Hit:4 http://ppa.launchpad.net/ondrej/apache2/ubuntu impish InRelease
      Hit:5 http://ports.ubuntu.com/ubuntu-ports impish-backports InRelease
      Hit:6 http://ams2.mirrors.digitalocean.com/mariadb/repo/10.7/ubuntu impish InRelease
      Hit:7 http://ports.ubuntu.com/ubuntu-ports impish-security InRelease
      Hit:8 https://packages.cisofy.com/community/lynis/deb stable InRelease
      Hit:9 http://ppa.launchpad.net/ondrej/php/ubuntu impish InRelease
      Reading package lists... Done
      Building dependency tree... Done
      Reading state information... Done
      2 packages can be upgraded. Run 'apt list --upgradable' to see them.
      Reading package lists... Done
      Building dependency tree... Done
      Reading state information... Done
      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-client : Depends: mariadb-client-10.7 (>= 1:10.7.3+maria~impish) but it is not installable
      mariadb-server : Depends: mariadb-server-10.7 (>= 1:10.7.3+maria~impish) but it is not installable
      E: Unable to correct problems, you have held broken packages.*

      Kindly note that I already opened another similar bug report, MDEV-26024 less than a year ago, on June 2021.

      It seems you may have you automatic build workflow for arm64 broken somewhere, as the problem also happened on 10.6

      Thank you!

      Attachments

        Issue Links

          Activity

            danblack Daniel Black added a comment - - edited

            There were some issues with the last release based on builders of debian that didn't have an up to date apt cache (MDBF-347) which seems to have largely affect aarch64 builds.

            This was significantly reworked in (MDEV-28153) to not be so fragile.

            I just tested the about to be released 10.6 packages as follows:

            $ podman run --arch arm64 -ti  ubuntu:21.10 bash
            Resolved "ubuntu" as an alias (/etc/containers/registries.conf.d/000-shortnames.conf)
            Trying to pull docker.io/library/ubuntu:21.10...
            Getting image source signatures
            Copying blob 924f038c577f done  
            Copying config 771a596909 done  
            Writing manifest to image destination
            Storing signatures
            root@70ec8fb454b7:/# apt-get update && apt-get install -y ca-certificates
            ...
            root@70ec8fb454b7:/# parentbuildername=aarch64-ubuntu-2110-deb-autobake
            root@70ec8fb454b7:/# tarbuildnum=24811                           
            root@70ec8fb454b7:/# sh -c "echo 'deb [trusted=yes] https://ci.mariadb.org/$tarbuildnum/$parentbuildername/debs ./' >/etc/apt/sources.list.d/bb-artifacts.list"
            root@70ec8fb454b7:/# apt-get update && apt-get install -y mariadb-server
            ...
            root@70ec8fb454b7:/# dpkg -l | grep mariadb
            ii  libdbd-mariadb-perl       1.21-1ubuntu2                      arm64        Perl5 database interface to the MariaDB/MySQL databases
            ii  libmariadb3:arm64         1:10.6.8+maria~impish              arm64        MariaDB database client library
            ii  mariadb-client-10.6       1:10.6.8+maria~impish              arm64        MariaDB database client binaries
            ii  mariadb-client-core-10.6  1:10.6.8+maria~impish              arm64        MariaDB database core client binaries
            ii  mariadb-common            1:10.6.8+maria~impish              all          MariaDB common configuration files
            ii  mariadb-server            1:10.6.8+maria~impish              all          MariaDB database server (metapackage depending on the latest version)
            ii  mariadb-server-10.6       1:10.6.8+maria~impish              arm64        MariaDB database server binaries
            ii  mariadb-server-core-10.6  1:10.6.8+maria~impish              arm64        MariaDB database core server files
            

            Sorry for your current situation. It should be resolved fairly soon with the next releases this week.

            danblack Daniel Black added a comment - - edited There were some issues with the last release based on builders of debian that didn't have an up to date apt cache ( MDBF-347 ) which seems to have largely affect aarch64 builds. This was significantly reworked in ( MDEV-28153 ) to not be so fragile. I just tested the about to be released 10.6 packages as follows: $ podman run --arch arm64 -ti ubuntu:21.10 bash Resolved "ubuntu" as an alias (/etc/containers/registries.conf.d/000-shortnames.conf) Trying to pull docker.io/library/ubuntu:21.10... Getting image source signatures Copying blob 924f038c577f done Copying config 771a596909 done Writing manifest to image destination Storing signatures root@70ec8fb454b7:/# apt-get update && apt-get install -y ca-certificates ... root@70ec8fb454b7:/# parentbuildername=aarch64-ubuntu-2110-deb-autobake root@70ec8fb454b7:/# tarbuildnum=24811 root@70ec8fb454b7:/# sh -c "echo 'deb [trusted=yes] https://ci.mariadb.org/$tarbuildnum/$parentbuildername/debs ./' >/etc/apt/sources.list.d/bb-artifacts.list" root@70ec8fb454b7:/# apt-get update && apt-get install -y mariadb-server ... root@70ec8fb454b7:/# dpkg -l | grep mariadb ii libdbd-mariadb-perl 1.21-1ubuntu2 arm64 Perl5 database interface to the MariaDB/MySQL databases ii libmariadb3:arm64 1:10.6.8+maria~impish arm64 MariaDB database client library ii mariadb-client-10.6 1:10.6.8+maria~impish arm64 MariaDB database client binaries ii mariadb-client-core-10.6 1:10.6.8+maria~impish arm64 MariaDB database core client binaries ii mariadb-common 1:10.6.8+maria~impish all MariaDB common configuration files ii mariadb-server 1:10.6.8+maria~impish all MariaDB database server (metapackage depending on the latest version) ii mariadb-server-10.6 1:10.6.8+maria~impish arm64 MariaDB database server binaries ii mariadb-server-core-10.6 1:10.6.8+maria~impish arm64 MariaDB database core server files Sorry for your current situation. It should be resolved fairly soon with the next releases this week.
            caaguado Carlos Aguado added a comment -

            Thanks a lot Daniel, hope it gets solved soon. Keep up the excellent work

            caaguado Carlos Aguado added a comment - Thanks a lot Daniel, hope it gets solved soon. Keep up the excellent work

            People

              danblack Daniel Black
              caaguado Carlos Aguado
              Votes:
              0 Vote for this issue
              Watchers:
              2 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.