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

2021-09-22 Thread Sven Joachim
On 2021-09-23 00:20 +0200, Christoph Berg wrote: > Package: dpkg > Version: 1.20.9 > Severity: normal > X-Debbugs-Cc: Niels Thykier > > 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 t

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

2021-09-22 Thread Christoph Berg
Package: dpkg Version: 1.20.9 Severity: normal X-Debbugs-Cc: Niels Thykier Hi, the new remove-on-upgrade logic from #822462 breaks the use-case of replacing a conffile by a non-conffile version. In postgresql-common, I'm trying to remove /etc/apt/apt.conf.d/01autoremove-postgresql as a conffile