Package: libopenmpi3,libpmix2
Severity: grave
Control: found -1 libopenmpi3/3.1.1.real-7
Control: found -1 libpmix2/3.0.1-1

Hi,

Attempting to upgrade libopenmpi3 to 3.1.1.real-7 after libpmix2 has
already been upgraded to 3.0.1-1 results in this error:

> Preparing to unpack .../libopenmpi3_3.1.1.real-7_amd64.deb ...
> Unpacking libopenmpi3:amd64 (3.1.1.real-7) over (3.1.1.real-4+b1) ...
> dpkg: error processing archive 
> /var/cache/apt/archives/libopenmpi3_3.1.1.real-7_amd64.deb (--unpack):
>  trying to overwrite '/usr/lib/x86_64-linux-gnu/libpmix.so.2', which is also 
> in package libpmix2:amd64 3.0.1-1
> Errors were encountered while processing:
>  /var/cache/apt/archives/libopenmpi3_3.1.1.real-7_amd64.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)

Both libopenmpi3 and libpmix2 ship libpmix.so.2, but the replaces
relation in libopenmpi3 only applies to libpmix2 (<< 3.0.0-2).
Presumably the same error would occur if libpmix2 is upgraded after
libopenmpi3.

I've filed the bug against both packages, but please reassign it to the
one that needs fixing.

James

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to