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.
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.
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?
I’m also bumping this thread.
Output from STAGE 2:
[root@dom0 ~]# qubes-dist-upgrade -r --releasever=4.3
INFO: Please wait while running pre-checks...
WARNING: /!\ MAKE SURE YOU HAVE MADE A BACKUP OF ALL YOUR VMs AND dom0 DATA /!\
-> Launch upgrade process? [y/N] y
---> (STAGE 2) Upgrading 'qubes-release'...
Using sys-firewall as UpdateVM for Dom0
Performing update. This may take a while...
0 files removed
Fedora 37 - x86_64 4.4 MB/s | 70 MB 00:15
Fedora 37 - x86_64 - Updates 5.0 MB/s | 43 MB 00:08
Qubes Host Repository (updates) 17 kB/s | 26 kB 00:01
Last metadata expiration check: 0:00:01 ago on Fri Nov 14 10:10:08 2025.
Dependencies resolved.
Nothing to do.
Complete!
No packages downloaded
Qubes OS Repository for Dom0 0.0 B/s | 0 B 00:00
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]
Error: Failed to download metadata for repo 'qubes-dom0-cached': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
Ignoring repositories: qubes-dom0-cached
Dependencies resolved.
Nothing to do.
Complete!
error: /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-41-primary: import read failed(2).
While this AppVM process is running, sys-net and sys-firewall are still running and have network access, as seen when repository metadata is downloaded.
In sys-firewall i see cached repomd.xml:
user@sys-firewall:~$ ls -al /var/lib/qubes/dom0-updates/var/cache/dnf/
total 145340
drwxr-xr-x 6 user qubes 4096 Nov 16 21:15 .
drwxr-xr-x 3 user qubes 4096 Nov 16 13:22 ..
-rw-r--r-- 1 user qubes 2 Nov 16 21:15 expired_repos.json
drwxr-xr-x 3 user qubes 4096 Nov 16 13:22 fedora-a3256cee7c7d69ad
-rw-r--r-- 1 user qubes 55801422 Nov 16 13:23 fedora-filenames.solvx
-rw-r--r-- 1 user qubes 26547208 Nov 16 20:50 fedora.solv
-rw-r--r-- 1 user qubes 0 Nov 16 13:22 .gpgkeyschecked.yum
drwxr-xr-x 3 user qubes 4096 Nov 16 13:23 qubes-dom0-current-477e601bd497650e
drwxr-xr-x 3 user qubes 4096 Nov 16 20:50 qubes-dom0-current-5041f47211537acb
-rw-r--r-- 1 user qubes 102 Nov 16 20:57 qubes-dom0-current-filenames.solvx
-rw-r--r-- 1 user qubes 6485 Nov 16 20:57 qubes-dom0-current.solv
drwxr-xr-x 3 user qubes 4096 Nov 16 13:23 updates-fd4d3d0d1c34d49a
-rw-r--r-- 1 user qubes 36144745 Nov 16 13:23 updates-filenames.solvx
-rw-r--r-- 1 user qubes 1536 Nov 16 13:23 updates-presto.solvx
-rw-r--r-- 1 user qubes 13164771 Nov 16 20:50 updates.solv
-rw-r--r-- 1 user qubes 17107091 Nov 16 13:23 updates-updateinfo.solvx
user@sys-firewall:~$ find /var/lib/qubes/dom0-updates/var/cache/dnf/ -name repomd.xml
/var/lib/qubes/dom0-updates/var/cache/dnf/updates-fd4d3d0d1c34d49a/repodata/repomd.xml
/var/lib/qubes/dom0-updates/var/cache/dnf/qubes-dom0-current-477e601bd497650e/repodata/repomd.xml
/var/lib/qubes/dom0-updates/var/cache/dnf/fedora-a3256cee7c7d69ad/repodata/repomd.xml
/var/lib/qubes/dom0-updates/var/cache/dnf/qubes-dom0-current-5041f47211537acb/repodata/repomd.xml
According to debugging qubes-dom0-update - it seems like it can’t find the qubes-dom0-receive-updates process and download the updates.
Last lines of bash -x qubes-dom0-update --action=update --releasever=4.3 qubes-release:
I can also confirm that I’m missing the repond.xml file.
When I try to run Stage 2 by itself, I get the same 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]
I know that the system has access to the internet because it downloads the following three: