Control: tags -1 moreinfo Re: Thorsten Glaser > https://salsa.debian.org/postgresql/postgresql-common/-/commit/e87adade0349a757fd0827a80cc14814487a4d30.patch > > I believe this is a genuine packaging (especially upgrade) bug > introduced with that commit: the commit removed the file > /etc/apt/apt.conf.d/01autoremove-postgresql from the package > but did not unregister it as conffile.
I've had a closer look now. The cited commit does correctly remove the conffile: diff --git a/debian/postgresql-common.maintscript b/debian/postgresql-common.maintscript new file mode 100644 index 0000000..5849b7a --- /dev/null +++ b/debian/postgresql-common.maintscript @@ -0,0 +1,2 @@ +# file is now managed by pg_updateaptconfig +rm_conffile /etc/apt/apt.conf.d/01autoremove 215~ postgresql-common Upgrading across that version correctly removes the conffile here. Is there anything wrong with that? > I’ve not looked at createcluster.conf but it will, most likely, also > be caused by a similar packaging fault. That one is indeed not handled. The conffile was converted to ucf in version 155 in May 2014. Before I fix that (if that even makes sense now), I'd like to understand if there is anything wrong with the other file. Christoph