Bug #118906 Debian 13 Trixie not supported by MySQL yet
Submitted: 28 Aug 7:43 Modified: 27 Oct 15:10
Reporter: Daniël van Eeden (OCA) Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Package Repos Severity:S4 (Feature request)
Version: OS:Debian (13 (Trixie))
Assigned to: CPU Architecture:Any
Tags: Debian

[28 Aug 7:43] Daniël van Eeden
Description:
Debian 13 (codename Trixie) was released recently. MySQL hasn't added packages for this version on the download page or in the APT repo.

It looks like Oracle MySQL expects to only add support for newer OS versions with new versions of MySQL. This means users of Debian need to wait with upgrading to Debian 13 until MySQL 9.5 etc is released.

Debian 13 has been in the works for many years and has been available in the testing distribution.

How to repeat:
See description

Suggested fix:
I think that for both Fedora and Debian Oracle should make the current versions of MySQL available once they are close to being released so that users of these operating systems can upgrade once the release has been made official.

See also:
- Bug #116478
- Bug #111398
[1 Sep 10:03] MySQL Verification Team
Thanks Daniel.
[5 Sep 10:37] Matthew Roberts
Debian 13 is now released.

Also I was able to install by using the MySQL Bookworm repository however there is one dependency that has been renamed in Trixie so you will need to install it manually until MySQL repo has repackaged for it.

# Debian 13 workaround
wget https://deb.debian.org/debian/pool/main/liba/libaio/libaio1_0.3.113-4_amd64.deb
apt-get install ./libaio1_0.3.113-4_amd64.deb

I also experienced issues trying to install the mysql-connector-python and found the simplest workaround was to force via pip:

# Install Python MySQL Connector
pip3 install mysql-connector-python --break-system-packages
[26 Oct 5:06] Mikhail Aleinik
Official packages for Debian trixie available at https://repo.mysql.com/apt/debian/dists/

So now it can be installed as described in manual https://dev.mysql.com/doc/refman/9.5/en/linux-installation-apt-repo.html
[27 Oct 8:22] Daniël van Eeden
When installing mysql-apt-config_0.8.35-1_all.deb I get the following:

-------------------------------------------------------------------------

Package configuration

       ┌────────────────────────────────────────────────────────────────────┤ Configuring mysql-apt-config ├────────────────────────────────────────────────────────────────────┐
       │ The detected system (debian trixie) is not supported by MySQL. If you believe the platform is compatible with one of the supported systems, one of the corresponding   │ 
       │ repositories may be selected.                                                                                                                                          │ 
       │                                                                                                                                                                        │ 
       │ Add repository to unsupported system?                                                                                                                                  │ 
       │                                                                                                                                                                        │ 
       │                                                                             ubuntu lunar                                                                               │ 
       │                                                                            ubuntu focal                                                                                │ 
       │                                                                            ubuntu jammy                                                                                │ 
       │                                                                            ubuntu noble                                                                                │ 
       │                                                                            ubuntu oracular                                                                             │ 
       │                                                                            ubuntu plucky                                                                               │ 
       │                                                                            debian bookworm                                                                             │ 
       │                                                                            abort                                                                                       │ 
       │                                                                                                                                                                        │ 
       │                                                                                                                                                                        │ 
       │                                                                                 <Ok>                                                                                   │ 
       │                                                                                                                                                                        │ 
       └────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
[27 Oct 8:30] Daniël van Eeden
The generated sources list has bookworm in there. And this is in the old format. See https://wiki.debian.org/SourcesList#Upgrading_to_the_new_format for more info.
[27 Oct 8:38] Daniël van Eeden
https://repo.mysql.com/apt/debian/dists/bookworm/mysql-innovation/binary-amd64/ lists Packages to be 43k
https://repo.mysql.com/apt/debian/dists/trixie/mysql-innovation/binary-amd64/ lists Packages to be 0k (empty)

This seems suspicious to me
[27 Oct 8:54] Niklas Correnz
Yes, this is still not solved. https://repo.mysql.com/apt/debian/dists/trixie/mysql-8.4-lts/binary-amd64/Packages is empty.

We still cannot install mysql client 8.4 on Debian 13.
[27 Oct 14:34] Daniel Fischer
We've published a new version of mysql-apt-config that includes debian trixie and updated the repository to include packages for debian trixie.
[27 Oct 15:10] Daniël van Eeden
With today's changes I can successfully use the APT repo on trixie. Thanks!

$ dpkg -l mysql-community-server
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                   Version         Architecture Description
+++-======================-===============-============-=================================
ii  mysql-community-server 9.5.0-1debian13 amd64        MySQL Server
[27 Oct 18:20] Matthew Roberts
I had issues after upgrading mysql-apt-config so I had to purge and then re-install it.. now the sources.list is correct but 8.0 is empty in the repo still:

https://repo.mysql.com/apt/debian/dists/trixie/
[27 Oct 18:29] Matthew Roberts
As in only 8.0 impacted:
https://repo.mysql.com/apt/debian/dists/trixie/mysql-8.0/binary-amd64/

8.4 seems fine:
https://repo.mysql.com/apt/debian/dists/trixie/mysql-8.4-lts/binary-amd64/

And I forgot to say dpkg-reconfigure mysql-apt-config did not wipe bookworm references.. only apt-config remove --purge mysql-apt-config and apt-get -y install ./mysql-apt-config_0.8.36-1_all.deb got my /etc/apt/sources.list.d/mysql.list to say trixie.
[29 Oct 12:14] Daniel Fischer
There are no files for MySQL 8.0 because MySQL 8.0 is not supported on Debian 13: https://www.mysql.com/support/supportedplatforms/database.html
[29 Oct 13:45] Matthew Roberts
Interesting thank you. Only reason for using 8.x was due to MySQL Workbench being the most compatible with it.

If it is not supported, along with all the other older versions it probably should not have files in the repo under "trixie" for it at all (should not be an option in mysql-apt-config and even if it was should 404) rather than give the impression my distro is up to date.

root@DATABASE:~# apt-get update
Hit:1 http://deb.debian.org/debian trixie InRelease
Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
Get:3 http://security.debian.org/debian-security trixie-security InRelease [43.4 kB]
Hit:4 http://repo.mysql.com/apt/debian trixie InRelease
Get:5 http://security.debian.org/debian-security trixie-security/main Sources [89.9 kB]
Get:6 http://security.debian.org/debian-security trixie-security/main amd64 Packages [67.8 kB]
Get:7 http://security.debian.org/debian-security trixie-security/main Translation-en [44.6 kB]
Fetched 293 kB in 0s (2,434 kB/s)
Reading package lists... Done
root@DATABASE:~# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

This line in /etc/apt/sources.list.d/mysql.list should not silently fail:

deb [signed-by=/usr/share/keyrings/mysql-apt-config.gpg] http://repo.mysql.com/apt/debian/ trixie mysql-8.0