[MDEV-19309] mysql_config missing in version 10.4 Created: 2019-04-23  Updated: 2020-02-24  Resolved: 2020-02-24

Status: Closed
Project: MariaDB Server
Component/s: Packaging, Platform Debian
Affects Version/s: 10.4.4
Fix Version/s: N/A

Type: Bug Priority: Minor
Reporter: Philip orleans Assignee: Unassigned
Resolution: Won't Fix Votes: 0
Labels: None
Environment:

Ubuntu 18.04.2 LTS (Bionic Beaver)



 Description   

I need the command mysql_config and I cannot figure out how to install it when using 10.4.4

apt-get install libmariadbclient-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
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:
 
The following packages have unmet dependencies:
 libmariadbclient-dev : Depends: libmariadbclient18 (= 1:10.1.38-0ubuntu0.18.04.1) but 1:10.4.4+maria~bionic is to be installed
E: Unable to correct problems, you have held broken packages.



 Comments   
Comment by Sergei Golubchik [ 2019-04-28 ]

It looks like there's libmariadb-dev-compat package, which installs mysql_config (as a symlink to mariadb_config).

Comment by Philip orleans [ 2019-04-29 ]

It works, but
apt-get install libmariadbclient-dev

still fails. I guess nothing should fail. Also, the packages should install all at once, not forcing the users to guess what package provides what.

Comment by Sergei Golubchik [ 2019-05-03 ]

As far as I can see, the package libmariadbclient-dev was renamed to libmariadb-dev in 10.2.

So when you're trying to install libmariadbclient-dev, you get libmariadbclient-dev 10.1.38 from Ubuntu repository. That's why you get a conflict.

Comment by Otto Kekäläinen [ 2020-02-24 ]

The key here is '1:10.4.4+maria~bionic is to be installed'.

It seem you are now mixing both the MariaDB 10.1 packages in Ubuntu 18.04 and packages you have manually installed from mariadb.org.

Run dpkg -l | grep -iE 'maria|mysql|galera' to see what you have installed. Remove everything that has a plus sign in the version and deactivate any mariadb.org repositories.

This is not a bug in the program, so closing issue.

Generated at Thu Feb 08 08:50:40 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.