This is addressed in Debian Bug #953948 which will be hopefully fixed with libsnmp40 (5.9+dfsg-2). For the patch see [2].
- Sedat - [1] https://bugs.debian.org/953948 [2] https://salsa.debian.org/debian/net-snmp/-/commit/926cb67414a70a501752d1b5c8b00db1c949463f ---------- Forwarded message --------- From: Sedat Dilek <sedat.di...@gmail.com> Date: Sun, Sep 6, 2020 at 11:24 AM Subject: Re: libsnmp40: I do NOT want to have any MySQL/MariaDB dependencies on my Debian-system To: Craig Small <csm...@debian.org>, <pkg-net-snmp-de...@lists.alioth.debian.org> On Sun, Sep 6, 2020 at 10:54 AM Sedat Dilek <sedat.di...@gmail.com> wrote: > > Hi Craig, > > I removed all *MySQL/MariaDB* dependencies by switching akonadi-server > (KDE/Plasma) to PostgreSQL in my Debian/unstable system (see my howto > attached in [1]). > > Please, please please if a database is now required offer alternative > support for SQLite and/or PostgreSQL. > > Unsure if I will downgrade SNMP stuff for now. > > Shall I open a bug-report? > > Thanks. > > Regards, > - Sedat - > > [1] https://lists.debian.org/debian-qt-kde/2020/09/msg00066.html When I put "libsnmp-base" package on hold (independently of putting libsnmp35 libsane sane-utils on hold): root# dpkg --get-selections | grep hold libsnmp-base root# LC_ALL=C apt-get dist-upgrade -V -t unstable Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages were automatically installed and are no longer required: ... libsnmp35 (5.8+dfsg-5) ... Use 'apt autoremove' to remove them. The following NEW packages will be installed: libmariadb3 (1:10.3.24-2) libsnmp40 (5.9+dfsg-1) linux-perf-5.8 (5.8.7-1) mariadb-common (1:10.3.24-2) mysql-common (5.8+1.0.5) The following packages have been kept back: libsnmp-base (5.8+dfsg-5 => 5.9+dfsg-1) The following packages will be upgraded: at-spi2-core (2.36.0-3 => 2.36.1-1) gir1.2-atspi-2.0 (2.36.0-3 => 2.36.1-1) ifstat (1.1-8.1+b2 => 1.1-8.1+b3) libatspi2.0-0 (2.36.0-3 => 2.36.1-1) libfluidsynth2 (2.1.3-1 => 2.1.4-1) libsane (1.0.27-3.2+b1 => 1.0.27-3.2+b2) linux-libc-dev (5.7.17-1 => 5.8.7-1) linux-perf (5.7.17-1 => 5.8.7-1) sane-utils (1.0.27-3.2+b1 => 1.0.27-3.2+b2) 9 upgraded, 5 newly installed, 0 to remove and 1 not upgraded. Need to get 8623 kB of archives. After this operation, 15.1 MB of additional disk space will be used. Do you want to continue? [Y/n] n Abort. I expect when I hold "libsnmp-base" that a newer libsnmpXX will not be installed on any upgrades. Why is "libsnmp40" still upgrade-/install-able? Can you enlighten me? - Sedat -