Re: apt-get unter Stretch hängt beim herunterladen der Translations
On Wed, Nov 27, 2019 at 10:10:11AM +0100, Martin Johannes Dauser wrote:
> Tja, apt und ein vorgeschalteter Proxy ist , öhm, problembehaftet.
>
> Kennt dein apt überhaupt deinen Proxy?
> /etc/apt/apt.conf
> Acquire::http::Proxy "http://user:pass@proxy_host:port";
> bzw.
> Acquire::http::Proxy "http://proxy_host:port";
>
> Eventuell müsste der Proxy die Daten neu einlesen, liefert aber nur
> (unvollständige) Daten aus seinem Cache.
Ja, der Proxy ist bekannt und hat lange Zeit einwandfrei funktioniert.
Solange http_proxy / https_proxy ordentlich gesetzt sind, kann ich per
wget problemlos Daten holen und genau dieser Proxy wird auch in der apt
Konfiguration benutzt:
$ grep -v '^//' /etc/apt/apt.conf.d/00proxy | grep -c $http_proxy
1
Viele Grüße
Andreas.
> Martin
>
>
> On Wed, 2019-11-27 at 09:08 +0100, Andreas Tille wrote:
> > Hallo,
> >
> > ich habe drei Stretch-Maschinen hinter ein und demselben Proxy laufen. Ich habe
> > die sources.list auf ein Minimum reduziert:
> >
> >
> > $ cat /etc/apt/sources.list
> > deb http://deb.debian.org/debian/ stretch main
> > deb http://security.debian.org/debian-security stretch/updates main
> > $ ls /etc/apt/sources.list.d
> > ls: Zugriff auf '/etc/apt/sources.list.d' nicht möglich: Datei oder Verzeichnis nicht gefunden
> >
> > Leider hängen alle drei Maschinen reproduzierbar und schon über mehrere Wochen bei:
> >
> > $ sudo apt update
> > Ign:1 http://cdn-fastly.deb.debian.org/debian stretch InRelease
> > Holen:2 http://cdn-fastly.deb.debian.org/debian stretch Release [118 kB]
> > Holen:3 http://cdn-fastly.deb.debian.org/debian stretch Release.gpg [2.365 B]
> > Holen:4 http://security-cdn.debian.org/debian-security stretch/updates InRelease [94,3 kB]
> > Holen:5 http://security-cdn.debian.org/debian-security stretch/updates/main amd64 Packages [508 kB]
> > Holen:6 http://security-cdn.debian.org/debian-security stretch/updates/main Translation-en [224 kB]
> > Holen:7 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 Packages [7.086 kB]
> > Holen:8 http://cdn-fastly.deb.debian.org/debian stretch/main Translation-de_DE [830 B]
> > Holen:9 http://cdn-fastly.deb.debian.org/debian stretch/main Translation-en [5.385 kB]
> > Holen:10 http://cdn-fastly.deb.debian.org/debian stretch/main Translation-de [1.620 kB]
> > Holen:11 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 Contents (deb) [31,2 MB]
> > Holen:6 http://security-cdn.debian.org/debian-security stretch/updates/main Translation-en [224 kB]
> > Holen:6 http://security-cdn.debian.org/debian-security stretch/updates/main Translation-en [224 kB]
> > Holen:6 http://security-cdn.debian.org/debian-security stretch/updates/main Translation-en [224 kB]
> > Holen:6 http://security-cdn.debian.org/debian-security stretch/updates/main Translation-en [224 kB]
> > Holen:6 http://security-cdn.debian.org/debian-security stretch/updates/main Translation-en [224 kB]
> > Holen:6 http://security-cdn.debian.org/debian-security stretch/updates/main Translation-en [224 kB]
> > Holen:6 http://security-cdn.debian.org/debian-security stretch/updates/main Translation-en [224 kB]
> > Holen:6 http://security-cdn.debian.org/debian-security stretch/updates/main Translation-en [224 kB]
> > Holen:6 http://security-cdn.debian.org/debian-security stretch/updates/main Translation-en [224 kB]
> > 99% [6 Translation-en 223 kB/224 kB 100%]
> >
> >
> > Bei anderen Stretch-Maschinen, die direkt im Internet sind, funktioniert alles.
> >
> > Grundsätzlich könnte ich auch auf die Translations verzichten - wenn nur apt
> > sein update erfolgreich beenden würde.
> >
> > Hat jemand einen Hinweis, woran das liegen könnte?
> >
> > Viele Grüße
> >
> > Andreas.
> >
>
>
--
http://fam-tille.de
Reply to: