On Fri, Mar 06, 2020 at 03:43:00PM -0600, Sven Semmler wrote:
> On Fri, Mar 06, 2020 at 12:38:45PM +0000, unman wrote:
> > Drop in apt-cacher-ng in its place to get lightweight caching proxy.
> -
https://github.com/unman/notes/tree/master/config/cacher
For others reading this now or later... making the salt in the above
link work is more then I could handle* (there were some dependencies on
other salt scripts I didn't have). However, unman also has a super
helpful step-by-step instruction:
https://github.com/unman/notes/blob/master/apt-cacher-ng
This worked as described with the following restrictions:
-> debian templates did not work unchanged due to the https:// URIs but
once I changed those to
http://HTTPS/// it worked just fine
-> ubuntu did work out of the box as the URIs are http://
-> some 3rd party repos needed the
http://HTTPS/// change (e.g.
Signal)
-> I couldn't get it to work with the one Fedora qube I have
(qubes-builder) and wasn't in the mood to tinker. Since it's the only
Fedora instance (besides dom0 which is an entirely different version)
having a cache would bring me no benefit.
I don't quite understand why repos would be hosted on https:// URI in
the first place. The contents is hardly confidential, the authenticity
is checked via signatures ... why the overhead? Might be off-topic for
this list though.
/Sven
*salt along with Python is something I know I have to learn, but right
now just don't have the mental bandwidth for