
apt update を使用して更新しようとすると、次のエラーが発生します。
Err:10 http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu bionic InRelease
Could not connect to ppa.launchpad.net:80 (91.189.95.83), connection timed out Could not connect to ppa.launchpad.net:80 (2001:67c:1560:8008::15), connection timed out
Err:11 http://ppa.launchpad.net/js-reynaud/kicad-5.1/ubuntu bionic InRelease
Unable to connect to ppa.launchpad.net:http:
Err:12 http://ppa.launchpad.net/tista/plata-theme/ubuntu bionic InRelease
Unable to connect to ppa.launchpad.net:http:
Err:13 http://ppa.launchpad.net/ubuntubudgie/backports/ubuntu bionic InRelease
Unable to connect to ppa.launchpad.net:http:
Err:14 http://ppa.launchpad.net/zeal-developers/ppa/ubuntu bionic InRelease
Unable to connect to ppa.launchpad.net:http:
Fetched 7,502 B in 31s (238 B/s)
Reading package lists...
Building dependency tree...
Reading state information...
1 package can be upgraded. Run 'apt list --upgradable' to see it.
W: Failed to fetch http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu/dists/bionic/InRelease Could not connect to ppa.launchpad.net:80 (91.189.95.83), connection timed out Could not connect to ppa.launchpad.net:80 (2001:67c:1560:8008::15), connection timed out
W: Failed to fetch http://ppa.launchpad.net/js-reynaud/kicad-5.1/ubuntu/dists/bionic/InRelease Unable to connect to ppa.launchpad.net:http:
W: Failed to fetch http://ppa.launchpad.net/tista/plata-theme/ubuntu/dists/bionic/InRelease
Unable to connect to ppa.launchpad.net:http:
W: Failed to fetch http://ppa.launchpad.net/ubuntubudgie/backports/ubuntu/dists/bionic/InRelease Unable to connect to ppa.launchpad.net:http:
W: Failed to fetch http://ppa.launchpad.net/zeal-developers/ppa/ubuntu/dists/bionic/InRelease Unable to connect to ppa.launchpad.net:http:
W: Some index files failed to download. They have been ignored, or old ones used instead.
問題は、Web ブラウザからこれらのリンクにアクセスできることです。したがって、サーバーの問題ではないはずです。
また、IPV6 の問題かどうかを確認するために、更新時に IPV4 のみを強制してみました。また、すべての PPA を削除して再度追加してみました。
答え1
apt-get
このような状況に遭遇した場合 (ネットワークに変更がない場合もある)、の代わりにを使用すると機能することがわかりますapt
。
答え2
大学の寮のネットワークに接続したら、問題は解決しました。おそらく ISP かルーターに問題があったのでしょう。
アップデート:
わかりました。私は実際に問題を発見したので、他の人にも役立つかもしれないので、ここでのディスカッションに追加するのはいいことだと思いました。
問題は、自宅のインターネット モデムで IPv6 が有効になっていなかったことです。そこで、モデムの設定 IP アドレスにアクセスして有効にしたところ、自宅でも問題が解決しました。
ISP が IPv6 をサポートしていない可能性もあります。インドの BSNL がこれに該当するので、この点にも注意してください。