Bug#1143198: libopenmpi40: Conflict with package libopenmpi3t64 regarding ownership of libmpi.so.40
Tim Colgate
debian at mettalogic.co.uk
Fri Jul 31 17:18:51 BST 2026
Package: libopenmpi40
Version: 5.0.10-1
Severity: important
X-Debbugs-Cc: debian at mettalogic.co.uk
Dear Maintainer,
I attempted to install a package but apt reported it was in a broken state, it suggested "--fix-broken install"
# apt --fix-broken install
...
Continue? [Y/n]
Get:1 http://deb.debian.org/debian testing/main amd64 libopenmpi40 amd64 5.0.10-1 [2,018 kB]
Fetched 2,018 kB in 0s (5,938 kB/s)
Reading changelogs... Done
Extracting templates from packages: 100%
(Reading database… 641841 files and directories currently installed.)
Preparing to unpack …/libopenmpi40_5.0.10-1_amd64.deb…
Unpacking libopenmpi40:amd64 (5.0.10-1)…
dpkg: error processing archive /var/cache/apt/archives/libopenmpi40_5.0.10-1_amd64.deb (--unpack):
trying to overwrite '/usr/lib/x86_64-linux-gnu/libmpi.so.40', which is also in package libopenmpi3t64:amd64 (4.1.6-13.3)
Errors were encountered while processing:
/var/cache/apt/archives/libopenmpi40_5.0.10-1_amd64.deb
Error: Sub-process /usr/bin/dpkg returned an error code (1)
#
I can see that package libopenmpi3t64 is not currently in testing so I don't know how the system came to have it installed, but the problem is that it and libopenmpi40 both provide /usr/lib/x86_64-linux-gnu/libmpi.so.40 and there is no relevant Replaces or Breaks section.
I fixed it with:
# dpkg --unpack --force-overwrite /var/cache/apt/archives/libopenmpi40_5.0.10-1_amd64.deb
and hope this hasn't broken anything else.
I set the status to important as without manually fixing the package I was unable to install or upgrade any other packages.
Even if I did something wrong to arrive at this situation, I don't think two packages should be providing the same file without there being a relationship between them?
-- System Information:
Debian Release: trixie/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.19.11+deb14-amd64 (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages libopenmpi40 depends on:
ii libc6 2.42-14
ii libevent-core-2.1-7t64 2.1.12-stable-10
ii libevent-pthreads-2.1-7t64 2.1.12-stable-10
ii libfabric1 2.1.0-1.1+b2
ii libgcc-s1 16-20260322-1
ii libhwloc-plugins 2.14.0-2
ii libhwloc15 2.14.0-2
ii libnl-3-200 3.11.0-2
ii libpmix2t64 6.0.0+really5.0.9-3+b2
ii libpsm2-2 11.2.185-2.1
ii libucc1 1.8.0-2
ii libucx0 1.22.0~rc2-1
libopenmpi40 recommends no packages.
libopenmpi40 suggests no packages.
-- no debconf information
More information about the debian-science-maintainers
mailing list