Package: libpcre2-dev
Version: 10.48-1
Severity: normal
X-Debbugs-Cc: [email protected]
The latest upgrade broke installation of libpcre2-dev:i386 alongside
libpcre2-dev:amd64.
Building wine requires the packages installed.
Unpacking libpcre2-dev:amd64 (10.48-1) over (10.46-1+b2)…
dpkg: error processing archive
/var/cache/apt/archives/libpcre2-dev_10.48-1_amd64.deb (--unpack):
trying to overwrite shared '/usr/bin/pcre2-config', which is different from
other instances of package libpcre2-dev:amd64
Errors were encountered while processing:
/var/cache/apt/archives/libpcre2-dev_10.48-1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Looking at pcre2-config, it now includes the architecture triplet, thus making
it no longer mutiarch installable. Older versions of the package shipped
without that extra case statement.
--- 32/usr/bin/pcre2-config 2026-08-31 22:37:22.000000000 +0200
+++ 64/usr/bin/pcre2-config 2026-08-31 22:37:22.000000000 +0200
@@ -30,7 +30,7 @@
libR=
libS=
-case "${prefix}/lib/i386-linux-gnu" in
+case "${prefix}/lib/x86_64-linux-gnu" in
# system locations on Linux, no -L needed
/usr/lib|/usr/lib32|/usr/lib64|/usr/lib/*-gnu*)
;;
@@ -40,7 +40,7 @@
/usr/lib/64|/usr/lib/amd*|/usr/lib/sparc*|/usr/lib/ppc*)
;;
*)
- libS="-L${prefix}/lib/i386-linux-gnu"
+ libS="-L${prefix}/lib/x86_64-linux-gnu"
;;
esac
-- System Information:
Debian Release: forky/sid
APT prefers unstable
APT policy: (999, 'unstable'), (998, 'testing'), (990, 'stable'), (500,
'unstable-debug'), (500, 'testing-debug'), (350, 'experimental'), (1,
'experimental-debug')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 7.1.12+deb14-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages libpcre2-dev depends on:
ii libc6-dev [libc-dev] 2.43-4
ii libpcre2-16-0 10.48-1
ii libpcre2-32-0 10.48-1
ii libpcre2-8-0 10.48-1
ii libpcre2-posix3 10.48-1
libpcre2-dev recommends no packages.
libpcre2-dev suggests no packages.
-- no debconf information