[MDEV-24338] Unknown package depends on libmariadbclient-dev, should use libmariadb-dev (or -compat) Created: 2020-12-03 Updated: 2021-01-07 Resolved: 2021-01-07 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | libmariadb |
| Affects Version/s: | 10.5.8 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Blocker |
| Reporter: | Philip orleans | Assignee: | Otto Kekäläinen |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | development | ||
| Description |
|
I have a criticall app that requires
so how do I solve this riddle? Each version should have its version of libmariadbclient-dev in the repository. |
| Comments |
| Comment by Philip orleans [ 2020-12-03 ] | |||||||||||||
|
| |||||||||||||
| Comment by Sergei Golubchik [ 2021-01-07 ] | |||||||||||||
|
libmariadbclient-dev package doesn't exist since 10.2, we have libmariadb-dev that provides libmariadbclient-dev. I would expect the package manager to install libmariadb-dev automatically for you, if your app depends on libmariadbclient-dev. But in this case libmariadbclient-dev version 10.1.47 comes from bionic repos, while version 10.5.8 packages come from mariadb repos. otto, is there some way to tell apt to do the right thing without manual apt install libmariadb-dev ? | |||||||||||||
| Comment by Otto Kekäläinen [ 2021-01-07 ] | |||||||||||||
|
This is not a bug. You are trying to install libmariadbclient-dev in Bionic, which tries to install MariaDB 10.1, but you have also enabled MariaDB 10.5 repositories. Logically, you should be using MariaDB 10.5 packages, which libmariadbclient-dev is not of. Instead you have libmariadb-dev (MariaDB Connector C, version 3). What exactly is your `criticall app that requires libmariadbclient-dev`? It should either work directly with libmariadb-dev or if it expects to find a special name for a .so file you can install libmariadb-dev-compat. | |||||||||||||
| Comment by Philip orleans [ 2021-01-07 ] | |||||||||||||
|
Please close the case. I solved the issue. the package is not necessary. |