Hi, I can’t seem to install qemu on my Pinebook Pro running arm-stable. pamac install qemu-system-x86 qemu-system-arm gives the following errors:
Warning: cannot resolve "edk2-arm", a dependency of "qemu-system-arm"
Warning: cannot resolve "edk2-ovmf", a dependency of "qemu-system-x86"
Warning: cannot resolve "seabios", a dependency of "qemu-system-x86"
Error: Failed to prepare transaction:
could not satisfy dependencies:
- unable to satisfy dependency 'edk2-arm' required by qemu-system-arm
- unable to satisfy dependency 'edk2-ovmf' required by qemu-system-x86
- unable to satisfy dependency 'seabios' required by qemu-system-x86
I can’t speak for virtualisation on ARM. But when I install qemu I only use sudo pacman -S qemu-desktop. But I imagine there’s a potential for more problems, as it pulls in way more dependencies. (Which you really want to run VMs locallly!)
Unfortunately, this will lead to the same dependency problem. What architecture are you plan on running in your guests? Both aarch64 and x86_64?
I know edk2-ovmf is just a UEFI supported firmware qemu/libvirt uses for x86_64. And it looks like the other two packages are firmware packages well.
pacman -Qo /usr/share/edk2/x64/OVMF_CODE.4m.fd
/usr/share/edk2/x64/OVMF_CODE.4m.fd is owned by edk2-ovmf 202311-1
Quite sure that’s all I use to virtualize x64 on x64 from this package.
If all you need is the firmware files, this should be easily fixable. I just don’t know how to make the pacman deps happy with it.
Both edk2-ovmf and seabios are any architecture packages. They can be downloaded from x86 Arch repos.
Problem is, that another dependency – qemu-common – provides the same firmware files as seabios. So I uninstalled seabios again and installed qemu-common and qemu-desktop first. Then used an archive manager to delete the conflicting files from the seabios-*.pkg.tar.zst and installed this package afterwards.