Error updating qubes cat > /run/qubes-update/agent.tar.gz

Hi Everyone and good evening!

This is a new one, not too sure where to start troubleshooting. I get this error on some qubes today, when updating. Dom0 took its update w/o fail.

ERROR (exception Command ‘cat > /run/qubes-update/agent.tar.gz’ returned non-zero exit status 1.)

Any ideas or suggestions? Thanks!

2 Likes

Just to be sure, you do have space left on the Qube ?

1 Like

In checking one of the qubes that consistently fails, 9gib out of 20gib so we are good there :wink:

1 Like

Maybe it is the same problem as described here?:

1 Like

Thanks @dhimh for that info! The version of template is relative here, and I’ve identified all the fails to be imported 4.2 versioned ones. Rather than try to update them to 4.3, I will rebuild based on Fedora 43 at this time. The choice to ditch all Debian based qubes now, is due to the following:

  • APT (Advanced Package Tool): Debian has mandated a “hard Rust requirement” for APT starting no earlier than May 2026. This move will integrate the Rust compiler, standard library, and the Sequoia ecosystem (a Rust OpenPGP implementation) into the package manager.
  • Specific Targeted Areas: In APT, Rust code will initially replace C/C++ code responsible for parsing sensitive file formats like .deb, .ar, and .tar, as well as HTTP signature verification.

Fedora/Redhat has taken a cautious approach in using Rust, which I agree with. At this time Rust changes so frequently, making it a moving target for developers! Best to let that one cook longer in the oven. Debian/Ubuntu is taking a risk I don’t want, in mandating its use in critical system packages IMHO. I wish them luck…

So, off I go to clone Fedora43-xfce and add in the requisite software for the app qubes that will use them :grin:

Thanks everyone for your help, and enjoy the weekend!

2 Likes

I have an alternative solution which worked for me.

I had a similar problem, with a Debian 13 based template.
I finally just opened a terminal in that template and did a manual upgrade.
Now I’m waiting for the next round of upgrades.

1 Like

When I look at the problem template, there isn’t a directory /run/qubes-update
Where is this directory supposed to be created?

1 Like

Isn’t an issue to update template from it’s command line rather than through Qubes OS updater?

2 Likes

Fedora itself is being updated too frequently and often brake things. I’ve trying to use Fedora few years ago as my go to templates for everything, yet had way too many issues to deal with, so now stick with Debian only, being it templates in Qubes or standalone system in separate computers. Sure, things brake here and there, but not as often as I had with Fedora when I gave it a try.

3 Likes

That’s “not recommended”:

2 Likes

Not recommended to update using command.
Broken to update in standard way

1 Like