• Bug#1100146: dovecot-core: undeclared file conflict with dovecot-sieve

    From Noah Meyerhans@21:1/5 to Helmut Grohne on Tue Mar 11 21:30:01 2025
    Control: tags -1 + confirmed

    On Tue, Mar 11, 2025 at 01:26:57PM +0100, Helmut Grohne wrote:
    Both dovecot-core in experimental and dovecot-sieve in unstable contain /usr/share/dovecot/conf.d/90-sieve-extprograms.conf. This can result in
    an unpack error from dpkg:

    mmdebstrap --verbose --variant=apt unstable /dev/null "deb http://deb.debian.org/debian unstable main" "deb http://deb.debian.org/debian experimental main" --include=dovecot-sieve --chrooted-customize-hook="apt-get download -t experimental dovecot-core
    && dpkg --auto-deconfigure --unpack dovecot-core_*.deb"

    | Preparing to unpack dovecot-core_1%3a2.4.0+dfsg1-1~exp2_amd64.deb ...
    | Unpacking dovecot-core (1:2.4.0+dfsg1-1~exp2) over (1:2.3.21.1+dfsg1-1+b1) ...
    | dpkg: error processing archive dovecot-core_1%3a2.4.0+dfsg1-1~exp2_amd64.deb (--unpack):
    | trying to overwrite '/usr/share/dovecot/conf.d/90-sieve-extprograms.conf', which is also in package dovecot-sieve (1:2.3.21.1+dfsg1-1+b1)
    | invoke-rc.d: could not determine current runlevel
    | invoke-rc.d: policy-rc.d denied execution of restart.
    | Errors were encountered while processing:
    | dovecot-core_1%3a2.4.0+dfsg1-1~exp2_amd64.deb

    I suspect dovecot-core needs Breaks+Replaces for dovecot-sieve.

    Hm. I suspect the migration of the file to dovecot-core was a mistake.

    noah

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)