Few days ago I made a clean instalation of qubes 4.2.1 with deafault options with no errors but when I try to update fedora 39 or debian 12 I got errors:
In fedora 39 xfce: I get:
Error:Failed to download metadata for repo ‘qubes-vm-r4.2-current’ Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried.
Try to set the update proxy for your templates to sys-firewall if it’s set to sys-net (default).
Q → Qubes Global Config → Updates tab → Default update proxy
Maybe it’s an issue with IPv6 address assigned to your network interface in sys-net:
I change from sys-net to sys-firewall update proxy and that worked for me, now I can update templates. I also think it is an issue with IPv6 in sys-net network interface, it would be interesting to know how to fix this issue or in a future update.
I guess the update proxy is configured to work only over IPv4 by default and sys-net is preferred to use IPv6 by default which is causing a mismatch and maybe for it to work you need to enable IPv6 in the qube:
But it’s just a guess, maybe enabling IPv6 won’t fix the issue because IPv6 support is missing in the update proxy.