I’m running into a persistent error when attempting to update whonix-ws-16 through the Qubes Update (GUI) tool.
I’m used to failed updates (https://forum.qubes-os.org/t/how-do-i-actually-update-qubes-os-v4-1). Normally, rebooting and trying again fixes update failures. However, I have tried several times to update whonix-ws-16 and keep running into the same error. See the Qubes Update output/details:
Updating whonix-ws-16
Error on updating whonix-ws-16: Command '['sudo', 'qubesctl', '--skip-dom0', '--targets=whonix-ws-16', '--show-output', 'state.sls', 'update.qubes-vm']' returned non-zero exit status 20.
whonix-ws-16:
----------
ID: update
Function: pkg.uptodate
Result: False
Comment: Problem encountered upgrading packages. Additional info follows:
result:
----------
pid:
2498
retcode:
100
stderr:
Running scope as unit: run-rd88b52d6b2154b3980e9dfc12b0ce3d2.scope
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
stdout:
Started: 05:14:23.952089
Duration: 10522.294 ms
Changes:
----------
ID: notify-updates
Function: cmd.run
Name: /usr/lib/qubes/upgrades-status-notify
Result: True
Comment: Command "/usr/lib/qubes/upgrades-status-notify" run
Started: 05:14:34.476402
Duration: 4102.783 ms
Changes:
----------
pid:
2510
retcode:
0
stderr:
stdout:
Summary for whonix-ws-16
------------
Succeeded: 1 (changed=1)
Failed: 1
------------
Total states run: 2
Total run time: 14.625 s
Anyone else running into this or know how to fix it? The error message says “dpkg was interrupted”, but I don’t know why that would be. It also says “you must manually run ‘dpkg --configure -a’ to correct the problem”, but I would like for someone else to weigh in here before I attempt this and possibly screw something up - if fixing the issue is as simple as running that command, why am I being asked to do it?