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]

...など。

どこでも見つかる2つの特定のエラー値はerror2001: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";

おすすめ記事