Package: bacula-director-sqlite3
Version: 15.0.3-3
Severity: serious

Hi,

The following fails:
- In bookworm, install bacula-director-sqlite3
- dist-upgrade to trixie

MWE:
PKG=bacula-director-sqlite3; mmdebstrap --chrooted-customize-hook="set -x ; apt 
-y install $PKG  && sed -e s/bookworm/trixie/ -i /etc/apt/sources.list && apt 
update && apt dist-upgrade -y -o Debug::pkgProblemResolver=true" bookworm 
/dev/null

The error is:
> Preparing to unpack .../bacula-common_15.0.3-3_amd64.deb ...
> dpkg: error processing archive 
> /var/cache/apt/archives/bacula-common_15.0.3-3_amd64.deb (--unpack):
>  new bacula-common package pre-installation script subprocess returned error 
> exit status 1
> systemd-tmpfiles: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.38' not 
> found (required by /lib/x86_64-linux-gnu/libkmod.so.2)

/var/lib/dpkg/info/bacula-common.postinst has:
> # Automatically added by dh_installtmpfiles/13.24.2
> if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = 
> "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then
>         if [ -x "$(command -v systemd-tmpfiles)" ]; then
>                 systemd-tmpfiles ${DPKG_ROOT:+--root="$DPKG_ROOT"} --create 
> bacula.conf || true
>         fi
> fi
> # End automatically added section

I wonder if it would help to have bacula-common Depend on Pre-Depend on
systemd to help apt decide to configure it before call systemd-tmpfiles
in postinst.

More complete log:
> (Reading database ... 11336 files and directories currently installed.)
> Preparing to unpack .../base-files_13.8_amd64.deb ...
> Unpacking base-files (13.8) over (12.4+deb12u11) ...
> Setting up base-files (13.8) ...
> Installing new version of config file /etc/debian_version ...
> Installing new version of config file /etc/issue ...
> Installing new version of config file /etc/issue.net ...
> Updating /etc/profile to current default.
> Updating /root/.profile to current default.
> (Reading database ... 11347 files and directories currently installed.)
> Preparing to unpack .../libzstd1_1.5.7+dfsg-1_amd64.deb ...
> Unpacking libzstd1:amd64 (1.5.7+dfsg-1) over (1.5.4+dfsg2-5) ...
> Setting up libzstd1:amd64 (1.5.7+dfsg-1) ...
> (Reading database ... 11347 files and directories currently installed.)
> Preparing to unpack .../0-libgssapi-krb5-2_1.21.3-5_amd64.deb ...
> Unpacking libgssapi-krb5-2:amd64 (1.21.3-5) over (1.20.1-2+deb12u3) ...
> Preparing to unpack .../1-libkrb5-3_1.21.3-5_amd64.deb ...
> Unpacking libkrb5-3:amd64 (1.21.3-5) over (1.20.1-2+deb12u3) ...
> Preparing to unpack .../2-libk5crypto3_1.21.3-5_amd64.deb ...
> Unpacking libk5crypto3:amd64 (1.21.3-5) over (1.20.1-2+deb12u3) ...
> Preparing to unpack .../3-libkrb5support0_1.21.3-5_amd64.deb ...
> Unpacking libkrb5support0:amd64 (1.21.3-5) over (1.20.1-2+deb12u3) ...
> Preparing to unpack .../4-libcom-err2_1.47.2-3+b1_amd64.deb ...
> Unpacking libcom-err2:amd64 (1.47.2-3+b1) over (1.47.0-2) ...
> Preparing to unpack .../5-libkeyutils1_1.6.3-6_amd64.deb ...
> Unpacking libkeyutils1:amd64 (1.6.3-6) over (1.6.3-2) ...
> Preparing to unpack .../6-kmod_34.2-2_amd64.deb ...
> Unpacking kmod (34.2-2) over (30+20221128-1) ...
> Preparing to unpack .../7-libkmod2_34.2-2_amd64.deb ...
> Unpacking libkmod2:amd64 (34.2-2) over (30+20221128-1) ...
> Preparing to unpack .../8-dmsetup_2%3a1.02.205-2_amd64.deb ...
> Unpacking dmsetup (2:1.02.205-2) over (2:1.02.185-2) ...
> Preparing to unpack .../9-libpcre2-8-0_10.45-1_amd64.deb ...
> Unpacking libpcre2-8-0:amd64 (10.45-1) over (10.42-1) ...
> Setting up libpcre2-8-0:amd64 (10.45-1) ...
> (Reading database ... 11361 files and directories currently installed.)
> Preparing to unpack .../libdevmapper1.02.1_2%3a1.02.205-2_amd64.deb ...
> Unpacking libdevmapper1.02.1:amd64 (2:1.02.205-2) over (2:1.02.185-2) ...
> Preparing to unpack .../libcryptsetup12_2%3a2.7.5-2_amd64.deb ...
> Unpacking libcryptsetup12:amd64 (2:2.7.5-2) over (2:2.6.1-4~deb12u2) ...
> Preparing to unpack .../bacula-director-sqlite3_15.0.3-3_all.deb ...
> Unpacking bacula-director-sqlite3 (15.0.3-3) over (9.6.7-7) ...
> Preparing to unpack .../bacula-common-sqlite3_15.0.3-3_amd64.deb ...
> Unpacking bacula-common-sqlite3 (15.0.3-3) over (9.6.7-7) ...
> Preparing to unpack .../bacula-common_15.0.3-3_amd64.deb ...
> dpkg: error processing archive 
> /var/cache/apt/archives/bacula-common_15.0.3-3_amd64.deb (--unpack):
>  new bacula-common package pre-installation script subprocess returned error 
> exit status 1
> systemd-tmpfiles: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.38' not 
> found (required by /lib/x86_64-linux-gnu/libkmod.so.2)
> Errors were encountered while processing:
>  /var/cache/apt/archives/bacula-common_15.0.3-3_amd64.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)

Reply via email to