Your message dated Tue, 06 Dec 2016 23:19:38 +0000
with message-id <[email protected]>
and subject line Bug#847242: fixed in postfix 3.1.3-6
has caused the Debian Bug report #847242,
regarding `postfix-*.prerm upgrade` removes dynamic maps, causing 
postfix.postinst to fail for non-default alias database types
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
847242: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=847242
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: postfix
Version: 3.1.3-5
Severity: serious
Reason: Upgrade fails for non-default database types


Dear Maintainers,

My main.cf contains

    alias_maps     = lmdb:/etc/aliases
    alias_database = lmdb:/etc/aliases

Upgrading postfix to 3.1.3-5 fails as follows:

    ~$ sudo apt install postfix
    […]
    The following packages will be upgraded:
       postfix (3.1.3-4 => 3.1.3-5)
       postfix-lmdb (3.1.3-4 => 3.1.3-5)
    2 upgraded, 0 newly installed, 0 to remove and 32 not upgraded.
        […]
    Preconfiguring packages ...
    (Reading database ... 156051 files and directories currently installed.)
    Preparing to unpack .../0-postfix-lmdb_3.1.3-5_amd64.deb ...
    Removing lmdb map entry from /etc/postfix/dynamicmaps.cf
    Unpacking postfix-lmdb (3.1.3-5) over (3.1.3-4) ...
    Preparing to unpack .../1-postfix_3.1.3-5_amd64.deb ...
    Unpacking postfix (3.1.3-5) over (3.1.3-4) ...
    Processing triggers for libc-bin (2.24-7) ...
    Processing triggers for systemd (232-7) ...
    Processing triggers for man-db (2.7.5-2) ...
    Setting up postfix (3.1.3-5) ...

    Postfix configuration was not changed.  If you need to make changes, edit
    /etc/postfix/main.cf (and others) as needed.  To view Postfix configuration
    values, see postconf(1).

    After modifying main.cf, be sure to run 'service postfix reload'.

    Running newaliases
    postalias: fatal: unsupported dictionary type: lmdb. Is the postfix-lmdb 
package installed?
    dpkg: error processing package postfix (--configure):
     subprocess installed post-installation script returned error exit status 1
    dpkg: dependency problems prevent configuration of postfix-lmdb:
     postfix-lmdb depends on postfix (= 3.1.3-5); however:
      Package postfix is not configured yet.

    dpkg: error processing package postfix-lmdb (--configure):
     dependency problems - leaving unconfigured
    Processing triggers for libc-bin (2.24-7) ...
    Errors were encountered while processing:
     postfix
     postfix-lmdb

I believe this is because postfix-lmdb.prerm removes the dynamic map during
unpacking, and doesn't re-add it before postfix.postinst calls `newaliases`.
I guess the map should only be removed upon removal (`prerm remove`), or
should be re-added by the preinst script instead.

Setting the severity to serious as this also applies to
alias_database=cdb:/etc/aliases, and I guess to all postfix-* packages
for which the prerm script removes the dynamic map during upgrade.  FWIW
reinstalling (using `apt install --reinstall postfix postfix-cdb`) fails
as well.

Thanks for maintaining Postfix in Debian!
Cheers,
-- 
Guilhem.

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.8.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages postfix depends on:
ii  adduser                3.115
ii  cpio                   2.11+dfsg-6
ii  debconf [debconf-2.0]  1.5.59
ii  dpkg                   1.18.15
ii  init-system-helpers    1.46
ii  libc6                  2.24-8
ii  libdb5.3               5.3.28-12
ii  libicu57               57.1-5
ii  libsasl2-2             2.1.27~101-g0780600+dfsg-1
ii  libssl1.1              1.1.0c-2
ii  lsb-base               9.20161125
ii  netbase                5.3
ii  postfix-sqlite         3.1.3-5
ii  ssl-cert               1.0.38

Versions of packages postfix recommends:
ii  python3  3.5.1-4

Versions of packages postfix suggests:
ii  dovecot-core [dovecot-common]  1:2.2.26.0-4
ii  libsasl2-modules               2.1.27~101-g0780600+dfsg-1
ii  mutt [mail-reader]             1.7.1-5
pn  postfix-cdb                    <none>
pn  postfix-doc                    <none>
pn  postfix-ldap                   <none>
pn  postfix-mysql                  <none>
pn  postfix-pcre                   <none>
pn  postfix-pgsql                  <none>
pn  procmail                       <none>
pn  resolvconf                     <none>
ii  s-nail [mail-reader]           14.8.14-3
pn  sasl2-bin                      <none>
pn  ufw                            <none>

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: postfix
Source-Version: 3.1.3-6

