Cannot update dom0 (R4.1)

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.

Here’s the df output from sys-firewall:
Filesystem Size Used Avail Use% Mounted on
/dev/xvda3 12G 12G 0 100% /
none 12G 12G 0 100% /usr/lib/modules
devtmpfs 4.0M 0 4.0M 0% /dev
tmpfs 1.0G 0 1.0G 0% /dev/shm
tmpfs 78M 752K 77M 1% /run
tmpfs 1.0G 0 1.0G 0% /tmp
/dev/xvdb 3.9G 1.4M 3.9G 1% /rw
tmpfs 39M 120K 39M 1% /run/user/1000

How did you copy the df stdout because ctrl+c doesnt work?

@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.

Ctrl+shift+C in the terminal for sys-firewall copies nothing. Even the popup says “0 bytes copied to the global clipboard”.

And I’ve tried all sorts of mouse button and mouse wheel clicks.

I just typed it in…anyway from another post…is the sys-firewall full?

Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/dmroot 10013884 9483644 0 100% /
none 10013884 9483644 0 100% /usr/libmodules
devtmpfs 4096 0 4096 0% /dev
tmpfs 1048576 0 1048576 0% /dev/shm
tmpfs 76636 768 75868 2% /run
tmpfs 5120 0 5120 0% /run/lock
/dev/xvdb 1992552 39656 1936512 3% /rw
tmpfs 38316 56 38260 1% /run/user/1000
tmpfs 38316 48 38268 1% /run/user/0

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.

See the post of my update issue:

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.