[MDEV-7327] Upgrading the client or server does not upgrade the dependencies Created: 2014-12-15  Updated: 2022-11-10  Resolved: 2022-11-10

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

Type: Bug Priority: Minor
Reporter: Laurent Blume Assignee: Sergei Golubchik
Resolution: Not a Bug Votes: 1
Labels: None
Environment:

CentOS 6 / RPMs


Issue Links:
PartOf
is part of MDEV-22320 MariaDB minor version upgrades Open

 Description   

Upgrading from 10.0.14 to 10.0.15:
when upgrading the server and client explicitly (rather than a generic "yum upgrade"), only those packages went to 10.0.15. Their MariaDB dependencies stayed at 10.0.14.
Note: the upgrade was done using the ClusterControl UI.

The command used was:
yum -y upgrade MariaDB-Galera-server.x86_64 galera MariaDB-client.x86_64 xtrabackup

After it completed, the packages installed were:
MariaDB-compat-10.0.14-1.el6.x86_64
MariaDB-Galera-server-10.0.15-1.el6.x86_64
MariaDB-common-10.0.14-1.el6.x86_64
MariaDB-client-10.0.15-1.el6.x86_64



 Comments   
Comment by Elena Stepanova [ 2014-12-15 ]

serg,
I think it had never upgraded them, and deb packages don't upgrade them either, even if you install 10.0 over 5.5.
We should consider possible consequences – different things depend on common packages, will it always be okay if we automatically upgrade them from 5.5 to 10.0? (Maybe it will, I'm just not sure).

Comment by Laurent Blume [ 2017-10-09 ]

Sorry for getting back to this so late- it seems I missed the update back then, and I had workarounds to go by. And now my old Jira account appears more or less borked now, I can't get to it.

Anyhow, I'll belatedly answer, because the issue is still definitely here:
If different things depend on the common package, what about MariaDB itself? will it be fine with keeping a different version installed? That seems just as risky to me, if not more.

Comment by Sergei Golubchik [ 2022-11-10 ]

Yes, it's intentional. For example, current MariaDB-server-10.9.4 requires

MariaDB-common >= 10.6.1
MariaDB-client >= 10.6.1

that is, we do use versioned dependencies, specifying the earliest version that works

Generated at Thu Feb 08 07:18:44 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.