Skip to content

Debian 12: mysql-connector-python-py3 is not offered in the debian package repository; extra documentation is needed. #12252

@ShadowJonathan

Description

@ShadowJonathan

problem

Trying to "just" install cloudstack-management from the debian install instructions, I see this;

$ sudo apt install cloudstack-management
Solving dependencies... Error!
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:

Unsatisfied dependencies:
cloudstack-management : Depends: python3-mysql.connector but it is not installable or
mysql-connector-python-py3 but it is not installable
Error: Unable to correct problems, you have held broken packages.
Error: The following information from --solver 3.0 may provide additional context:
Unable to satisfy dependencies. Reached two conflicting decisions:
1. cloudstack-management:amd64=4.22.0.0 is selected for install
2. cloudstack-management:amd64 Depends python3-mysql.connector | mysql-connector-python-py3
but none of the choices are installable:
[no choices]

Which then leads me to #9738, which assumes that mysql-connector-python-py3 is "just" available, while it is not;

$ apt search mysql-connector-python-py3
[ no output ]

Doing a bit of digging, I find that mysql-connector-python-py3 is 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

  1. Install .deb via apt install cloud-management
  2. Observe error

What to do about it?

Adjust dependency, or add missing instruction to documentation to include https://dev.mysql.com/downloads/repo/apt/

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions