I am trying to make a StandaloneVM update using whonix. Its not working and any inputs on how to fix this would be helpful. Below are the steps
- Create a StandaloneVM using unman jammy template.
- Checked “Provides network”
- Set “Net Qube” to “none”. (Edit: I set it to none to make sure that the updates are happening using proxy)
- Added services “network-manager”, “qubes-update-proxy” and “updates-proxy-setup” to the VM.
- Added a line
$type:StandaloneVM $default allow,target=sys-whonix
to the file/etc/qubes-rpc/policy/qubes.UpdateProxy
file indom0
Getting below error while the StandaloneVM is trying to update
Updating my-vm
Error on updating my-vm: Command '['sudo', 'qubesctl', '--skip-dom0', '--targets=my-vm', '--show-output', 'state.sls', 'update.qubes-vm']' returned non-zero exit status 20.
my-vm:
----------
ID: update
Function: pkg.uptodate
Result: False
Comment: E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jammy/InRelease 500 Unable to connect [IP: 127.0.0.1 8082]
E: Failed to fetch http://archive.canonical.com/ubuntu/dists/jammy/InRelease 500 Unable to connect [IP: 127.0.0.1 8082]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jammy-security/InRelease 500 Unable to connect [IP: 127.0.0.1 8082]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jammy-updates/InRelease 500 Unable to connect [IP: 127.0.0.1 8082]
E: Some index files failed to download. They have been ignored,