
Pop!_osはパッケージを更新しようとしましたが、更新を正しくインポートできません。https://archive.ubuntu.com/ubuntuフォーカスリリース
詳細なエラー:
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
resources.listにリポジトリを追加するときにUbuntuリポジトリへのセキュア接続を使用するためのURLを追加しましたが、リポジトリhttps
はTLSを介したセキュア接続をサポートしません。彼らはすべてのパッケージがすでに署名されていれば十分だと思うので、http
それを使うべきです。
これは、aptがTLSを介した接続をサポートしていないという意味ではありません。ただし、特定のリポジトリはとにかくTLS接続をサポートしていません。ブラウザでURLを試すことでこれを確認できます。