Project

General

Profile

Feature #11629

Packages depend on older mariadb

Added by Predrag Zečević over 1 year ago. Updated about 1 year ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
OI-Userland
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:

Description

Hi,

:; pkg mediator mysql
MEDIATOR            VER. SRC. VERSION IMPL. SRC. IMPLEMENTATION
mysql               local     10.3    local      mariadb

Checked mariadb packages:
:; pkg list | grep maria
database/mariadb-101                              10.1.40-2018.0.0.1         i--
database/mariadb-101/client                       10.1.40-2018.0.0.1         i--
database/mariadb-101/library                      10.1.40-2018.0.0.1         i--
database/mariadb-103                              10.3.14-2018.0.0.1         i--
database/mariadb-103/client                       10.3.14-2018.0.0.1         i--
database/mariadb-103/library                      10.3.14-2018.0.0.1         i--

Tried to remove older one:
:; pfexec pkg uninstall -vn database/mariadb-101/library database/mariadb-101/client database/mariadb-101
Creating Plan (Solver setup): -
pkg uninstall: Unable to remove 'database/mariadb-101/library@10.1.40-2018.0.0.1' due to the following packages that depend on it:
  benchmark/sysbench@0.4.12-2018.0.0.2
  library/apr-util/dbd-mysql@1.5.4-2018.0.0.2
  library/perl-5/mysql-dbi-524@4.0.41-2018.0.0.2
  library/python/python-mysql-27@1.2.5-2018.0.0.1
  library/qt4@4.8.7-2018.0.0.7
  library/qt5@5.8.0-2018.0.0.6
  web/php-70/extension/php-mysqli@7.0.33-2018.0.0.2
  web/php-70/extension/php-pdo_mysql@7.0.33-2018.0.0.2
  web/php-73/extension/php-mysql@7.3.8-2018.0.0.1

and finally
:; pkg mediator php
MEDIATOR            VER. SRC. VERSION IMPL. SRC. IMPLEMENTATION
php                 system    7.3     system     

IMHO, all dependant packages need re-build to take latest mariadb (unless it is not possible).

Regards.

#1

Updated by Michal Nowak about 1 year ago

  • Tracker changed from Bug to Feature
  • Subject changed from Packjages depend on older mariadb to Packages depend on older mariadb
  • Category set to OI-Userland
  • Target version changed from 2019.10 to Hipster

Yes, I think this is a design decision we did when MariaDB 10.1 was the only MariaDB version shipped.

Now that we have MariaDB 10.3, we can make that one default and rebuild dependents (and, in some cases, update them for them to get 10.3 support).

Should we also obsolete MariaDB 10.1, we probably should provide MariaDB 10.2 so that upgrade is supported.

Also available in: Atom PDF