Artix Linux Forum

Artix Linux => Package management => Topic started by: DataDreamer on 12 August 2022, 07:20:43

Title: [SOLVED] Issue Installing Qemu
Post by: DataDreamer on 12 August 2022, 07:20:43
Attempted to install qemu on a fresh encrypted version of Artix running OpenRC. I've installed qemu before so this appears to be a newer issue. I first attempted to install qemu and virt-manager alongside other utilities, but the issue seems to crop down to qemu alone.

Attempt:

sudo pacman -S qemu


Result:

error: failed to commit transaction (conflicting files)
/usr/share/qemu/bios-microvm.bin exists in both 'seabios' and 'qemu'
/usr/share/qemu/vgabios-ati.bin exists in both 'seabios' and 'qemu'
Errors occurred, no packages were upgraded.


This is confusing, the files claim to exist yet I cannot find where they persist. I can't find anything on the web about this issue.
Title: Re: Issue Installing Qemu
Post by: Dudemanguy on 12 August 2022, 16:00:11
That means files in those two packages conflict. However, you are actually downloading the wrong thing. Qemu got split into a bunch of separate packages a a while ago (https://archlinux.org/news/qemu-700-changes-split-package-setup/) (qemu-base, etc.). Apparently, the old, outdated qemu package is still in the repos and manually needs to be removed. In the meantime, you can just get qemu-desktop which is probably what you want.
Title: Re: Issue Installing Qemu
Post by: DataDreamer on 12 August 2022, 18:00:31
Oh wow, it's been a long while since this change occured. I didn't realize that I've been installing an old package the entire time. Yikes!

Thank you so much.