• Bug#1067501: libhipsolver-doc: missing Breaks+Replaces: libhipsolver-de

    From Andreas Beckmann@21:1/5 to All on Fri Mar 22 15:40:01 2024
    Package: libhipsolver-doc
    Version: 5.5.1-4
    Severity: serious
    User: debian-qa@lists.debian.org
    Usertags: piuparts fileconflict

    Hi,

    during a test with piuparts I noticed your package fails to upgrade from 'testing'.
    It installed fine in 'testing', then the upgrade to 'sid' fails
    because it tries to overwrite other packages files without declaring a Breaks+Replaces relation.

    See policy 7.6 at https://www.debian.org/doc/debian-policy/ch-relationships.html#overwriting-files-and-replacing-packages-replaces

    From the attached log (scroll to the bottom...):

    Preparing to unpack .../libhipsolver-doc_5.5.1-4_all.deb ...
    Unpacking libhipsolver-doc (5.5.1-4) ...
    dpkg: error processing archive /var/cache/apt/archives/libhipsolver-doc_5.5.1-4_all.deb (--unpack):
    trying to overwrite '/usr/share/doc/libhipsolver-dev/examples/example_basic.c', which is also in package libhipsolver-dev 5.5.1-3
    Errors were encountered while processing:
    /var/cache/apt/archives/libhipsolver-doc_5.5.1-4_all.deb

    There are
    Breaks+Replaces: libhipsolver-dev (<< 5.5.1-3~)
    which are insufficient to match the last version still shipping the files
    in the -dev package.

    cheers,

    Andreas

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