On 2016-12-08 14:21, Michael Ströder wrote:
Bernhard M. Wiedemann wrote:
however, if you want your squid to actually cache rpm files, you need to do some tuning, because the download.opensuse.org redirector redirects to different mirrors for the same file and zypper loads small chunks of those files from different mirrors by default.
Do you have a squid.conf at hand with such tuning?
squid.conf: maximum_object_size 204800 KB maximum_object_size_in_memory 800 KB cache_mem 128 MB cache_dir ufs /mnt/space/cache/squid/ 20000 16 256 refresh_pattern ^ftp: 1440 20% 10080 refresh_pattern ^gopher: 1440 0% 1440 refresh_pattern -i (/cgi-bin/|\?) 0 0% 0 refresh_pattern (content.*|Release|packages(.*.gz)*)$ 0 3% 2880 refresh_pattern descr/appdata 0 3% 1440 refresh_pattern \.rpm$ 20000 1900% 300000 refresh_pattern . 0 90% 30000 and I think, I added a http_access allow localnet above http_access allow localhost but to avoid the redirector and chunking of rpms, you can just boot your DVD/autoyast with install=http://ftp.gwdg.de/pub/linux/suse/opensuse/factory/repo/oss/ or use that as repo in an existing install (or any other mirror close to you) Ciao Bernhard M. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org