archive.ubuntu.com:80(2001:67c:1360:8001::24)에 대한 연결을 시작할 수 없습니다. 네트워크에 연결할 수 없습니다. [IP: 91.189.88.142 80

archive.ubuntu.com:80(2001:67c:1360:8001::24)에 대한 연결을 시작할 수 없습니다. 네트워크에 연결할 수 없습니다. [IP: 91.189.88.142 80

그래서 방금 Linux Mint 20을 새로 설치했는데, 이 문제는 Linux Mint 19.3에서도 나타났습니다. 소프트웨어 관리자에서 소프트웨어를 수행 apt-get update하거나 다운로드 하려고 할 때마다 오류가 발생합니다. apt-get upgrade업데이트 관리자가 권장하는 내용을 업데이트하려고 할 때도 같은 일이 일어났습니다.

sudo apt-get update/upgrade시도가 실패할 때마다 명령을 계속 실행하면 업그레이드하거나 업데이트할 수 있다는 것을 알았습니다 . 각 업데이트/업그레이드가 특정 비율에서 중지되므로 명령을 다시 실행하면 동일한 비율에서 계속되고 업데이트/업그레이드를 몇 번 수행하면 최종적으로 완료됩니다.

소프트웨어 관리자에서 VLC를 다운로드하려고 할 때 나타나는 오류입니다. 먼저 다음과 같이 말합니다.

Failed to download package files
Check your Internet connection.

세부 사항은 다음과 같습니다.

Failed to fetch http://archive.ubuntu.com/ubuntu/pool/universe/s/sdl-image1.2/libsdl-image1.2_1.2.12-12_amd64.deb Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1360:8001::24). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1562::18). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1360:8001::23). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1562::15). - connect (101: Network is unreachable) Could not connect to archive.ubuntu.com:80 (91.189.88.152), connection timed out Could not connect to archive.ubuntu.com:80 (91.189.88.142), connection timed out [IP: 91.189.88.142 80]
Failed to fetch http://archive.ubuntu.com/ubuntu/pool/universe/s/sidplay-libs/libsidplay2_2.1.1-15ubuntu2_amd64.deb Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1360:8001::24). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1562::18). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1360:8001::23). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1562::15). - connect (101: Network is unreachable) [IP: 91.189.88.142 80]
Failed to fetch http://archive.ubuntu.com/ubuntu/pool/universe/libs/libspatialaudio/libspatialaudio0_0.3.0+git20180730+dfsg1-2build1_amd64.deb Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1360:8001::24). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1562::18). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1360:8001::23). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1562::15). - connect (101: Network is unreachable) [IP: 91.189.88.142 80]
Failed to fetch http://archive.ubuntu.com/ubuntu/pool/universe/s/srt/libsrt1_1.4.0-1build1_amd64.deb Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1360:8001::24). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1562::18). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1360:8001::23). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1562::15). - connect (101: Network is unreachable) [IP: 91.189.88.142 80]
Failed to fetch http://archive.ubuntu.com/ubuntu/pool/universe/libs/libssh2/libssh2-1_1.8.0-2.1build1_amd64.deb Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1360:8001::24). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1562::18). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1360:8001::23). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1562::15). - connect (101: Network is unreachable) [IP: 91.189.88.142 80]
Failed to fetch http://archive.ubuntu.com/ubuntu/pool/universe/p/pupnp-1.8/libupnp13_1.8.4-2ubuntu2_amd64.deb Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1360:8001::24). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1562::18). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1360:8001::23). - connect (101: Network is unreachable) Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1562::15). - connect (101: Network is unreachable) [IP: 91.189.88.142 80]

...등등.

모든 곳에 나타나는 두 가지 특정 error 값은 2001:67c:1360:8001::23및 입니다 91.189.88.152. 현재 내 컴퓨터에서 사용하는 소프트웨어 소스는 다음과 같습니다.

(Main) http://packages.linuxmint.com
(Focal) http://archive.ubuntu.com/ubuntu

Focal 소스를 다양한 소스로 변경하려고 시도했지만 성공하지 못했습니다. 그리고 이전 source.list에 있던 파일을 엉망으로 만들었고 /etc/apt/source.list.d많은 문제로 인해 Linux를 새로 설치해야 했습니다. 그래서 나는 여기서 무엇을 해야할지 정말로 모르고 같은 문제를 가진 많은 다른 사람들을 찾았습니다.

답변1

잘못 구성된 IPv6 스택처럼 보입니다. Linux는 IPv6이 있다고 생각하고 이를 사용하여 연결을 시도합니다(실제로 선호함).

apt-getIPv4 추가를 강제로 사용할 수 있습니다 -o Acquire::ForceIPv4=true. 예를 들어:

$ sudo apt-get -o Acquire::ForceIPv4=true update

옵션을 영구적으로 만들려면 해당 옵션을 의 파일( /etc/apt/apt.conf.d/예: 내부) 에 추가할 수 있습니다 /etc/apt/apt.conf.d/99only-ipv4.

Acquire::ForceIPv4 "true";

관련 정보