Întâmpin o problemă interesantă la un Ubuntu 20.04.3 LTS curat cu apt-get. Dacă alerg de ex. sudo apt-get update
se blocheaza. Deja forțez apt-get să folosească ipv4 și, de asemenea, ștergerea cache-ului nu ajută. Folosind și wget/curl on http://archive.ubuntu.com/ubuntu/dists/focal/InRelease pare să funcționeze bine.
Iată jurnalele:
sudo apt-get update
Obțineți:1 http://archive.ubuntu.com/ubuntu focal InRelease
Obțineți:1 http://archive.ubuntu.com/ubuntu focal InRelease
...
Obțineți:1 http://archive.ubuntu.com/ubuntu focal InRelease
Obțineți:1 http://archive.ubuntu.com/ubuntu focal InRelease
Obțineți:1 http://archive.ubuntu.com/ubuntu focal InRelease
Obțineți:1 http://archive.ubuntu.com/ubuntu focal InRelease
0% [1 InRelease 768 B]
Ea cu jurnalele de depanare HTTP activate (sudo apt-get -o debug::acquire::http=yes update
):
0% [Working]GET http://archive.ubuntu.com/ubuntu/dists/focal/InRelease HTTP/1.1
Gazdă: archive.ubuntu.com
Cache-Control: vârsta maximă=0
Accept: text/*
Dacă a fost modificat de la: miercuri, 10 noiembrie 2021 19:43:04 GMT
Agent utilizator: Debian APT-HTTP/1.3 (2.0.6) non-interactiv
0% [Se așteaptă antete] Răspuns pentru: http://archive.ubuntu.com/ubuntu/dists/focal/InRelease
HTTP/1.1 200 OK
Cache-Control: fără cache
Conexiune: aproape
Tip de conținut: application/x-ns-proxy-autoconfig
Obțineți:1 http://archive.ubuntu.com/ubuntu focal InRelease
0% [1 InRelease 768 B]GET http://archive.ubuntu.com/ubuntu/dists/focal/InRelease HTTP/1.1
Gazdă: archive.ubuntu.com
Cache-Control: vârsta maximă=0
Accept: text/*
Interval: octeți=768-
Interval dacă: miercuri, 10 noiembrie 2021 20:11:07 GMT
Agent utilizator: Debian APT-HTTP/1.3 (2.0.6) non-interactiv
0% [1 InRelease 768 B]Răspuns pentru: http://archive.ubuntu.com/ubuntu/dists/focal/InRelease
HTTP/1.1 200 OK
Cache-Control: fără cache
Conexiune: aproape
Tip de conținut: application/x-ns-proxy-autoconfig
Obțineți:1 http://archive.ubuntu.com/ubuntu focal InRelease
0% [1 InRelease 768 B]GET http://archive.ubuntu.com/ubuntu/dists/focal/InRelease HTTP/1.1
Gazdă: archive.ubuntu.com
Cache-Control: vârsta maximă=0
Accept: text/*
Interval: octeți=768-
Interval dacă: miercuri, 10 noiembrie 2021 20:11:07 GMT
Agent utilizator: Debian APT-HTTP/1.3 (2.0.6) non-interactiv
0% [1 InRelease 768 B]Răspuns pentru: http://archive.ubuntu.com/ubuntu/dists/focal/InRelease
HTTP/1.1 200 OK
Cache-Control: fără cache
Conexiune: aproape
Tip de conținut: application/x-ns-proxy-autoconfig
...
Și apoi asta continuă practic pentru totdeauna