[MDEV-28513] mariadb-client-10.7 and mariadb-server-10.7 fail to install on Ubuntu 21.10 for arm64 Created: 2022-05-08  Updated: 2022-05-10  Resolved: 2022-05-09

Status: Closed
Project: MariaDB Server
Component/s: Packaging
Affects Version/s: 10.6.7, 10.7.3
Fix Version/s: 10.6.8, 10.7.4

Type: Bug Priority: Major
Reporter: Carlos Aguado Assignee: Daniel Black
Resolution: Duplicate Votes: 0
Labels: None
Environment:

Ubuntu 21.10 Server (Impish Indri) for system architecture arm64 running on a Raspberry Pi 4 Model B Rev 1.4 (8 GB RAM) --->

Processor(s): 4 x Cortex-A72 aarch64, online cores 0-3 @ 1500.0000 MHz, 1 thread/core
Linux System: Ubuntu 21.10 (Impish Indri) aarch64, kernel 5.13.0-1025-raspi #27-Ubuntu SMP PREEMPT Tue Apr 5 12:05:22 UTC 2022 (ring buffer size 128 KiB)


Issue Links:
Duplicate
duplicates MDBF-347 bb 10.2 packages generated in CI ubun... Closed
Relates
relates to MDEV-26024 mariadb-client-10.5 and mariadb-serve... Closed

 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!



 Comments   
Comment by Daniel Black [ 2022-05-09 ]

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.

Comment by Carlos Aguado [ 2022-05-10 ]

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

Generated at Thu Feb 08 10:01:19 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.