• Bug#1100377: liblomiri-content-hub-dev fails to upgrade from bookworm's

    From Helmut Grohne@21:1/5 to All on Thu Mar 13 08:30:01 2025
    Package: liblomiri-content-hub-dev
    Version: 2.0.0-4
    Severity: serious
    User: debian-qa@lists.debian.org
    Usertags: fileconflict
    Control: affects -1 + libcontent-hub-dev

    Upgrading from a bookworm system containing libcontent-hub-dev to a
    trixie system with liblomiri-content-hub-dev fails with an unpack error
    from dpkg.

    mmdebstrap --verbose --variant=apt '' /dev/null 'deb http://deb.debian.org/debian bookworm main' --include=libcontent-hub-dev --chrooted-customize-hook='sed -i -e s/bookworm/trixie/ /etc/apt/sources.list && apt-get update && apt-get -y install
    liblomiri-content-hub-dev'

    This produces an error.

    Unpacking liblomiri-content-hub-dev:amd64 (2.0.0-4) ...
    dpkg: error processing archive /var/cache/apt/archives/liblomiri-content-hub-dev_2.0.0-4_amd64.deb (--unpack):
    trying to overwrite '/usr/include/com/lomiri/content/hub.h', which is also in package libcontent-hub-dev:amd64 1.0.2-1
    Errors were encountered while processing:
    /var/cache/apt/archives/liblomiri-content-hub-dev_2.0.0-4_amd64.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)

    I suspect you are missing Breaks and Replaces here.

    Helmut

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