Bug#1035009: libocct-data-exchange-dev: missing Breaks+Replaces for liboce-modeling-dev when upgrading from bullseye

Tobias Frost tobi at debian.org
Mon May 1 10:30:31 BST 2023


Control: tags -1 unreproducible
Control: severity -1 important

Hi Helmut, 

On Thu, 27 Apr 2023 14:58:58 +0200 Helmut Grohne <helmut at subdivi.de> wrote:
> Package: libocct-data-exchange-dev
> Version: 7.6.3+dfsg1-5
> Severity: serious
> Justification: dpkg unpack error
> 
> Attempting to unpack libocct-data-exchange-dev/7.6.3+dfsg1-5 from Debian bookworm
> on a minimal Debian bullseye with liboce-modeling-dev/0.18.3-1
> installed, causes an unpack error from dpkg due to
> /usr/lib/x86_64-linux-gnu/libTKIGES.so being contained in both packages.
> 
> | Selecting previously unselected package libocct-data-exchange-dev:amd64.
> | (Reading database ... 17251 files and directories currently installed.)
> | Preparing to unpack .../libocct-data-exchange-dev_7.6.3+dfsg1-5_amd64.deb ...
> | Unpacking libocct-data-exchange-dev:amd64 (7.6.3+dfsg1-5) ...
> | dpkg: error processing archive ./libocct-data-exchange-dev_7.6.3+dfsg1-5_amd64.deb (--unpack):
> |  trying to overwrite '/usr/lib/x86_64-linux-gnu/libTKIGES.so', which is also in package liboce-modeling-dev:amd64 0.18.3-1
> | Errors were encountered while processing:
> |  ./libocct-data-exchange-dev_7.6.3+dfsg1-5_amd64.deb
> 
> 
> Please ensure that libocct-data-exchange-dev has sufficient Breaks and Replaces declarations.
> 
> Helmut
 
I cannot reproduce this.  liboce-foundation-dev liboce-modeling-dev is deinstalled here when
trying to installing libocct-data-exchange-dev. 
libocct-data-exchange-dev depends on libocct-foundation-dev, which conflicts liboce-foundation-dev.
liboce-modeling-dev is depending on liboce-foundation-dev, so the conflict is inherited.

Any hints what I am missing?


This is what I have done:
On a bullseye pbuilder chroot:

1) Installing liboce-modeling-dev

# apt install liboce-modeling-dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  liboce-foundation-dev liboce-foundation11 liboce-modeling11
The following NEW packages will be installed:
  liboce-foundation-dev liboce-foundation11 liboce-modeling-dev liboce-modeling11
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 15.6 MB of archives.
After this operation, 77.1 MB of additional disk space will be used.
Do you want to continue? [Y/n] 

(...)

2) changing to source.list to bookworm

3) apt update

4) # apt install libocct-data-exchange-dev

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  liboce-foundation11 liboce-modeling11
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  binutils binutils-common binutils-x86-64-linux-gnu fontconfig-config fonts-dejavu-core gcc-12-base libbinutils libbrotli-dev libbrotli1
  libbsd0 libc-bin libc-dev-bin libc6 libc6-dev libctf-nobfd0 libctf0 libdeflate0 libdrm-amdgpu1 libdrm-common libdrm-intel1
  libdrm-nouveau2 libdrm-radeon1 libdrm2 libedit2 libegl-dev libegl-mesa0 libegl1 libelf1 libffi8 libfontconfig1 libfreeimage-dev
  libfreeimage3 libfreetype-dev libfreetype6 libfreetype6-dev libgbm1 libgl-dev libgl1 libgl1-mesa-dev libgl1-mesa-dri libglapi-mesa
  libgles-dev libgles1 libgles2 libglu1-mesa libglu1-mesa-dev libglvnd-core-dev libglvnd-dev libglvnd0 libglx-dev libglx-mesa0 libglx0
  libgprofng0 libhwloc15 libice-dev libice6 libimath-3-1-29 libjansson4 libjbig0 libjpeg62-turbo libjxr0 liblcms2-2 liblerc4 libllvm15
  libmd0 libocct-data-exchange-7.6 libocct-draw-7.6 libocct-foundation-7.6 libocct-foundation-dev libocct-modeling-algorithms-7.6
  libocct-modeling-algorithms-dev libocct-modeling-data-7.6 libocct-modeling-data-dev libocct-ocaf-7.6 libocct-ocaf-dev
  libocct-visualization-7.6 libocct-visualization-dev libopenexr-3-1-30 libopengl-dev libopengl0 libopenjp2-7 libpciaccess0 libpng-dev
  libpng16-16 libpthread-stubs0-dev libraw20 libsensors-config libsensors5 libsm-dev libsm6 libstdc++6 libtbb12 libtbbbind-2-5
  libtbbmalloc2 libtcl8.6 libtiff6 libtk8.6 libwayland-client0 libwayland-server0 libwebp7 libwebpmux3 libx11-6 libx11-data libx11-dev
  libx11-xcb1 libxau-dev libxau6 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-randr0 libxcb-shm0 libxcb-sync1
  libxcb-xfixes0 libxcb1 libxcb1-dev libxdmcp-dev libxdmcp6 libxext-dev libxext6 libxfixes3 libxft2 libxmu-dev libxmu-headers libxmu6
  libxrender1 libxshmfence1 libxss1 libxt-dev libxt6 libxxf86vm1 libz3-4 libzstd1 occt-misc rpcsvc-proto x11-common x11proto-dev
  xorg-sgml-doctools xtrans-dev zlib1g zlib1g-dev
