Source: cacti
Version: 1.2.31+ds1-3
Severity: normal
Tags: patch
X-Debbugs-Cc: [email protected]

Dear Maintainer,

cacti currently depends on mariadb-server for each of the tests in d/t/control.
However, the cacti binary package currently recommends default-mysql-server |
virtual-mysql-server, which points to mariadb-server-compat via mysql-defaults.
The test dependencies should be updated to match recommends and fix test
failures against mariadb 1:11.8.9+ds-4.

Also, as we are moving away from default-mysql-* packages in Forky
(https://lists.debian.org/debian-devel/2026/05/msg00161.html) I would recommend
moving uses of default-mysql-* in general to mariadb compat | mysql. I've
attached a patch that handles both updates.

Thanks,
Lena
diff --git a/debian/control b/debian/control
index 092acdfd..225a4548 100644
--- a/debian/control
+++ b/debian/control
@@ -59,7 +59,7 @@ Depends: dbconfig-common,
          snmp,
          ucf,
 Recommends: apache2 | lighttpd | nginx | httpd,
-            default-mysql-server | virtual-mysql-server,
+            mariadb-server-compat | mysql-server,
             inetutils-ping | iputils-ping,
             logrotate,
 Suggests: cacti-spine,
diff --git a/debian/tests/control b/debian/tests/control
index ef43d5cb..2910db52 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,14 +1,14 @@
 Test-Command: debian/tests/check_all_pages debian
-Depends: mariadb-server, @, wget, apache2
+Depends: mariadb-server-compat, @, wget, apache2
 Restrictions: needs-root, allow-stderr, isolation-container
 Features: test-name=check-all-pages-debian
 
 Test-Command: debian/tests/check_all_pages upstream
-Depends: mariadb-server, @, wget, apache2
+Depends: mariadb-server-compat, @, wget, apache2
 Restrictions: needs-root, allow-stderr, isolation-container
 Features: test-name=check-all-pages-upstream
 
 Test-Command: tests/tools/check_cli_version.sh
-Depends: mariadb-server, @
+Depends: mariadb-server-compat, @
 Restrictions: needs-root, allow-stderr, isolation-container
 Features: test-name=check-cli-version

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to