Re: Bug#1109499: bacula-director-sqlite3: fails to dist-upgrade from bookworm to trixie

Niels Thykier <[email protected]> Sat, 19 Jul 2025 11:06:17 +0200
Newsgroups gmane.linux.debian.devel.dpkg.general
Message-ID <[email protected]>
Chris Hofstaedtler:
> [...]
> 
> The preinst script should be this: https://binarycontrol.debian.net/cache/unstable/bacula-common/preinst
> which does not invoke systemd-tmpfiles.
> 
> I wonder whats really happening. Is dpkg invoking the new postinst
> (at postinst time), but putting "pre-installation" into the log message?
> 
> Or is it really invoking the postinst at preinst time?
> 
> Both look like a problem to me, and not something that Pre-Depends
> should solve?
> 
> Best,
> Chris
> 


FWIW, I checked the stable version of bacula-common and it has the same 
story. The `systemd-tmpfiles` call only appears in the `postinst`, so 
there is no way I can find that a `bacula-common.preinst` call would 
trigger `systemd-tmpfiles` (the stable version of the preinst is a 
subset of the testing one; I know `dpkg` says it is the `new 
pre-installation script` in the log but I checked all the same).

Best regards,
Niels
OpenPGP_signature.asc (application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEE9ecZmu9eXGflVYc/dA1oiINl0okFAmh7YAkACgkQdA1oiINl
0omttAf/XierwI17d4sUqWTfyzFzs26LXq6mnzZ5H97Dv5bjbspk2fziD64oECuJ
WOtCAUVvJyaKvnKYgG/vh4o6noLNwUyd3wctpahS3rqrlu7xcB9fJyoIo7MOAVja
8njuDjo2VaH2HYwM/wbPzPAcfwn9B7DeLRCC8xhTThzy1Qw7tP9OatxhRoq4JOcP
yoQkmeQwvn4FHuivgD4fTgu+gAb8vYvw7ank+9K9iQ+wFmNlfYd6l3NyvUbSKnpO
KLWQuzCwFwRzLweFdxZZt+3Spj+2mWUXTfu4Q/xniVpQUZrlCJZQTF+FT++qy/z+
8LkTlsYmv7wk41O8B5tj8OpSxSXzKg==
=7Xlh
-----END PGP SIGNATURE-----