Package: libpsl-dev
Version: 0.21.2-1.1+b1

When attempting to install both AMD64 and ARM64 architectures of 
libpsl-dev simultaneously, the installation fails due to conflicting
'/usr/share/man/man3/libpsl.3.gz' files.

To reproduce on an AMD64 host:
# dpkg --add-architecture arm64
# apt update
# apt install -y libpsl-dev libpsl-dev:arm64
...
Selecting previously unselected package libpsl-dev:amd64.
Preparing to unpack .../08-libpsl-dev_0.21.2-1.1+b1_amd64.deb ...
Unpacking libpsl-dev:amd64 (0.21.2-1.1+b1) ...
...
Selecting previously unselected package libpsl-dev:arm64.
Preparing to unpack .../10-libpsl-dev_0.21.2-1.1+b1_arm64.deb ...
Unpacking libpsl-dev:arm64 (0.21.2-1.1+b1) ...
dpkg: error processing archive 
/tmp/apt-dpkg-install-Gma12Z/10-libpsl-dev_0.21.2-1.1+b1_arm64.deb (--unpack):
 trying to overwrite shared '/usr/share/man/man3/libpsl.3.gz', which is 
different from other instances of package libpsl-dev:arm64
Errors were encountered while processing:
 /tmp/apt-dpkg-install-Gma12Z/10-libpsl-dev_0.21.2-1.1+b1_arm64.deb
Error: Sub-process /usr/bin/dpkg returned an error code (1)

This is reproducible on both Debian 13 (trixie) and Debian sid.

Reply via email to