#1137756 net-snmp: Please drop dependencies on virtual packages from mysql-defaults

Package:
net-snmp
Source:
net-snmp
Submitter:
Otto Kekäläinen
Date:
2026-09-14 08:39:03 UTC
Severity:
normal
Tags:
#1137756#5
Date:
2026-05-27 02:21:26 UTC
From:
To:
Dear Maintainer,

Following a recent discussion on debian-devel@[1], there is a plan to dismantle
the default-mysql-* virtual package construct provided by the mysql-defaults
source package. With the recent releases of MySQL 9.7 and MariaDB 12.3, there is
now enough divergence between the two codebases to warrant dismantling this
metapackage in the Forky (Debian 14) cycle.

This is filed with severity 'normal' as this change is not urgent.

We are asking maintainers to drop any dependencies on these virtual packages:
* default-libmysqlclient-dev
* default-mysql-client
* default-mysql-client-core
* default-mysql-server
* default-mysql-server-core

However, how this is handled in is in your discretion based on the details of
how the package is maintained and tested in Debian. There are mainly three
options:

- Direct switch: The most straightforward approach is to switch defaut-mysql-*
  directly to the MariaDB equivalent (libmariadb-dev, libmariadb-dev-compat,
  mariadb-client, mariadb-server, etc). For example 'Recommends: mariadb-server'.

- Dual compatibility: If the package actively supports both engines and you wish
  to keep an alternative runtime path open for users drawing from third-party
  repositories, you can declare an OR dependency. For example
  'Depends: mariadb-client | mysql-client'.

- Specific constraint: If your package does not work with MariaDB, feel free to
  tailor the package relationships to match that constraint. This is however
  very unlikely as all Debian releases in past decade have only shipped with
  MariaDB, and the open source ecosystem has largely shifted to lean towards
  MariaDB.

This change is targeted specifically for the Forky cycle and does not affect any
existing stable releases.

Thank you for your time and your work maintaining net-snmp in Debian!

[1] https://lists.debian.org/debian-devel/2026/05/msg00161.html

#1137756#10
Date:
2026-05-27 10:13:10 UTC
From:
To:
Hello,

Bug #1137756 in net-snmp reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/debian/net-snmp/-/commit/2164f0b3a20ee7af2a41661be7b898e90af98ac1
------------------------------------------------------------------------
Update build-dep for libmariadb-dev

Instead of default-mysql-* use mariadb explicitly

Closes: #1137756
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1137756

#1137756#17
Date:
2026-09-14 08:38:24 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
net-snmp, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1137756@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Craig Small <csmall@debian.org> (supplier of updated net-snmp package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Mon, 14 Sep 2026 18:18:22 +1000
Source: net-snmp
Architecture: source
Version: 5.9.5.2+dfsg-3
Distribution: unstable
Urgency: medium
Maintainer: Craig Small <csmall@debian.org>
Changed-By: Craig Small <csmall@debian.org>
Closes: 1104474 1106791 1132997 1137756 1147204 1147442
Changes:
 net-snmp (5.9.5.2+dfsg-3) unstable; urgency=medium
 .
   * Use systemd-sysusers for user creation !17
   * snmpd.conf: Only allow localhost by default Closes: #1132997
   * Update build-dep for libmariadb-dev Closes: #1137756
   * Add turkish translation for debconf Closes: #1104474
   * Also update net-snmp-create-user manpage path Closes: #1106791
   * libnl-route is a linux-only dependency Closes: #1147204
   * Added snmptls.1 man page
   * Remove kfreebsd build-deps
   * Set timeout on smux socket Fixes: CVE-2026-89147 Closes: #1147442
Checksums-Sha1:
 aa06f3c8f45f9b58852f690468ffd28eeaec197f 2576 net-snmp_5.9.5.2+dfsg-3.dsc
 2972c6212770c6a7108c3a9613076bbe87a48ff0 71920 net-snmp_5.9.5.2+dfsg-3.debian.tar.xz
 ae2aac84dc07179cac5d97231958e2776ba6963e 10547 net-snmp_5.9.5.2+dfsg-3_amd64.buildinfo
Checksums-Sha256:
 51cef89047f1adc6dee8c02cbfbd7d9a4f12cce441a7572a6bca00ee28f14d13 2576 net-snmp_5.9.5.2+dfsg-3.dsc
 52f9724c9a322d4ac093acd6d7e2cb6a1c2d6f5710a7d5478a0e160092af7eeb 71920 net-snmp_5.9.5.2+dfsg-3.debian.tar.xz
 3124a375068aa73ee6b2f8dff3bf3bda9a6d63a8290fe08335514c5896251d16 10547 net-snmp_5.9.5.2+dfsg-3_amd64.buildinfo
Files:
 cad63c987fe64a00371121027d321679 2576 net optional net-snmp_5.9.5.2+dfsg-3.dsc
 2c2491c15efd946ad8498c91d878d895 71920 net optional net-snmp_5.9.5.2+dfsg-3.debian.tar.xz
 af0467dfea9b36c800d07a61d0c3d96c 10547 net optional net-snmp_5.9.5.2+dfsg-3_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEXT3w9TizJ8CqeneiAiFmwP88hOMFAmqnrsEACgkQAiFmwP88
hOPKfA/8DF20gRX83nV8SzLUbcewpiMmyj8pbgIfxS+pokN+CuUAku6MFU8bIPCN
mzQxdIX/cZlJNfdpO56527UhPKGv+2u2+OYl85o2GdEfD6jcavsePXTetK4dJ6Ee
ykeEwSXDvGDlHWBy1d6V5f+OxxjhGU5M4RED8hb2JrpL2P0KeEuoGHbwB54fVnoE
j75LmQDxt/zPRrwzY4qt0t08r/Y3m4adrIMOs2VPtSezK8kR6Ev1W/T27gj8Qxc1
VU1SyEG3OzngtcLkQsUULrNwGLG521B31nw4/qNF9o4JIhNNw7ePR/9KaqOyCIkp
iqThEfgZrALjkeAWfchbIt0dnN1bb2vploCEy4nY+9ADMf/1ukLvvqtTJKb5AXfP
EFoIrdyZLbd4sSAMCdEwKwrbJ56lfQ2fIqXO+qvUmxXAgDOO55fWaqfggTTLMlL2
ZRKwerrOcGllPHCCsTb0OwAK1UaoQsXDJ3Vx9m0IkWJASyYrZdBd4+eD+N0I1/0w
HMCIv9o7VI+QhB9BAmCOeXdIgjD4DE7WY2ZYlT8kGySwfU2C+00bEdg6ihi8UEVI
wXxWbs+dOmuOOxMaSF0tGVJz2YHPs0RPzVDZsrY5FNE8GTEum9JJvDuvgOlkdk2n
LvxL7n2h+fFNBH9ctYyhL6vNd2u8xIWPTqqfxBOCSrEMZAo/pwU=
=VWDx
-----END PGP SIGNATURE-----