Package: mariadb-server Version: 1:10.11.1-4 Severity: normal X-Debbugs-Cc: plore...@disroot.org
Hello, During the last upgrade of mariadb in Sid, when the unversioned package replaced the versioned one, I run into the following output: [...] Processing triggers for mailcap (3.70+nmu1) ... Processing triggers for desktop-file-utils (0.26-1) ... Processing triggers for hicolor-icon-theme (0.17-2) ... Setting up mariadb-server (1:10.11.1-4) ... Installing new version of config file /etc/init.d/mariadb ... Installing new version of config file /etc/logrotate.d/mariadb ... Installing new version of config file /etc/mysql/mariadb.conf.d/50-server.cnf ... /var/lib/dpkg/info/mariadb-server.postinst: line 236: [: too many arguments insserv: warning: current start runlevel(s) (empty) of script `mariadb' overrides LSB defaults (2 3 4 5). [...] I suspect this is another instance of #1029136. I use apt-get to upgrade and it doesn't automatically purge removed packages; for this reason I'm not affected by #1029136 but also I have several old postrm files in the system ls /var/lib/dpkg/info/* | grep mariadb-server- /var/lib/dpkg/info/mariadb-server-10.0.list /var/lib/dpkg/info/mariadb-server-10.0.postrm /var/lib/dpkg/info/mariadb-server-10.1.list /var/lib/dpkg/info/mariadb-server-10.1.postrm /var/lib/dpkg/info/mariadb-server-10.3.list /var/lib/dpkg/info/mariadb-server-10.3.postrm /var/lib/dpkg/info/mariadb-server-10.5.list /var/lib/dpkg/info/mariadb-server-10.5.postrm /var/lib/dpkg/info/mariadb-server-10.6.list /var/lib/dpkg/info/mariadb-server-10.6.postrm So the test in postinstall line 236 fails and dh snippets in postrm files are not removed. Regards, Lorenzo -- System Information: Debian Release: bookworm/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') merged-usr: no Architecture: amd64 (x86_64) Kernel: Linux 6.1.0van (SMP w/4 CPU threads; PREEMPT) Kernel taint flags: TAINT_CPU_OUT_OF_SPEC, TAINT_FIRMWARE_WORKAROUND, TAINT_OOT_MODULE Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en Shell: /bin/sh linked to /bin/dash Init: runit (via /run/runit.stopit) Versions of packages mariadb-server depends on: ii adduser 3.131 ii debconf [debconf-2.0] 1.5.82 ii galera-4 26.4.13-1 ii gawk 1:5.1.0-1 ii iproute2 6.1.0-1 ii libc6 2.36-8 ii libdbi-perl 1.643-4 ii libpam0g 1.5.2-6 ii libssl3 3.0.8-1 ii libstdc++6 12.2.0-14 ii lsof 4.95.0-1 ii mariadb-client 1:10.11.1-4 ii mariadb-common 1:10.11.1-4 ii mariadb-plugin-provider-bzip2 1:10.11.1-4 ii mariadb-plugin-provider-lz4 1:10.11.1-4 ii mariadb-plugin-provider-lzma 1:10.11.1-4 ii mariadb-plugin-provider-lzo 1:10.11.1-4 ii mariadb-plugin-provider-snappy 1:10.11.1-4 ii mariadb-server-core 1:10.11.1-4 ii passwd 1:4.13+dfsg1-1 ii perl 5.36.0-7 ii procps 2:4.0.2-3 ii psmisc 23.6-1 ii rsync 3.2.7-1 ii socat 1.7.4.4-2 ii zlib1g 1:1.2.13.dfsg-1 Versions of packages mariadb-server recommends: ii libhtml-template-perl 2.97-2 ii pv 1.6.20-1 Versions of packages mariadb-server suggests: ii bsd-mailx [mailx] 8.1.2-0.20220412cvs-1 ii mailutils [mailx] 1:3.15-3+b2 pn mariadb-test <none> pn netcat-openbsd <none> -- debconf information: mariadb-server/old_data_directory_saved: mariadb-server/postrm_remove_databases: false mariadb-server/nis_warning: