[MDEV-21803] wrong dependency for mariadb-plugin-tokudb Created: 2020-02-22  Updated: 2020-02-22  Resolved: 2020-02-22

Status: Closed
Project: MariaDB Server
Component/s: Storage Engine - TokuDB
Affects Version/s: 10.5.1
Fix Version/s: N/A

Type: Bug Priority: Trivial
Reporter: antoine Assignee: Unassigned
Resolution: Not a Bug Votes: 0
Labels: None
Environment:

debian 9


Issue Links:
Relates
relates to MDEV-19780 Remove the TokuDB storage engine Closed

 Description   

package mariadb-plugin-tokudb 10.5.1 depends on mariadb-server 10.1 instead of 10.5.
hence running apt-get install mariadb-plugin-tokudb uninstalls mariadb-server 10.5 and installs 10.1

> pico /etc/apt/sources.list.d
 
deb [arch=amd64,i386,ppc64el] http://mirror.mva-n.net/mariadb/repo/10.5/debian stretch main
deb-src http://mirror.mva-n.net/mariadb/repo/10.5/debian stretch main

installing mariadb 10.5 from the apt repo works:

> apt-get install mariadb-server mariadb-client libmariadb3 mariadb-backup mariadb-common
 
> apt list --installed mariadb-*
mariadb-backup/unknown,now 1:10.5.1+maria~stretch amd64 [installed]
mariadb-client/unknown,unknown,unknown,now 1:10.5.1+maria~stretch all [installed]
mariadb-client-10.5/unknown,now 1:10.5.1+maria~stretch amd64 [installed,automatic]
mariadb-client-core-10.5/unknown,now 1:10.5.1+maria~stretch amd64 [installed,automatic]
mariadb-common/unknown,unknown,unknown,now 1:10.5.1+maria~stretch all [installed]
mariadb-server/unknown,unknown,unknown,now 1:10.5.1+maria~stretch all [installed]
mariadb-server-10.5/unknown,now 1:10.5.1+maria~stretch amd64 [installed,automatic]
mariadb-server-core-10.5/unknown,now 1:10.5.1+maria~stretch amd64 [installed,automatic]

installing tokudb breaks it all as it uninstall mariadb 10.5 and installs version 10.1:

> apt-get install mariadb-plugin-tokudb
 
The following additional packages will be installed:
  galera-3 libdbd-mysql-perl libmariadbclient18 mariadb-client-10.1 mariadb-client-core-10.1 mariadb-server-10.1 mariadb-server-core-10.1
Suggested packages:
  mariadb-test netcat-openbsd tinyca
The following packages will be REMOVED:
  galera-4 mariadb-backup mariadb-client mariadb-client-10.5 mariadb-client-core-10.5 mariadb-server mariadb-server-10.5 mariadb-server-core-10.5
The following NEW packages will be installed:
  galera-3 libdbd-mysql-perl libmariadbclient18 mariadb-client-10.1 mariadb-client-core-10.1 mariadb-plugin-tokudb mariadb-server-10.1 mariadb-server-core-10.1



 Comments   
Comment by Elena Stepanova [ 2020-02-22 ]

There is no "package mariadb-plugin-tokudb 10.5.1", it's not built anymore. You are installing TokuDB 10.1 from the Debian repo, that's why it pulls 10.1 server.

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