Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on Debian 12 #213

Open
roostab opened this issue Apr 26, 2024 · 0 comments
Open

Error on Debian 12 #213

roostab opened this issue Apr 26, 2024 · 0 comments

Comments

@roostab
Copy link

roostab commented Apr 26, 2024

Hi,

the script install.sh does not work on Debian. In particular, this line. In fact, apt install qemu gives this error:

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package qemu is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'qemu' has no installation candidate

The following works:

if [ "$ID" = "debian" ]; then
	apt-get -y install qemu-utils qemu-system-x86 qemu-system-gui ovmf
if [ "$ID_LIKE" = "debian" ]; then
	apt-get -y install qemu ovmf

(Leaving this open just in case it can be helpful for others / to fix.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant