前提・実現したいこと
UbuntuOSでパッケージをアップデートしようとしています。
発生している問題・エラーメッセージ
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/xenial/InRelease Temporary failure resolving 'archive.ubuntu.com' W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/xenial-updates/InRelease Temporary failure resolving 'archive.ubuntu.com' W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/xenial-security/InRelease Temporary failure resolving 'security.ubuntu.com' W: Failed to fetch http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu/dists/xenial/InRelease Temporary failure resolving 'ppa.launchpad.net' W: Some index files failed to download. They have been ignored, or old ones used instead.
該当のソースコード
bash
1% sudo apt-get update 2[sudo] password for username: 3Err:1 http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu xenial InRelease 4 Temporary failure resolving 'ppa.launchpad.net' 5Err:2 http://security.ubuntu.com/ubuntu xenial-security InRelease 6 Temporary failure resolving 'security.ubuntu.com' 7Err:3 http://archive.ubuntu.com/ubuntu xenial InRelease 8 Temporary failure resolving 'archive.ubuntu.com' 9Err:4 http://archive.ubuntu.com/ubuntu xenial-updates InRelease 10 Temporary failure resolving 'archive.ubuntu.com' 11Reading package lists... Done
試したこと
% sudo apt-get upgrade
でも同じようにFailed to fetch
が多発してどうしたら問題解決できるかわからない状態です。
ご回答を受けたあとのエラー文
% sudo apt-get update
以下のQiitaによる解決策を試した結果、エラー文が1文だけになりました。
ubuntu apt-get エラーで検索した結果1
ubuntu apt-get エラーで検索した結果2
Err:1 http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu xenial InRelease Temporary failure resolving 'ppa.launchpad.net' Reading package lists... Done W: Failed to fetch http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu/dists/xenial/InRelease Temporary failure resolving 'ppa.launchpad.net' W: Some index files failed to download. They have been ignored, or old ones used instead.
補足情報(FW/ツールのバージョンなど)
Ubuntu 16.04.4 LTS
回答2件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。