In my case, CentOS8 updating doesn’t work, with the following error:
Errors during downloading metadata for repository ‘qubes-vm-r4.1-current-testing’:
- Status code: 404 for https://yum.qubes-os.org/r4.1/current-testing/vm/8/repodata/repomd.xml (IP: 127.0.0.1)
Error: Failed to download metadata for repo ‘qubes-vm-r4.1-current-testing’: Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
The reason is obvious - the set repository url is not valid, and the workaround is to edit /etc/yum.repos.d/qubes-r4.repo so instead:
it has to be:
It has to be done for all repositories.
Probably known to the ones in the know, but it might help newbies like me.