FS#74773 - Cannot resolve "edk2-armvirt", a dependency of "qemu-system-aarch64"

Attached to Project: Arch Linux
Opened by Daniel Ammann (wintifrosch) - Monday, 16 May 2022, 19:06 GMT
Last edited by Toolybird (Toolybird) - Wednesday, 27 July 2022, 10:04 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


Tried to install QUEMU on a Apple MacMini M1 with Asahi ArchLinux (Option 2 in https://asahilinux.org/2022/03/asahi-linux-alpha-release/), and received error stated in the post title:
$ sudo pacman -S qemu-system-aarch64
resolving dependencies...
warning: cannot resolve "edk2-armvirt", a dependency of "qemu-system-aarch64"
:: The following package cannot be upgraded due to unresolvable dependencies:

:: Do you want to skip the above package for this upgrade? [y/N]N
error: failed to prepare transaction (could not satisfy dependencies)
:: unable to satisfy dependency 'edk2-armvirt' required by qemu-system-aarch64

robg asked me to submit the error here, after posting a question in the ArchLinux ARM > UserQuestions Forum

Additional info: see forum link above

Steps to reproduce:
• Setup Apple MacMini with Asahi ArchLinux (Installer Option 2)
• Install QEMU with "sudo pacman -S qemu-system-aarch64"
This task depends upon

Closed by  Toolybird (Toolybird)
Wednesday, 27 July 2022, 10:04 GMT
Reason for closing:  Not a bug
Additional comments about closing:  See comments
Comment by loqs (loqs) - Monday, 16 May 2022, 19:24 GMT
See the attached .PKGINFO from http://mirror.archlinuxarm.org/aarch64/extra/qemu-system-aarch64-7.0.0-9-aarch64.pkg.tar.xzqemu-system-aarch64-7.0.0-9-aarch64.pkg.tar.xz particularly the line
depend = edk2-armvirt
While ArchLinux ARM do not appear to have that package in their repositories.
This does seem to be an ArchLinux ARM / Asahi ArchLinux packaging issue. Arch Linux does supply the package for x86_64 in its repositories.
   .PKGINFO (2.2 KiB)
Comment by Toolybird (Toolybird) - Wednesday, 27 July 2022, 10:03 GMT
> This does seem to be an ArchLinux ARM / Asahi ArchLinux packaging issue

Thanks @loqs! Agreed.