On Mon, 2019-09-02 at 08:53 -0500, Richard Shaw wrote:
> Since I have >7 Fedora installations I setup a squid proxy server
> specifically for the purpose of reducing my download data since many
> of the same packages are going to get downloaded over and over again.
>
> I seem to be getting some hits (still looking for a GOOD squid
> analyzer!) but not as much as I would expect. I'm no regex expert but
> I tried to update the regex to pick up delta RPMS as well and may
> have made a mistake...
To use a caching proxy to help with yum/dnf/packagekit, you need to
ensure that those updaters always use the same repo mirror. So you
need to configure your updater, first.
I found some methods that use url rewriting but it's rather ugly...
One[1] suggested this:
There's got to be a proper and generic way of doing this. Keeping up with a list of mirrors isn't sustainable.
I'd be willing to create a new project to try and come up with a package that would automagically get this working but I'd need a lot of help...
Thanks,
Richard