[MDEV-29392] galera-4 is downgraded Created: 2022-08-26  Updated: 2023-01-25  Resolved: 2023-01-25

Status: Closed
Project: MariaDB Server
Component/s: Packaging, Platform Debian
Affects Version/s: 10.3, 10.4, 10.5, 10.6, 10.7, 10.8, 10.9
Fix Version/s: 10.4.28

Type: Bug Priority: Critical
Reporter: William Edwards Assignee: Jan Lindström (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Environment:

Debian Bullseye


Issue Links:
Relates

 Description   

Some time ago, I reported an issue with MariaDB packages. Their version number caused apt to think they were being downgraded. This issue was resolved, but the same happens with the `galera-4` package:

dpkg: warning: downgrading galera-4 from 26.4.12-buster to 26.4.12-bullseye



 Comments   
Comment by Daniel Black [ 2022-08-27 ]

Ah, that was MDEV-28628. Thanks for the bug report again.

Cause: https://github.com/MariaDB/galera/blob/mariadb-4.x/scripts/build.sh#L322

Comment by Daniel Black [ 2022-08-29 ]

For clarity, the MDEV-28628 fix is this, and the dch -v arg is used as the package version.

Comment by William Edwards [ 2022-09-12 ]

Is there an ETA for this?

Comment by William Edwards [ 2022-10-21 ]

I have created a PR in the MariaDB fork: https://github.com/MariaDB/galera/pull/6

Did I point it to the correct branch (`mariadb-4.x`)?

Comment by Daniel Black [ 2022-10-25 ]

see it generating on deb 11:

dpkg-deb: building package 'galera-arbitrator-4' in '../galera-arbitrator-4_26.4.13-11_amd64.deb'.
dpkg-deb: building package 'galera-arbitrator-4-dbg' in '../galera-arbitrator-4-dbg_26.4.13-11_amd64.deb'.
dpkg-deb: building package 'galera-4' in '../galera-4_26.4.13-11_amd64.deb'.
dpkg-deb: building package 'galera-4-dbg' in '../galera-4-dbg_26.4.13-11_amd64.deb'.

ubuntu 22.04

dpkg-deb: building package 'galera-4-dbg' in '../galera-4-dbg_26.4.13-22.04_arm64.deb'.
dpkg-deb: building package 'galera-arbitrator-4-dbg' in '../galera-arbitrator-4-dbg_26.4.13-22.04_arm64.deb'.
dpkg-deb: building package 'galera-4' in '../galera-4_26.4.13-22.04_arm64.deb'.
dpkg-deb: building package 'galera-arbitrator-4' in '../galera-arbitrator-4_26.4.13-22.04_arm64.deb'.

test results are on: https://buildbot.mariadb.org/#/grid?branch=bb-4.x-danielblack-MDEV-29392-deb-pkg-pr6

seppo, jplindst, what do you think?

Comment by William Edwards [ 2022-11-04 ]

Daniel Black Should I update anything in my PR?

Comment by Daniel Black [ 2022-11-07 ]

I'm ok with it. I'm not the owner of Codeship repo or the Mariadb galera fork repository so I don't have the final say here. I'll keep asking.

Comment by William Edwards [ 2022-12-20 ]

Daniel Black What can I do to speed this up?

Comment by Jan Lindström (Inactive) [ 2023-01-25 ]

This will be fixed on Galera library version 26.4.14

Comment by Daniel Black [ 2023-01-25 ]

Thank you jplindst!

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