OK. I played with the Fedora templates more and finally got this working.
This will work in Debian templates, but not Fedora.
In the Fedora templates I go to /etc/yum.repos.d/ and edit all of the *.repo files.
Uncomment #baseurl=http://download.example/... and replace that with something like baseurl=http://HTTPS///download.fedoraproject.org/
Comment out #metalink=https://mirrors.fedoraproject.org/...
I don’t know it this is overkill, but in the .repo files where there was a baseurl already with http://, I changed all of them to http://HTTPS///
I cloned a few of my existing Fedora templates and tested this out and it appears to have worked every time.
It is packaged and easily installed from here
Or you can install from source - you
will need to copy the cacher directory to dom0 under srv/salt.
Instructions are in the README.
I’d recommend using the package - it will create the directory for you
and automatically run the salt commands to set up the proxy. To use Salt you must make sure that your default-mgmt-dvm qubes is
based on Fedora-40. There is a bug in Debian packages.
I never presume to speak for the Qubes team.
When I comment in the Forum I speak for myself.
BTW are there any plans to make an official update cache qube?
Are you currently the only one maintaining / signing the packages in the 3isec repo ?
I am a bit hesitant to add the repo to dom0. (currently installed from source)