Qubes upgrade to 4.3 fails: cannot read metadata for qubes-dom0-cached (no file repomd.xml)

Hi, I am trying to upgrade from 4.2 to 4.3.
First, I have run all
sudo qubes-dist-upgrade --releasever=4.3 --all-pre-reboot
I have rebooted by system and tried to run “all-post-reboot” stages, but I received an error saying
“Cannot continue to STAGE 4 dom0 is not 4.3 yet”.
This had happened to me also while upgrading from 4.1 to 4.2 and at the time I had simply repeated “–all-pre-reboot” to fix any missing step; I did this time to, but whenever I get to stage 3 I receive the same error:


sudo qubes-dist-upgrade --releasever=4.3 -r
[...]
Errors during downloading metadata for repository 'qubes-dom-0-cached':
    - Curl error (37): Could not read a file:// file for file:///var/lib/qubes/updates/repodata/repomd.xml [Couldn't open file /var/lib/qubes/updates/repodata/repomd.xml]
Error: Failed to download metadata for repo 'qubes-dom-0-cached': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried

I have tried with dnf clean all and qubes-dom-0-update --clean but nothing has changed, so I am still stuck here.

And what happens if you simply run:

sudo qubes-dist-upgrade --all-pre-reboot

it won’t run without specifying --releasever=4.3

If I specify the release version, it upgrades the templates in stage 1, then it runs stage 2 but ends with the same error as above

I don’t know if it helps, but the problem is that /var/lib/qubes/update/repodata is empty

i’m sorry to bump this up, but I really do not understand how to get out of this

I’m also bumping this.

I’m in the middle of upgrade process.
I had to install qubes-dist-upgrade tool with --enable-repo=qubes-dom0-current-testing because it didn’t install it otherwise.

Then I used the command:

qubes-dist-upgrade --releasever=4.3 --all-pre-reboot

and it finished the STAGE 1, but then silently exited.

I try to force going to the STAGE 2 running:

qubes-dist-upgrade --releasever=4.3 -r

but receive the similar error:

Errors during downloading metadata for repository 'qubes-dom0-cached':
- Curl error (37): Couldn't read a file:// file for file:///var/lib/qubes/updates/repodata/repomd.xml [Couldn't open file /var/lib/qubes/updates/repodata/repomd.xml]
...
All mirrors are tried
...
Nothing do do.
Complete!

…and what to do now? What’s the state of my Qubes OS? Can I at least return to the initial state of 4.2 or my system is broken now?

What’s your dom0 update proxy?
Maybe you can try to add --keep-running for the dom0 update proxy and all its upstream net qubes.