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

나는 성공하지 못한 채 초점 소스를 다양한 소스로 변경해 보았습니다. 심지어 이전 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";

관련 정보