There are many posts here with similar subject - sorry for creating one more post on dom0 upgrade issues but I think my issue is slightly different. Any suggestions will be very helpful.
I’m on 4.1.1. GUI Qubes Update results in the following error:
Updating dom0
Error on updating dom0: Command ‘[‘sudo’, ‘qubesctl’, ‘–dom0-only’, ‘–no-color’, ‘pkg.upgrade’, ‘refresh=True’]’ returned non-zero exit status 1.
[ERROR ] Command ‘systemd-run’ failed with return code: 2
[ERROR ] stderr: Running scope as unit: run-ra55ad3b9a039479a965c26276265e808.scope
Using sys-firewall as UpdateVM to download updates for Dom0; this may take some time…
Sending repository information to UpdateVM failed: code 2
[ERROR ] retcode: 2
In dom0 terminal, running sudo qubes-dom0-update results in the following error:
Using sys-firewall as UpdateVM to download updates for Dom0; this may take some time…
Sending repository information to UpdateVM failed: code 2
After some extensive digging around I found out that UpdateVM didn’t have enough storage. sys-firewall was setup as default UpdateVM. changing UpdateVM to another AppVM with lots of storage did the trick.
I still haven’t found out of how to increase storage space on sys-firewall (and BTW the difference between private and system storage) or where exactly the problem is. Any ideas, thoughts are welcome. At the moment, private storage is set at 4GB and system at 10GB.
@BebeRebozo: It depends on the terminal emulator from which you’re trying to copy text. You can search the web for guides (e.g., “how to copy text from xterm”). It’s not Qubes-specific. Once you get the text into the qube’s clipboard, simply press Ctrl+Shift+C to copy it to the Qubes global clipboard.
i had also this issue with too low memory on update qube.
You cannot increase the system max storage in the update qube (in my case also sys-firewall) because you have to increase the max system storage in the underlying template.
On my system the sys-firewall qube depends on the underlying template debian-11-dvm and this depends on debian-11.
So, increasing the systems max storage size in the very basic template debian-11 was the solution for the update problems in
the update qube.
That’s because you haven’t copied the text from your terminal to that qube’s internal clipboard yet. You have to do that before copying from that qube’s internal clipboard to the Qubes OS global clipboard.
sigh…there was waaaAAAaaay more to it that just that…the sys-firewall terminal window is different and after glancing at the no solution results from a search of xfce mouse clicks but figured out that this is one in a million circumstance and it was just easier to type it.
I’d rather not never ever have to be in the sys-firewall terminal ever again.