Repository navigation
Debian 12: mysql-connector-python-py3 is not offered in the debian package repository; extra documentation is needed. #12252
Description
Activity
Digging a bit, it looks like that the python connector is not available via the debian repository, since they removed debian building since version 9.0.0: https://downloads.mysql.com/archives/c-python/
And taking a further look in https://repo.mysql.com/apt/debian/dists/, it only looks like
wheezyandjessiehave this connector.@ShadowJonathan , do you have a doc PR to submit? you can at https://github.com/apache/cloudstack-documentation
And taking a further look in https://repo.mysql.com/apt/debian/dists/, it only looks like
wheezyandjessiehave this connector.it is part of
mysql-toolsforbookworm/debian12
https://repo.mysql.com/apt/debian/dists/bookworm/mysql-tools/binary-amd64/Packagesyou can just follow the steps in #9738
@weizhouapache i'll need to take a look at that again, in my testing this did not show up at all, so it being in this packages file is odd to me
@weizhouapache i'll need to take a look at that again, in my testing this did not show up at all, so it being in this packages file is odd to me
@ShadowJonathan
please share your steps if it does not work for youroot@debian-127:~# apt search mysql-connector-python-py3 Sorting... Done Full Text Search... Done mysql-connector-python-py3/unknown 8.4.0-1debian12 amd64 MySQL database driver written in pure Python 3 mysql-connector-python-py3-dbgsym/unknown 8.4.0-1debian12 amd64 debug symbols for mysql-connector-python-py3Ah I see what is going on.
The
trixierelease does not have the python connector: https://repo.mysql.com/apt/debian/dists/trixie/mysql-tools/binary-amd64/PackagesThis makes #12251 related, and it'll work on debian 12 as expected.
So then the only issue left is the absence in the documentation.
Reacted by Wei Zhou- changed the title
[-]Debian 12: `mysql-connector-python-py3` is not offered in the debian package repository; extra documentation is needed.[/-][+]Debian 13: `mysql-connector-python-py3` is not offered in the debian package repository; extra documentation is needed.[/+]on Dec 16, 2025 - changed the title
[-]Debian 13: `mysql-connector-python-py3` is not offered in the debian package repository; extra documentation is needed.[/-][+]Debian 12: `mysql-connector-python-py3` is not offered in the debian package repository; extra documentation is needed.[/+]on Dec 16, 2025 @ShadowJonathan are you submitting a doc PR?
I'm not entirely sure how I can add wording for this into the documentation site, so I don't feel confident to propose a documentation PR, no.
:) @weizhouapache, any advice?
:) @weizhouapache, any advice?
I will create a doc PR
@DaanHooglandReacted by dahnReacted by Jonathan de Jong@DaanHoogland @ShadowJonathan
can you please review apache/cloudstack-documentation#610 ?looks good, is that what would have helped you @ShadowJonathan ?
@DaanHoogland @weizhouapache reviewed it, with some optional suggestions. The wording is good as-is (it is at least a mention, which is enough), my suggestions are mere nit-picks, ergo my approval + review comments :)
Seeing this part would've indeed helped me figure out sooner why it would not properly install
cloudstack-management, yes.Thanks a lot!
With apache/cloudstack-documentation#610 merged, this can be closed, imo :)
Reacted by Wei Zhou
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
problem
Trying to "just" install
cloudstack-managementfrom the debian install instructions, I see this;Which then leads me to #9738, which assumes that
mysql-connector-python-py3is "just" available, while it is not;Doing a bit of digging, I find that
mysql-connector-python-py3is provided by MYSQL's own apt repository: thread link, which isn't noted in the documentation.versions
N/A, all versions on the debian repository
The steps to reproduce the bug
apt install cloud-managementWhat to do about it?
Adjust dependency, or add missing instruction to documentation to include https://dev.mysql.com/downloads/repo/apt/