Package: libmeep33
Version: 1.29.0-1
Severity: serious
User: debian...@lists.debian.org
Usertags: fileconflict
Control: affects -1 + libmeep30

Both libmeep30/bookworm and libmeep33/trixie contain overlapping files
matching /usr/share/meep/*.scm. Therefore, unpacking libmeep33/trixie on
a bookworm system containing libmeep30 fails.

    mmdebstrap --verbose --variant=apt '' /dev/null 'deb 
http://deb.debian.org/debian bookworm main' --include=libmeep30 
--chrooted-customize-hook='sed -i -e s/bookworm/trixie/ /etc/apt/sources.list 
&& apt-get update && apt-get download libmeep33 && dpkg --unpack 
--auto-deconfigure *.deb'

This demonstrates the error.

    Selecting previously unselected package libmeep33.
    (Reading database ... 7735 files and directories currently installed.)
    Preparing to unpack libmeep33_1.29.0-1+b1_amd64.deb ...
    Unpacking libmeep33 (1.29.0-1+b1) ...
    dpkg: error processing archive libmeep33_1.29.0-1+b1_amd64.deb (--unpack):
     trying to overwrite '/usr/share/meep/casimir.scm', which is also in 
package libmeep30 1.25.0-2
    Processing triggers for libc-bin (2.36-9+deb12u9) ...
    Errors were encountered while processing:
     libmeep33_1.29.0-1+b1_amd64.deb

The error does not presently show up in simple upgrade scenarios,
because other relations tend to force deinstallation of libmeep30.
Still, libmeep33 should declare Breaks + Replaces here.

I note that this also is a violation of Debian policy 8.2. Please fix
that as well.

Helmut

Reply via email to