On 2021-09-23 00:20 +0200, Christoph Berg wrote:
> Package: dpkg
> Version: 1.20.9
> Severity: normal
> X-Debbugs-Cc: Niels Thykier <[email protected]>
>
> Hi,
>
> the new remove-on-upgrade logic from #822462 breaks the use-case of
> replacing a conffile by a non-conffile version.
Not only that, it also breaks if the conffile has been moved to another
package. Today's systemd upgrade surprised me by deleting two conffiles
of systemd-timesyncd:
,----
| systemd (247.9-2) wird eingerichtet ...
| Entfernen des veralteten Conffiles /etc/dhcp/dhclient-exit-hooks.d/timesyncd
...
| Entfernen des veralteten Conffiles /etc/systemd/timesyncd.conf ...
`----
,----
| $ dpkg --verify systemd-timesyncd
| ??5?????? c /etc/dhcp/dhclient-exit-hooks.d/timesyncd
| ??5?????? c /etc/systemd/timesyncd.conf
`----
Cheers,
Sven