Bug#936009: shim-unsigned:amd64 cannot be installed alongside shim-unsigned:i386

2023-08-08 Thread Pascal Hambourg

Control: tags -1 patch

Merge request !12 should fix this issue by adding "Multi-Arch: same".


Is there any reason to not accept it ?



Bug#936009: shim-unsigned:amd64 cannot be installed alongside shim-unsigned:i386

2019-08-28 Thread adrian15 adrian15
Package: shim-unsigned
Version: 15+1533136590.3beb971-7
Severity: normal

Dear Maintainer,

I want to be able to build a live cd that has both ia32 and x64 Secure
Boot UEFI support.
So I need both shim-signed:amd64 and shim-signed:i386 installed.

Those two packages depend on shim-unsigned:amd64 and shim-unsigned:i386
among other packages.
I cannot install those unsigned packages hence neither I can install the
signed ones.

After adding and apt i386 architecture to an amd64 system if I run:

apt-get install shim-unsigned:amd64 shim-unsigned:i386

I get this output:


Reading package lists... Done
Building dependency tree
Reading state information... Done
shim-unsigned is already the newest version (15+1533136590.3beb971-7).
shim-unsigned set to manually installed.
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 shim-unsigned : Conflicts: shim-unsigned:i386 but 15+1533136590.3beb971-7
is to be installed
 shim-unsigned:i386 : Conflicts: shim-unsigned but 15+1533136590.3beb971-7
is to be installed
E: Unable to correct problems, you have held broken packages.


I would like to be able to install both packages at the same time
because generated binaries do not collide between them.

It would seem those packages are lacking some multi-arch declaration on
the package metadata.

This same problem was fixed for shim-signed on
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=928486 and fixed there.
Associated commit to that fix:
https://salsa.debian.org/efi-team/shim-signed/commit/f3393e69ed073007cda61d57c60e5c907c4faf51
.

I suspect that shim-helpers-amd64-signed and shim-helpers-i386-signed
packages will need a similar workaround but I'm not sure on this one.


Thank you very much!

-- System Information:
Debian Release: 10.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-5-amd64 (SMP w/2 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect

-- no debconf information