Hi Panina,
Thanks for replying. I've tried 'sudo qubesctl state.sls qvm.anon-whonix' but got an error (see below).
Actually, as I had removed all whonix related templates and AppVMs manually, when I ran the above command I've got 7 errors and I then created AppVMs named "whonix-gw-15", "whonix-ws-15", "anon-whonix", "sys-whonix" and "whonix-ws-15-dvm", all based on Debian 9, and the number of errors reduced to just 2.
Any ideas what may have gone wrong?
Regards
[claudio@dom0 ~]$ sudo qubesctl state.sls qvm.anon-whonix
[ERROR ] Command '['systemd-run', '--scope', 'qubes-dom0-update', '-y', '--best', '--allowerasing', '--disablerepo=*', '--enablerepo=qubes-templates-community-testing', '--clean', '--action=install', 'qubes-template-whonix-ws-15']' failed with return code: 1
[ERROR ] stdout: Running scope as unit: run-r1789c0ddd26148eda963d137c81386a6.scope
Using mirage-firewall-wifi as UpdateVM to download updates for Dom0; this may take some time...
[ERROR ] retcode: 1
[ERROR ] Error occurred installing package(s). Additional info follows:
errors:
- Running scope as unit: run-r1789c0ddd26148eda963d137c81386a6.scope
Using mirage-firewall-wifi as UpdateVM to download updates for Dom0; this may take some time...
[ERROR ] Command '['systemd-run', '--scope', 'qubes-dom0-update', '-y', '--best', '--allowerasing', '--disablerepo=*', '--enablerepo=qubes-templates-community-testing', '--action=install', 'qubes-template-whonix-gw-15']' failed with return code: 1
[ERROR ] stdout: Running scope as unit: run-rd5f513c50db443948c87208dba3e2b67.scope
Using mirage-firewall-wifi as UpdateVM to download updates for Dom0; this may take some time...
[ERROR ] retcode: 1
[ERROR ] Error occurred installing package(s). Additional info follows:
errors:
- Running scope as unit: run-rd5f513c50db443948c87208dba3e2b67.scope
Using mirage-firewall-wifi as UpdateVM to download updates for Dom0; this may take some time...
local:
----------
ID: template-whonix-ws-15
Function: pkg.installed
Name: qubes-template-whonix-ws-15
Result: False
Comment: Error occurred installing package(s). Additional info follows:
errors:
- Running scope as unit: run-r1789c0ddd26148eda963d137c81386a6.scope
Using mirage-firewall-wifi as UpdateVM to download updates for Dom0; this may take some time...
Started: 16:53:01.289456
Duration: 5021.715 ms
Changes:
----------
ID: whonix-ws-tag
Function: qvm.vm
Name: whonix-ws-15
Result: True
Comment: ====== ['features'] ======
[SKIP] Feature already in desired state: ENABLE 'whonix-ws' = Enabled
====== ['tags'] ======
[SKIP] All requested tags already set: created-by-dom0,whonix-updatevm
Started: 16:53:06.313710
Duration: 93.93 ms
Changes:
----------
ID: whonix-ws-update-policy
Function: file.prepend
Name: /etc/qubes-rpc/policy/qubes.UpdatesProxy
Result: True
Comment: File /etc/qubes-rpc/policy/qubes.UpdatesProxy is in correct state
Started: 16:53:06.409703
Duration: 2.975 ms
Changes:
----------
ID: whonix-get-date-policy
Function: file.prepend
Name: /etc/qubes-rpc/policy/qubes.GetDate
Result: True
Comment: File /etc/qubes-rpc/policy/qubes.GetDate is in correct state
Started: 16:53:06.412767
Duration: 1.109 ms
Changes:
----------
ID: template-whonix-gw-15
Function: pkg.installed
Name: qubes-template-whonix-gw-15
Result: False
Comment: Error occurred installing package(s). Additional info follows:
errors:
- Running scope as unit: run-rd5f513c50db443948c87208dba3e2b67.scope
Using mirage-firewall-wifi as UpdateVM to download updates for Dom0; this may take some time...
Started: 16:53:06.413953
Duration: 2753.597 ms
Changes:
----------
ID: whonix-gw-tag
Function: qvm.vm
Name: whonix-gw-15
Result: True
Comment: ====== ['features'] ======
[SKIP] Feature already in desired state: ENABLE 'whonix-gw' = Enabled
====== ['tags'] ======
[SKIP] All requested tags already set: created-by-dom0,whonix-updatevm
Started: 16:53:09.167801
Duration: 98.203 ms
Changes:
----------
ID: whonix-gw-update-policy
Function: file.prepend
Name: /etc/qubes-rpc/policy/qubes.UpdatesProxy
Result: True
Comment: File /etc/qubes-rpc/policy/qubes.UpdatesProxy is in correct state
Started: 16:53:09.266122
Duration: 1.787 ms
Changes:
----------
ID: sys-net
Function: qvm.exists
Result: True
Comment: /usr/bin/qvm-check sys-net
VM sys-net exists None
Started: 16:53:09.267999
Duration: 202.445 ms
Changes:
----------
ID: sys-firewall
Function: qvm.exists
Result: True
Comment: /usr/bin/qvm-check sys-firewall
VM sys-firewall exists None
Started: 16:53:09.470855
Duration: 204.465 ms
Changes:
----------
ID: sys-whonix
Function: qvm.exists
Result: True
Comment: /usr/bin/qvm-check sys-whonix
VM sys-whonix exists None
Started: 16:53:09.675706
Duration: 206.403 ms
Changes:
----------
ID: whonix-ws-15-dvm
Function: qvm.exists
Result: True
Comment: /usr/bin/qvm-check whonix-ws-15-dvm
VM whonix-ws-15-dvm exists None
Started: 16:53:09.885824
Duration: 203.506 ms
Changes:
----------
ID: qvm-appmenus --update whonix-ws-15-dvm
Function: cmd.run
Result: True
Comment: State was not run because none of the onchanges reqs changed
Changes:
----------
ID: anon-whonix
Function: qvm.exists
Result: True
Comment: /usr/bin/qvm-check anon-whonix
VM anon-whonix exists None
Started: 16:53:10.090071
Duration: 201.804 ms
Changes:
Summary for local
-------------
Succeeded: 11
Failed: 2
-------------
Total states run: 13
Total run time: 8.992 s
DOM0 configuration failed, not continuing
[claudio@dom0 ~]$