Am 23.09.21 um 14:14 schrieb Michael Biebl:
Now, with the above change in debhelper, this code no longer works as intended. One issue I immediately see is that /var/lib/dpkg/info/systemd.conffiles doesn't contain any version constraints but onlyremove-on-upgrade /etc/dhcp/dhclient-exit-hooks.d/timesyncd remove-on-upgrade /etc/systemd/timesyncd.confWhich I assume means, this code is run on every upgrade and as can be seen in this bug report, nuked the conffiles of the systemd-timesyncd package.
After reading the deb-conffiles man page, it's clear that this statement is false. Sorry for that.
"There is currently only one flag supported, remove-on-upgrade, to mark that a conffile needs to be removed on the next upgrade"
..
E.g. could "remove-on-upgrade" have a version constraint to it's only run when upgrading from versions older then 245.4-2?
So the problem here is, that the remove code is run again since 247.9-2 is the first version which was compiled with the new debhelper.
OpenPGP_signature
Description: OpenPGP digital signature