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
Likely your system is not up-to-date
sudo pacman -Syu
It’s up to date. Still having the same problem.
Those missing depends do not exist in our repo and does not appear to exist in arch-arm’s and they are the ones who packaged those 2 qemu packages.
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.