[Pkg-deepin-devel] Bug#1034923: libdtkcommon-dev: missing Breaks+Replaces for libdtkcore-dev when upgrading from bullseye

Helmut Grohne helmut at subdivi.de
Thu Apr 27 14:00:10 BST 2023


Package: libdtkcommon-dev
Version: 5.5.23-1
Severity: serious
Justification: dpkg unpack error

Attempting to unpack libdtkcommon-dev/5.5.23-1 from Debian bookworm
on a minimal Debian bullseye with libdtkcore-dev/5.2.2.5-3
installed, causes an unpack error from dpkg due to
/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/dtk_build.prf being contained in both packages.

| Selecting previously unselected package libdtkcommon-dev.
| dpkg: considering deconfiguration of libdtkcore-dev:amd64, which would be broken by installation of libdtkcommon-dev ...
| dpkg: yes, will deconfigure libdtkcore-dev:amd64 (broken by libdtkcommon-dev)
| (Reading database ... 6007 files and directories currently installed.)
| Preparing to unpack .../libdtkcommon-dev_5.5.23-1_amd64.deb ...
| De-configuring libdtkcore-dev:amd64 (5.2.2.5-3) ...
| Unpacking libdtkcommon-dev (5.5.23-1) ...
| dpkg: error processing archive ./libdtkcommon-dev_5.5.23-1_amd64.deb (--unpack):
|  trying to overwrite '/usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/dtk_build.prf', which is also in package libdtkcore-dev:amd64 5.2.2.5-3
| Errors were encountered while processing:
|  ./libdtkcommon-dev_5.5.23-1_amd64.deb


Please ensure that libdtkcommon-dev has sufficient Breaks and Replaces declarations.

Helmut



More information about the Pkg-deepin-devel mailing list