I was looking to use anbox in an Ubuntu Focal VM and downloaded, verified, and passed to dom0 Focal template from Parrot security and Ubuntu Focal templates.
The “focal” template appeared in the “Create New Qube” GUI, but I don’t think I was able to start a focal VM. Anyway, I deleted the focal template after running
qvm-prefs focal installed_by_rpm false and then
sudo dnf remove qubes-template-focal.
Then today I decided to try again. When I ran
sudo dnf install qubes-template ubuntu-focal.rpm (renamed from the original downloaded .rpm package), dom0 tells me:
Package qubes-template-focal-4.0.6-202103140033.noarch is already installed. This appears twice in a row. Then at the end of the output
Dependencies resolved. Nothing to do. Complete!
If I try to delete
qubes-template-focal-4.0.6-202103140033.noarch by running
sudo dnf remove qubes-template-focal-4.0.6-202103140033.noarch, then I eventually get:
Error in PREUN scriptlet in rpm packge qubes-template-focal \n
Verifying: qubes-template-focal-4.0.6-202103140033.noarch \n
Failed: qubes-template-focal-4.0.6-202103140033.noarch \n
Error: Transaction failed
Is my first (presumed) deletion of ubuntu.rpm related to this error, as well as my inability to install a freshly downloaded ubuntu.rpm? None of the outputs mention log files-- do these exist?
Perhaps there is a way to install anbox or another android emulator without ubuntu? Thanks!