Comment 1 for bug 1916073

Revision history for this message
Christian Ehrhardt  (paelzer) wrote : Re: qemu-system-arm should depend on qemu-efi

Hi Lee o/,
qemu-efi is only a transitional anymore.
It depends on and was replaced by qemu-efi-aarch64.

And qemu-system-arm already has a Recommends on ... qemu-efi-aarch64, qemu-efi-arm

Since the default is to install Recommends that should already be no issue.

There are use cases for qemu-system-arm without qemu-efi-aarch64 and we had bugs and discussions that imply making it a Depends causes problems for others.

Therefore I wonder what happened that this wasn't pulled in by default.

I've double checked Focal / Hirsute (what release are you on BTW?)

root@test-qemu-dep-h:~# apt install qemu-system-arm | grep -- qemu-efi

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

  publicsuffix qemu-block-extra qemu-efi-aarch64 qemu-efi-arm
  publicsuffix qemu-block-extra qemu-efi-aarch64 qemu-efi-arm qemu-system-arm
^C
root@test-qemu-dep-h:~# apt install libvirt-daemon-system | grep -- qemu-efi

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

  qemu-block-extra qemu-efi-aarch64 qemu-efi-arm qemu-system-arm
  parted policykit-1 publicsuffix qemu-block-extra qemu-efi-aarch64
  qemu-efi-arm qemu-system-arm qemu-system-common qemu-system-data
^C

root@test-qemu-dep-f:~# apt install qemu-system-arm | grep -- qemu-efi

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

  qemu-efi-aarch64 qemu-efi-arm qemu-system-common qemu-system-data
  qemu-efi-aarch64 qemu-efi-arm qemu-system-arm qemu-system-common
^C
root@test-qemu-dep-f:~# apt install libvirt-daemon-system | grep -- qemu-efi

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

  qemu-efi-aarch64 qemu-efi-arm qemu-kvm qemu-system-arm qemu-system-common
  qemu-efi-aarch64 qemu-efi-arm qemu-kvm qemu-system-arm qemu-system-common
^C

You see it is pulled in from libvirt-daemon-system as well as from qemu-system-arm?

So we can't make it stronger (depends) and I can not reproduce it over here.
Something is different on your test environment, do you know what?