Bug #109627 Package "mysql-community-client" not found in deb repository on arm64/v8
Submitted: 13 Jan 2023 12:20 Modified: 13 Jan 2023 14:16
Reporter: Niklas Correnz Email Updates:
Status: Unsupported Impact on me:
None 
Category:MySQL Package Repos Severity:S3 (Non-critical)
Version: OS:Any
Assigned to: CPU Architecture:ARM

[13 Jan 2023 12:20] Niklas Correnz
Description:
I'm trying to install mysql-community-client from mysql-apt-config_0.8.24-1_all.deb, but this only works on amd64 and not on arm64.

Error: "E: Unable to locate package mysql-community-client"

I'm taking the download link to the deb file from https://dev.mysql.com/downloads/repo/apt/, which states, it would be "Architecture Independent". But apparently it is not.

Please see the small example Dockerfile I have made below.

How to repeat:
The sample Dockerfile:

```Dockerfile
FROM php:8.2.1-fpm-bullseye

ENV DEBIAN_FRONTEND noninteractive

RUN apt-get update && apt-get install -y nano

RUN curl -L -s --fail -o /tmp/mysql8.deb https://dev.mysql.com/get/mysql-apt-config_0.8.24-1_all.deb \
    && apt-get install -y /tmp/mysql8.deb \
    && rm -f /tmp/mysql8.deb \
    && apt-get update \
    && apt-get install -y mysql-community-client \
    && docker-php-ext-install pdo_mysql
```

Building for amd works: `docker buildx build --platform linux/amd64 .`

Building for arm does NOT work: `docker buildx build --platform linux/arm64/v8 .`
[13 Jan 2023 14:11] MySQL Verification Team
Hi Mr. Niklas,

Thank you for your bug report.

However, as you can see from this page:

https://dev.mysql.com/downloads/mysql/

We do not yet support ARM CPU on Debian ....... We will support it, but we do not know yet when .....

Unsupported.
[13 Jan 2023 14:16] Niklas Correnz
Thank you for your quick reply!

That is unfortunate.

Maybe you could give https://dev.mysql.com/downloads/repo/apt/ a description that while the deb is architecture independent, it doesn't mean, all architecture are supported.

Cheers