Pop!_os が https://archive.ubuntu.com/ubuntu focused InRelease に正しく接続しない

Pop!_os が https://archive.ubuntu.com/ubuntu focused InRelease に正しく接続しない

Pop!_osはパッケージを更新しようとしていますが、更新を適切に取得できません出典: ubuntu.comフォーカルインリリース

詳細なエラー:

Failed to fetch https://archive.ubuntu.com/ubuntu/dists/focal/InRelease
Could not connect to archive.ubuntu.com:443 (91.189.88.152). - connect (111: Connection refused)
Cannot initiate the connection to archive.ubuntu.com:443 (2001:67c:1360:8001::24). - connect (101: Network is unreachable)
Could not connect to archive.ubuntu.com:443 (91.189.88.142). - connect (111: Connection refused)
Cannot initiate the connection to archive.ubuntu.com:443 (2001:67c:1360:8001::23). - connect (101: Network is unreachable)
Cannot initiate the connection to archive.ubuntu.com:443 (2001:67c:1562::18). - connect (101: Network is unreachable)
Cannot initiate the connection to archive.ubuntu.com:443 (2001:67c:1562::15). - connect (101: Network is unreachable)

このエラーを修正するにはどうすればよいですか?また、その原因は何ですか?

答え1

リポジトリをsources.listに追加する際に、 を使ってUbuntuリポジトリに安全に接続するためのURLを追加しましたがhttps、リポジトリはTLS経由の安全な接続をサポートしていません。すべてのパッケージがすでに署名されているので十分だと考えられるため、http代わりに を使用する必要があります。

aptがTLS経由の接続をサポートしていないという意味ではありませんただし、その特定のリポジトリは TLS 接続をサポートしていません。ブラウザで URL を試すことで確認できます。

関連情報