Hallo,
bei der Verwendung eines lokalen apt-cacher-ng
Acquire::http { Proxy "http://10.139.0.10:3142"; };
erhalte ich am Client:
root@drei:~# apt update Get:1 http://de2.archive.ubuntu.com/ubuntu xenial InRelease [247 kB] Get:2 http://security.ubuntu.com/ubuntu xenial-security InRelease [107 kB] Get:3 http://de2.archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB] Hit:4 http://de2.archive.ubuntu.com/ubuntu xenial-backports InRelease Get:5 http://de2.archive.ubuntu.com/ubuntu xenial/main amd64 Packages [1201 kB] Get:6 http://de2.archive.ubuntu.com/ubuntu xenial/main i386 Packages [1196 kB] Get:7 http://de2.archive.ubuntu.com/ubuntu xenial/main Translation-en [568 kB] Get:8 http://de2.archive.ubuntu.com/ubuntu xenial/restricted amd64 Packages [8344 B] Get:9 http://de2.archive.ubuntu.com/ubuntu xenial/restricted i386 Packages [8684 B] Get:10 http://de2.archive.ubuntu.com/ubuntu xenial/restricted Translation-en [2908 B] Get:11 http://de2.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages [7532 kB] Get:12 http://de2.archive.ubuntu.com/ubuntu xenial/universe i386 Packages [7512 kB] Get:13 http://de2.archive.ubuntu.com/ubuntu xenial/universe Translation-en [4354 kB] Err:13 http://de2.archive.ubuntu.com/ubuntu xenial/universe Translation-en Hash Sum mismatch Get:14 http://de2.archive.ubuntu.com/ubuntu xenial/multiverse amd64 Packages [144 kB] Get:15 http://de2.archive.ubuntu.com/ubuntu xenial/multiverse i386 Packages [140 kB] Get:16 http://de2.archive.ubuntu.com/ubuntu xenial/multiverse Translation-en [106 kB] Fetched 463 kB in 1s (306 kB/s) Reading package lists... Done E: Failed to fetch http://de2.archive.ubuntu.com/ubuntu/dists/xenial/universe/i18n/by-hash/SHA256/18dacc7ff138747cd23eaa7a6691e259ab48c1fbc7df219cf85e5891d8c6b0f8 Hash Sum mismatch E: Some index files failed to download. They have been ignored, or old ones used instead.
Nach Löschung der Proxy-config am Client ist das Problem umgangen. Wie kann ich es beheben?
Ich las was von
Acquire::http::Pipeline-Depth 0; Acquire::http::No-Cache true; Acquire::BrokenProxy true;
in der Proxy-config (bspw. hier: https://serverfault.com/questions/722893/debian-mirror-hash-sum-mismatch), aber
a) verstehe ich es nicht
b) löst es das Problem nicht.
Danke für Eure Hilfe,
BillMaier