Suggested packages:
  binutils-doc glibc-doc libc-l10n locales libnss-nis libnss-nisplus manpages-dev freetype2-doc libhwloc-contrib-plugins libice-doc
  liblcms2-utils pciutils lm-sensors libsm-doc tcl8.6 tk8.6 libx11-doc libxcb-doc libxext-doc libxt-doc
Recommended packages:
  manpages manpages-dev libc-devtools libhwloc-plugins libpng-tools
The following packages will be REMOVED:
  liboce-foundation-dev liboce-modeling-dev
The following NEW packages will be installed:
  fontconfig-config fonts-dejavu-core gcc-12-base libbrotli-dev libbrotli1 libbsd0 libdeflate0 libdrm-amdgpu1 libdrm-common libdrm-intel1
  libdrm-nouveau2 libdrm-radeon1 libdrm2 libedit2 libegl-dev libegl-mesa0 libegl1 libelf1 libffi8 libfontconfig1 libfreeimage-dev
  libfreeimage3 libfreetype-dev libfreetype6 libfreetype6-dev libgbm1 libgl-dev libgl1 libgl1-mesa-dev libgl1-mesa-dri libglapi-mesa
  libgles-dev libgles1 libgles2 libglu1-mesa libglu1-mesa-dev libglvnd-core-dev libglvnd-dev libglvnd0 libglx-dev libglx-mesa0 libglx0
  libgprofng0 libhwloc15 libice-dev libice6 libimath-3-1-29 libjansson4 libjbig0 libjpeg62-turbo libjxr0 liblcms2-2 liblerc4 libllvm15
  libmd0 libocct-data-exchange-7.6 libocct-data-exchange-dev libocct-draw-7.6 libocct-foundation-7.6 libocct-foundation-dev
  libocct-modeling-algorithms-7.6 libocct-modeling-algorithms-dev libocct-modeling-data-7.6 libocct-modeling-data-dev libocct-ocaf-7.6
  libocct-ocaf-dev libocct-visualization-7.6 libocct-visualization-dev libopenexr-3-1-30 libopengl-dev libopengl0 libopenjp2-7
  libpciaccess0 libpng-dev libpng16-16 libpthread-stubs0-dev libraw20 libsensors-config libsensors5 libsm-dev libsm6 libtbb12
  libtbbbind-2-5 libtbbmalloc2 libtcl8.6 libtiff6 libtk8.6 libwayland-client0 libwayland-server0 libwebp7 libwebpmux3 libx11-6 libx11-data
  libx11-dev libx11-xcb1 libxau-dev libxau6 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-randr0 libxcb-shm0 libxcb-sync1
  libxcb-xfixes0 libxcb1 libxcb1-dev libxdmcp-dev libxdmcp6 libxext-dev libxext6 libxfixes3 libxft2 libxmu-dev libxmu-headers libxmu6
  libxrender1 libxshmfence1 libxss1 libxt-dev libxt6 libxxf86vm1 libz3-4 occt-misc rpcsvc-proto x11-common x11proto-dev xorg-sgml-doctools
  xtrans-dev zlib1g-dev
The following packages will be upgraded:
  binutils binutils-common binutils-x86-64-linux-gnu libbinutils libc-bin libc-dev-bin libc6 libc6-dev libctf-nobfd0 libctf0 libstdc++6
  libzstd1 zlib1g
13 upgraded, 130 newly installed, 2 to remove and 147 not upgraded.
Need to get 104 MB/104 MB of archives.
After this operation, 377 MB of additional disk space will be used.
Do you want to continue? [Y/n] 


Afterwards: 
 
dpkg -l libocct-data-exchange-dev liboce-modeling-dev
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                            Version       Architecture Description
+++-===============================-=============-============-=============================================================================
==
ii  libocct-data-exchange-dev:amd64 7.6.3+dfsg1-5 amd64        Open CASCADE Technology module for CAD data format interoperability - dev fil
es
un  liboce-modeling-dev             <none>        <none>       (no description available)



More information about the debian-science-maintainers mailing list