On 2026-05-06 15:15:19 +0300, Michael Tokarev wrote:
> Okay, I can reproduce this with aptitude, but not with apt.

This is due to the fact that aptitude notices that the packages
postfix-cdb and postfix-lmdb can be removed, so that they will
not have been upgraded to their "transitional" versions, so that
the old prerm script is run.

This is the same kind of issue as

  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1125017#10

I can reproduce the same issue with apt by doing what aptitude
does:

  apt install postfix postfix-cdb- postfix-lmdb-

I think that it is the postfix package that should entirely manage
/etc/postfix/dynamicmaps.cf based on what is installed (which would
have the advantage to rebuild it if for some reason this file gets
lost or corrupt). If users are allowed to add their own maps, this
could be done via a /etc/postfix/dynamicmaps.cf.local file, for
instance.

-- 
Vincent Lefèvre <[email protected]> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Pascaline project (LIP, ENS-Lyon)

Reply via email to