Ubuntu 23.10 x64极简安装环境下QEMU安装失败的解决方法咨询
Hey there, I’ve run into this exact snag on Ubuntu 23.10 before—let me break down what’s going on and how to fix it!
The issue here is that in Ubuntu 23.10, the generic qemu package no longer exists as a direct installable package. It’s now a virtual package that points to specific QEMU components, which is why you’re getting that "no installation candidate" error.
Here’s what you can do instead, depending on your needs:
First, make sure your apt cache is up to date (even if you haven’t touched sources.list, this can fix stale cache issues):
sudo apt updateIf you only need to run x64 virtual machines (which matches your desktop PC’s architecture), install the core system component specifically for x86:
sudo apt install qemu-system-x86If you want the full suite of QEMU tools—including support for other architectures, additional utilities, and management features—go for the full package:
sudo apt install qemu-fullBonus: If you prefer a graphical interface to manage your VMs, you can pair this with
virt-manager(a popular VM management tool) in one command:sudo apt install qemu-full virt-manager
Once you install one of these packages, you’ll be all set to create and run your virtual machines just like you did before. The split of the old qemu package is Ubuntu’s way of letting users install only what they need, saving disk space and system resources.
备注:内容来源于stack exchange,提问作者Aaron

