[Pkg-ayatana-devel] Bug#1037202: libunity9: Multi-Arch: same, but not co-installable
Ben Harris
bjh21 at cam.ac.uk
Wed Jun 7 18:28:42 BST 2023
Package: libunity9
Version: 7.1.4+19.04.20190319-6+b1
Severity: normal
Dear Maintainer,
While cross-grading an i386 system to amd64, I tried to co-install both
i386 and amd64 versions of libunity9. This should be possible as they are
both marked "Multi-Arch: same". However, dpkg complains:
wraith:~/crossgrade# dpkg -i libunity9_7.1.4+19.04.20190319-6+b1_i386.deb
(Reading database ... 431882 files and directories currently installed.)
Preparing to unpack libunity9_7.1.4+19.04.20190319-6+b1_i386.deb ...
Unpacking libunity9:i386 (7.1.4+19.04.20190319-6+b1) over (7.1.4+19.04.20190319-6+b1) ...
Setting up libunity9:i386 (7.1.4+19.04.20190319-6+b1) ...
Processing triggers for libc-bin (2.36-9) ...
Processing triggers for libglib2.0-0:amd64 (2.74.6-2) ...
Processing triggers for libglib2.0-0:i386 (2.74.6-2) ...
wraith:~/crossgrade# dpkg -i libunity9_7.1.4+19.04.20190319-6+b1_amd64.deb
(Reading database ... 431882 files and directories currently installed.)
Preparing to unpack libunity9_7.1.4+19.04.20190319-6+b1_amd64.deb ...
Unpacking libunity9:amd64 (7.1.4+19.04.20190319-6+b1) ...
dpkg: error processing archive libunity9_7.1.4+19.04.20190319-6+b1_amd64.deb (--install):
trying to overwrite shared '/usr/bin/unity-scope-loader', which is different from other instances of package libunity9:amd64
Processing triggers for libc-bin (2.36-9) ...
Errors were encountered while processing:
libunity9_7.1.4+19.04.20190319-6+b1_amd64.deb
/usr/bin/unity-scope-loader is indeed an i386 executable in the i386
package and an amd64 executable in the amd64 package.
I think either unity-scopes-loader should be removed from the libunity9
package or libunity9 should be marked as "Multi-Arch: no".
-- System Information:
Debian Release: 12.0
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.1.0-9-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
--
Ben Harris, University of Cambridge Information Services.
More information about the Pkg-ayatana-devel
mailing list