AMDESE / AMDSEV

AMD Secure Encrypted Virtualization
272 stars 84 forks source link

Error on Debian 12 #213

Open roostab opened 2 months ago

roostab commented 2 months ago

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.)