I’m having good luck manually upgrading old (debian 10) templates to 4.3 and I’d like to do the same for an older Fedora template. The key isn Debian is updating /etc/apt/sources.list.d/qubes-r4.list. I don’t know Fedora and I wonder if anyone can tell me if there is an equivalent file I should be editing to have the same effect and bring the templates forward?
It’s definitely a qubes-related issue, because I’m looking for the fule that controls the release version. Also I’ve seen that page about upgrading templates, but (just as with the Debian templates I have), they are too old to run those tools on it, so I am doing the upgrade manually.
As I said, I’ve been very successful (so it seems?) with debian,. and want to do the same with fedora.
So I am looking for the equivalent file to /etc/apt/sources.list.d/qubes-r4.list
Thanks! And - I did! But like I said, I’m too far back for that page to be useful. Unless reading the page twice it has gone through my ears, which is possible I guess. I’m way past EOL.
On Fedora-based templates, the equivalent is in /etc/yum.repos.d/ (which DNF also uses, since DNF is backwards compatible with yum repo definitions). The Qubes-specific repo file you’re looking for is:
/etc/yum.repos.d/qubes-r4.repo
It will contain baseurl or metalink entries pointing to the Qubes repository for your current release. To bring the template forward to R4.3, you’d edit those URLs to reference the R4.3 repositories, just as you edited the qubes-r4.list file on Debian.
A few things worth keeping in mind since you’re new to Fedora package management: Fedora templates also have OS-version-specific repos (like fedora-38.repo, fedora-39.repo, etc.) in the same directory, so if you’re jumping Fedora versions as well as Qubes versions you may need to update those too, or replace them with the correct version’s repo definitions. The Qubes documentation for upgrading Fedora templates recommends using qubes-dom0-update to pull a fresh template rather than in-place upgrades across major Fedora versions, since Fedora’s own in-place upgrade process (dnf system-upgrade) can be fragile inside a template VM. That said, if you’re just updating the Qubes repo pointer and staying on the same Fedora version, editing qubes-r4.repo is exactly the right move.