Bug#994903: remove-on-upgrade breaks packages replacing conffiles by non-conffile

Sven Joachim svenjoac at gmx.de
Thu Sep 23 06:23:45 BST 2021


On 2021-09-23 00:20 +0200, Christoph Berg wrote:

> Package: dpkg
> Version: 1.20.9
> Severity: normal
> X-Debbugs-Cc: Niels Thykier <niels at thykier.net>
>
> 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



More information about the Pkg-systemd-maintainers mailing list