#わからない事
AWS
のEC2
にログインをしてEC2
インスタンスの環境構築をしています。
その際sudo apt-get update
を行うとネットワークに接続できませんというエラーになってしまいました。
EC2
にログインした際も接続に失敗しました等の警告が出たのでAWS
側のインターネット設定の問題かなとは思っているのですが全体像が理解しきれてないため、どこを確認すればいいのかがわかりません。
わかる方いましたら是非知恵を貸して欲しいです。
よろしくお願いしますm(__)m
バージョン
Ubuntu 20.04.1
#エラー
$ sudo apt-get update [sudo] password for hanayama: Err:1 http://security.ubuntu.com/ubuntu focal-security InRelease Cannot initiate the connection to security.ubuntu.com:80 (2001:67c:1360:8001::24). - connect (101: Network is unreachable) Cannot initiate the connection to security.ubuntu.com:80 (2001:67c:1562::15). - connect (101: Network is unreachable) Cannot initiate the connection to security.ubuntu.com:80 (2001:67c:1562::18). - connect (101: Network is unreachable) Cannot initiate the connection to security.ubuntu.com:80 (2001:67c:1360:8001::23). - connect (101: Network is unreachable) Could not connect to security.ubuntu.com:80 (91.189.88.142), connection timed out Could not connect to security.ubuntu.com:80 (91.189.88.152), connection timed out Could not connect to security.ubuntu.com:80 (91.189.91.38), connection timed out Could not connect to security.ubuntu.com:80 (91.189.91.39), connection timed out Err:2 http://ap-northeast-1.ec2.archive.ubuntu.com/ubuntu focal InRelease Could not connect to ap-northeast-1.ec2.archive.ubuntu.com:80 (54.168.29.123), connection timed out Could not connect to ap-northeast-1.ec2.archive.ubuntu.com:80 (54.199.72.88), connection timed out Could not connect to ap-northeast-1.ec2.archive.ubuntu.com:80 (54.248.7.22), connection timed out Could not connect to ap-northeast-1.ec2.archive.ubuntu.com:80 (54.248.22.77), connection timed out Could not connect to ap-northeast-1.ec2.archive.ubuntu.com:80 (54.248.192.197), connection timed out Could not connect to ap-northeast-1.ec2.archive.ubuntu.com:80 (54.248.204.122), connection timed out Could not connect to ap-northeast-1.ec2.archive.ubuntu.com:80 (54.168.13.207), connection timed out Err:3 http://ap-northeast-1.ec2.archive.ubuntu.com/ubuntu focal-updates InRelease Unable to connect to ap-northeast-1.ec2.archive.ubuntu.com:http: Err:4 http://ap-northeast-1.ec2.archive.ubuntu.com/ubuntu focal-backports InRelease Unable to connect to ap-northeast-1.ec2.archive.ubuntu.com:http: Reading package lists... Done W: Failed to fetch http://ap-northeast-1.ec2.archive.ubuntu.com/ubuntu/dists/focal/InRelease Could not connect to ap-northeast-1.ec2.archive.ubuntu.com:80 (54.168.29.123), connection timed out Could not connect to ap-northeast-1.ec2.archive.ubuntu.com:80 (54.199.72.88), connection timed out Could not connect to ap-northeast-1.ec2.archive.ubuntu.com:80 (54.248.7.22), connection timed out Could not connect to ap-northeast-1.ec2.archive.ubuntu.com:80 (54.248.22.77), connection timed out Could not connect to ap-northeast-1.ec2.archive.ubuntu.com:80 (54.248.192.197), connection timed out Could not connect to ap-northeast-1.ec2.archive.ubuntu.com:80 (54.248.204.122), connection timed out Could not connect to ap-northeast-1.ec2.archive.ubuntu.com:80 (54.168.13.207), connection timed out W: Failed to fetch http://ap-northeast-1.ec2.archive.ubuntu.com/ubuntu/dists/focal-updates/InRelease Unable to connect to ap-northeast-1.ec2.archive.ubuntu.com:http: W: Failed to fetch http://ap-northeast-1.ec2.archive.ubuntu.com/ubuntu/dists/focal-backports/InRelease Unable to connect to ap-northeast-1.ec2.archive.ubuntu.com:http: W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/focal-security/InRelease Cannot initiate the connection to security.ubuntu.com:80 (2001:67c:1360:8001::24). - connect (101: Network is unreachable) Cannot initiate the connection to security.ubuntu.com:80 (2001:67c:1562::15). - connect (101: Network is unreachable) Cannot initiate the connection to security.ubuntu.com:80 (2001:67c:1562::18). - connect (101: Network is unreachable) Cannot initiate the connection to security.ubuntu.com:80 (2001:67c:1360:8001::23). - connect (101: Network is unreachable) Could not connect to security.ubuntu.com:80 (91.189.88.142), connection timed out Could not connect to security.ubuntu.com:80 (91.189.88.152), connection timed out Could not connect to security.ubuntu.com:80 (91.189.91.38), connection timed out Could not connect to security.ubuntu.com:80 (91.189.91.39), connection timed out W: Some index files failed to download. They have been ignored, or old ones used instead.
ログインした時に出た警告
1 update can be installed immediately. 0 of these updates are security updates. To see these additional updates run: apt list --upgradable The list of available updates is more than a week old. To check for new updates run: sudo apt update Failed to connect to https://changelogs.ubuntu.com/meta-release-lts. Check your Internet connection or proxy settings
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。