Skip to content

Commit 0df74a0

Browse files
committed
Deb: Fix failing Salsa-CI by syncing fixes from downstream to upstream
Fixes jobs: - mysql-8.0 Sid to mariadb-10.5 upgrade - mariadb.org-10.5 to mariadb-10.5 upgrade Downstream source: https://salsa.debian.org/mariadb-team/mariadb-10.5/-/commit/8db0e530872fea258e87533349fa83568eeed02d
1 parent 5a4daa9 commit 0df74a0

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

debian/salsa-ci.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -541,9 +541,8 @@ mysql-8.0 Sid to mariadb-10.5 upgrade:
541541
- ${WORKING_DIR}/debug
542542
script:
543543
- *test-prepare-container
544-
# First install often fail due to bug in mysql-8.0
545-
- apt-get install -y mysql-server 'libmysqlc*' || true
546-
- sleep 10 && apt-get install -f
544+
# The postinst fails often if 'ps' is missing from system, so install procps
545+
- apt-get install -y procps mysql-server 'libmysqlc*'
547546
- *test-verify-initial
548547
- *test-install
549548
- service mysql status
@@ -647,8 +646,13 @@ mariadb.org-10.5 to mariadb-10.5 upgrade:
647646
- echo 'deb http://mirror.one.com/mariadb/repo/10.5/debian sid main' > /etc/apt/sources.list.d/mariadb.list
648647
- apt-get update
649648
- *test-install-readline-in-sid-for-backwards-compat
649+
# The 10.5.9 relase is missing mariadb-plugin-columnstore, define all other packages but it to avoid hitting the error:
650+
# The following packages have unmet dependencies:
651+
# mariadb-plugin-columnstore : Depends: mariadb-server-10.5 (= 1:10.5.8+maria~sid) but 1:10.5.9+maria~sid is to be installed
652+
- apt-get install -y libmariadb3 'libmariadb-*' 'libmariadbd*' 'mariadb-c*' 'mariadb-b*' 'mariadb-s*' 'mariadb-t*' 'mariadb-plugin-con*' 'mariadb-plugin-cr*' 'mariadb-plugin-g*' 'mariadb-plugin-m*' 'mariadb-plugin-o*' 'mariadb-plugin-s*'
653+
# Once 10.5.10 is out, revert back to:
650654
# Package libmariadbclient-dev from mariadb.org conficts with libmariadb-dev in Sid, so cannot use wildcard that would include it
651-
- apt-get install -y 'mariadb*' libmariadb3 'libmariadb-*' 'libmariadbd*'
655+
#- apt-get install -y 'mariadb*' libmariadb3 'libmariadb-*' 'libmariadbd*'
652656
- *test-verify-initial
653657
# Install MariaDB built in this commit
654658
# Force downgrades so our version installs on top of upstream revision, e.g. 1:10.5.5-1 vs 1:10.5.5+mariadb~sid

0 commit comments

Comments
 (0)