Lars Müller wrote:
On Tue, May 03, 2011 at 01:09:37PM +0200, Per Jessen wrote:
I've just done two identical network installations of 11.4 after one another, and would have expected the second one to benefit from the fact that the first one had already retrieved everything required. However, according to squids logs, I had 61 hits and roughly 2500 misses. Not a single RPM was cached.
If you used download.openSUSE.org this might be the side effect of the download redirector (MirrorBrain).
I used the vanilla ISO as downloaded from http://download.opensuse.org/.
I would check the squid log for the same rpm (e.g. rpm-4.8.0-27.1).
If MirrorBrain redirected to two different servers the http proxy can't know that the content is the same.
It uses a few different mirrors - e.g. for kernel-default: ftp.halifax.rwth-aachen.de ftp.tu-chemnitz.de ftp.uni-bremen.de gd.tuwien.ac.at mirror.leaseweb.com mirror.ox.ac.uk mirror.switch.ch Other packages are equally widespread: ftp4.gwdg.de ftp.belnet.be ftp.cc.uoc.gr ftp.esat.net ftp.icm.edu.pl ftp.linux.ee ftp.uni-kl.de mirror.karneval.cz mirror.switch.ch
I'm guessing the issue is the metalink, but I haven't found any way of making squid work with the metalink.
Question: How do I get squid to cache the repo data during a network installation?
The only workaround I see at the moment is to use a particular mirror instead of download.openSUSE.org.
Yeah, that's easy, I could also just run my own local mirror, but the idea here is to make this happen transparently without any additional typing. Put in the USB or CD, boot and start the installation, and let squid handle the cacheing.
Looks at all like a bug or better a missing feature to me. openFATE is eager to get your input.
Sounds more like a bug to me - "we provide the proxy= command line option, but cacheing is disabled due to our infrastructure". Anyway, is this really mirrorbrain causing the problem? I'm sure I've seen Peter Pöml claim that mirrorbrain had no problems with squid. /Per -- Per Jessen, Zürich (13.8°C) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org