We believe that the bug you reported is fixed in the latest version of
postfix, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Scott Kitterman <[email protected]> (supplier of updated postfix package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Tue, 06 Dec 2016 17:54:04 -0500
Source: postfix
Binary: postfix postfix-ldap postfix-lmdb postfix-cdb postfix-pcre 
postfix-mysql postfix-pgsql postfix-sqlite postfix-dev postfix-doc
Architecture: source amd64 all
Version: 3.1.3-6
Distribution: unstable
Urgency: medium
Maintainer: LaMont Jones <[email protected]>
Changed-By: Scott Kitterman <[email protected]>
Description:
 postfix    - High-performance mail transport agent
 postfix-cdb - CDB map support for Postfix
 postfix-dev - Loadable modules development environment for Postfix
 postfix-doc - Documentation for Postfix
 postfix-ldap - LDAP map support for Postfix
 postfix-lmdb - LMDB map support for Postfix
 postfix-mysql - MySQL map support for Postfix
 postfix-pcre - PCRE map support for Postfix
 postfix-pgsql - PostgreSQL map support for Postfix
 postfix-sqlite - SQLite map support for Postfix
Closes: 847242
Changes:
 postfix (3.1.3-6) unstable; urgency=medium
 .
   * Only delmap in postinst remove|purge in prerm for postfix-cdb, ldap,
     lmdb, mysql, pcre, and pgsql to prevent postalias falure on package
     upgrade.  Add preinst for the same packages to restore the missing map due
     to the breakage in the previous uploads.  Closes: #847242
Checksums-Sha1:
 ac4b6ab0cb8fc3e1ed52e123d3aa4e78bdf7d9de 2680 postfix_3.1.3-6.dsc
 0f8cfe7b296eedb06e00f76b1edcd0b3e23c1d79 183008 postfix_3.1.3-6.debian.tar.xz
 27652530a45a135f8c388c509eb91179bdb05b00 2410 
postfix-cdb-dbgsym_3.1.3-6_amd64.deb
 a059f7eea007218d75f0884acc1b2ec747c793ea 310518 postfix-cdb_3.1.3-6_amd64.deb
 b2fe23c890fdc314f308155404540bed443d3ad6 97592 postfix-dbgsym_3.1.3-6_amd64.deb
 92134e3226463e7504ba44501bc221749bcef82d 414772 postfix-dev_3.1.3-6_all.deb
 32a57cb8c1e26938d311d4dfcf38b53e80a54283 1163152 postfix-doc_3.1.3-6_all.deb
 d45f1dc8b7d0dfd2328582f595cd7b6c90ad0d7e 3120 
postfix-ldap-dbgsym_3.1.3-6_amd64.deb
 01e2a98921cbe5f43c0465debfff5ef42bbd776c 317628 postfix-ldap_3.1.3-6_amd64.deb
 f86fd606f4a76b8fa87d50626a6ee757c7716a92 2764 
postfix-lmdb-dbgsym_3.1.3-6_amd64.deb
 7d371b8d9944cced294618d0ee28de92c058851f 312766 postfix-lmdb_3.1.3-6_amd64.deb
 130e9fba4a05d0a4307fffbe97cabc765e36bd50 2676 
postfix-mysql-dbgsym_3.1.3-6_amd64.deb
 cc8af6c00bd8cee3ba84ebba5d9f3c580317b355 312448 postfix-mysql_3.1.3-6_amd64.deb
 71ab01d21f69d9f0f89ad51c5feb96ff6f1d4724 2484 
postfix-pcre-dbgsym_3.1.3-6_amd64.deb
 a94f9b89f3a0eb2196ae7ca40af7b0d0e4597989 312420 postfix-pcre_3.1.3-6_amd64.deb
 25763957d911b701bb9e7bd0ea5ba53d9c117a5e 2632 
postfix-pgsql-dbgsym_3.1.3-6_amd64.deb
 bc25be6e68f4ee4473f1959d08825abf93c37be3 312164 postfix-pgsql_3.1.3-6_amd64.deb
 04869ca4c34f25a583c3f793a829bde6db30db23 2466 
postfix-sqlite-dbgsym_3.1.3-6_amd64.deb
 6743d13657e4678471d4c51192c4b910f35e9eaa 310198 
postfix-sqlite_3.1.3-6_amd64.deb
 c6296d136c8a1a3beb258eff3d4f4fe66f00db3c 10910 postfix_3.1.3-6_amd64.buildinfo
 98252cb87daf74f5fa765a053503a08a0f8a25f0 1438000 postfix_3.1.3-6_amd64.deb
Checksums-Sha256:
 be0b6b853a8597f074ec7bc1ae13441241cfb7ba63948f84710cfa452693b30d 2680 
postfix_3.1.3-6.dsc
 be5e930e97dfb6238306c73ba45243353369463cd921da2d3b494402a4b5e839 183008 
postfix_3.1.3-6.debian.tar.xz
 babed242afaceb37a93d13c4051b5be21dbe9d276dd988a57eb293f7bc8136d5 2410 
postfix-cdb-dbgsym_3.1.3-6_amd64.deb
 cdbe149bac39715b1af4b7e943fe6322049b5f692db262a065942622c1dafd69 310518 
postfix-cdb_3.1.3-6_amd64.deb
 5bf2b938bf9120fb48e4e029c4585abb15d6f67093cbc9eddd7c983d94d8f77a 97592 
postfix-dbgsym_3.1.3-6_amd64.deb
 1878fd1bcf29df7e952d1ca3418dc7eee45cb9e44647d4bc600411939f0fcb72 414772 
postfix-dev_3.1.3-6_all.deb
 69545210adb981404c95c5c5ddc5ce09dbdfa149697d66b44d7617995a788e8d 1163152 
postfix-doc_3.1.3-6_all.deb
 9940905cd75b7dd83167162cc18c83514887d895fdb67efcc1094c1c2f6e0f59 3120 
postfix-ldap-dbgsym_3.1.3-6_amd64.deb
 1f8bc5cd246ebf3e169304c73920ad34528665e2740a315b2ccbd34158867c6b 317628 
postfix-ldap_3.1.3-6_amd64.deb
 c8eef0924891b2f4cf80a45e2591f677a6a0cbdcd75e40c54b0c10673b6937e0 2764 
postfix-lmdb-dbgsym_3.1.3-6_amd64.deb
 fa3dddd62c8dfca58303fd927ca08b96d99d7abe8dc8a092914fd17dd94b0a10 312766 
postfix-lmdb_3.1.3-6_amd64.deb
 985baa252a69f4c1ee03073c0a3d536fd86b3be9a83de351c9c686c3e9b03eb1 2676 
postfix-mysql-dbgsym_3.1.3-6_amd64.deb
 852da9ead6164745f2424eb0b70b472155d7a68ab3e6378e67a599bba41f74ab 312448 
postfix-mysql_3.1.3-6_amd64.deb
 b36af15ad1f05599269660af956f49d42807f06f2596d8e4e8ae6bea49ccfbe2 2484 
postfix-pcre-dbgsym_3.1.3-6_amd64.deb
 760b4707e469bb94c1a33e265e2d03da91d0eb457918b463e07650d843cde3e5 312420 
postfix-pcre_3.1.3-6_amd64.deb
 c7a64a692692688e2b76a78e47cce4503be64a7c7759dabb8b90fbf790ecb68f 2632 
postfix-pgsql-dbgsym_3.1.3-6_amd64.deb
 116f0814ffcd332e0efa4199b4f343f3ae859cb9b5ac30c431df4c1f85de9ca9 312164 
postfix-pgsql_3.1.3-6_amd64.deb
 d4d6d77fa28390ff6c6f77dcf848c134d9068f34a617522e69b8ea7e9e9841e6 2466 
postfix-sqlite-dbgsym_3.1.3-6_amd64.deb
 441f7090ea1fa4ee801e4b25b6f2bb50ba2384e7e8932a98cb66ef4cdad5a6ba 310198 
postfix-sqlite_3.1.3-6_amd64.deb
 bb298419ee73b8d25ea1231e897b7d01ef2f3d787bd4559089792c0ece294249 10910 
postfix_3.1.3-6_amd64.buildinfo
 3419450c914f88f06922edc572d365b4f68d07f13258bb1bd780834b5fa27c8f 1438000 
postfix_3.1.3-6_amd64.deb
Files:
 a4585e85d2f626112a3cb5cf71c351a4 2680 mail extra postfix_3.1.3-6.dsc
 22468610dfa29a0a137fdbb6b82551b7 183008 mail extra 
postfix_3.1.3-6.debian.tar.xz
 d91a64f91655773bab870fa303a9a0bd 2410 debug extra 
postfix-cdb-dbgsym_3.1.3-6_amd64.deb
 d2a9ee0831c8fc1dadabeced2fc10ae5 310518 mail extra 
postfix-cdb_3.1.3-6_amd64.deb
 6d8c1edaa33c89ccf549c78017564ea3 97592 debug extra 
postfix-dbgsym_3.1.3-6_amd64.deb
 5c3dd7e248b097b43e3a6c85b8a9c3c4 414772 devel extra postfix-dev_3.1.3-6_all.deb
 8b8ec32fdbd01f5ca9c72994092918c8 1163152 doc extra postfix-doc_3.1.3-6_all.deb
 e89d06ca89d736e555cca9a9ca2642e6 3120 debug extra 
postfix-ldap-dbgsym_3.1.3-6_amd64.deb
 68fd1ecc395925795c2a33f2d613be2d 317628 mail extra 
postfix-ldap_3.1.3-6_amd64.deb
 20b000cd20dea440e6d2efc93114a2f5 2764 debug extra 
postfix-lmdb-dbgsym_3.1.3-6_amd64.deb
 6390fc433d454afdcd4ad085bbd82121 312766 mail extra 
postfix-lmdb_3.1.3-6_amd64.deb
 c6ea186830c8e04649ad03bff77d9a3c 2676 debug extra 
postfix-mysql-dbgsym_3.1.3-6_amd64.deb
 fb53b3ad33668aaa24d61f6f1aae326f 312448 mail extra 
postfix-mysql_3.1.3-6_amd64.deb
 9026373fa3126ca70a2d67386c2fa7af 2484 debug extra 
postfix-pcre-dbgsym_3.1.3-6_amd64.deb
 263378510e6a9dd1bef6e7444a28c7ec 312420 mail extra 
postfix-pcre_3.1.3-6_amd64.deb
 b6bc1dfbe959d1b954a886dc0c242127 2632 debug extra 
postfix-pgsql-dbgsym_3.1.3-6_amd64.deb
 d0136bed69e70e264038f8c159cdf63a 312164 mail extra 
postfix-pgsql_3.1.3-6_amd64.deb
 5e07d6f32d63e26e6b9d153eb4ac146f 2466 debug extra 
postfix-sqlite-dbgsym_3.1.3-6_amd64.deb
 8b7a48f9c8b249de30f348a5156ca74b 310198 mail extra 
postfix-sqlite_3.1.3-6_amd64.deb
 7d880ac8da10e0eeee572f55c07ba25d 10910 mail extra 
postfix_3.1.3-6_amd64.buildinfo
 ab5be727bae2283c1ebaf32d8a6430b9 1438000 mail extra postfix_3.1.3-6_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJYR0RZAAoJEHjX3vua1ZrxWqEP/joBJzv2kKe/M5AU5S4+ZBzq
bwvvpQX2lG4+DvwhM94uXn2Ov86S+XIXRZugFvN9gesZbIeINArhAnubkkLny4Ey
zAhxCcQZ5J6ESsrARamumja+8KV1B7hvMx9ZCo5dLYJ1Zk6vYkEJAmd8D+g7HHjG
YQ+YKMYoqn0e7s1Oz51LfWqMtGbW5qFSjkwMz5cfXQSafiCyhJ2p7PlIGc3WZ9ub
P3WrKsmht80XWkK3Rg/6LXMKRYIw73Tvt9ZCnL4vdMHWm8Brru9WPY4tDy8ee+eu
bv20AxnX/7L/sQCJbiI4l7qEXOBhjAYef79wkJ5qryuAJG5UnX9/6h94UgTaTq1k
mWcfiH8+DDLgsHC55lIT+nQBoH/Xe4wO6pGL8t9s8RHniV83Na5RTvuGpSWd3U7r
bOaFSM33/o5avdRnY7ryAXlqHkcHewRKpKwGjMYinv1Oskg7L/CUprVQzg01sGXp
P4JaNLV+kMpraEbmgZFM9jd8izLr/ONs/ffUrYivUI0dSZMh3s1atcODj1lESri4
NQTQ8fA3TkqVvdpC3VYcTbG3or8M/PIqgpgi8KMURa00/SOaEuyio/uun0YpFCsc
x7HMIhP1DZN5AJaF2SLW8+Vl8YOBd5g+TLRoTmPQ1VCSb8lB+cmNANR1gmKECN24
0tiZUoipy1sD5VBuRXlz
=GAUS
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to