
Ubuntu日本語フォーラム
ログインしていません。
vccw(ubuntu16.04)をubuntu20.04にアップデートするために、ubuntu18.04にアップデートしました。
ここまでは良かったのですが、ubuntu18.04で「apt update」すると、下記のようなエラーが表示されました。
エラーを検索しいくつか試しては見ましたが、うまくいきません。
原因がなにかもわからないのにいろいろやったところで意味もないと思い投稿しました。
原因や対処方法のアドバイスをよろしくお願いいたします。
Err:1 http://security.ubuntu.com/ubuntu bionic-security InRelease
Temporary failure resolving 'security.ubuntu.com'
Err:2 http://archive.ubuntu.com/ubuntu bionic InRelease
Temporary failure resolving 'archive.ubuntu.com'
Err:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease
Temporary failure resolving 'archive.ubuntu.com'
Err:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease
Temporary failure resolving 'archive.ubuntu.com'
Err:5 https://esm.ubuntu.com/infra/ubuntu bionic-infra-security InRelease
Could not resolve host: esm.ubuntu.com
Err:6 https://esm.ubuntu.com/infra/ubuntu bionic-infra-updates InRelease
Could not resolve host: esm.ubuntu.com
Reading package lists... Done
Building dependency tree
Reading state information... Done
306 packages can be upgraded. Run 'apt list --upgradable' to see them.
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic/InRelease Temporary failure resolving 'archive.ubuntu.com'
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic-updates/InRelease Temporary failure resolving 'archive.ubuntu.com'
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic-backports/InRelease Temporary failure resolving 'archive.ubuntu.com'
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/bionic-security/InRelease Temporary failure resolving 'security.ubuntu.com'
W: Failed to fetch https://esm.ubuntu.com/infra/ubuntu/dists/bionic-infra-security/InRelease Could not resolve host: esm.ubuntu.com
W: Failed to fetch https://esm.ubuntu.com/infra/ubuntu/dists/bionic-infra-updates/InRelease Could not resolve host: esm.ubuntu.com
W: Some index files failed to download. They have been ignored, or old ones used instead.
オフライン
jack007 による投稿:
Err:1 http://security.ubuntu.com/ubuntu bionic-security InRelease
Temporary failure resolving 'security.ubuntu.com'
Err:2 http://archive.ubuntu.com/ubuntu bionic InRelease
Temporary failure resolving 'archive.ubuntu.com'
Err:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease
Temporary failure resolving 'archive.ubuntu.com'
Err:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease
Temporary failure resolving 'archive.ubuntu.com'
ここまでは一時的なものなので、時間をおいて再度実行すれば大丈夫だと思います。
jack007 による投稿:
Err:5 https://esm.ubuntu.com/infra/ubuntu bionic-infra-security InRelease
Could not resolve host: esm.ubuntu.com
Err:6 https://esm.ubuntu.com/infra/ubuntu bionic-infra-updates InRelease
Could not resolve host: esm.ubuntu.com
これについては、18.04 (bionic) ではまだ始まっていない ESM のリポジトリに見えるので、削除すればいいはずです。
たぶん 16.04 のときに ESM のリポジトリを追加していて、アップデート時にそのまま書き替わったのでしょう。
オフライン
Err1から4も、ここ2日間何度やっても状態は変わりませんでした。
Err5,6は、対処方法がわかりませんでした。
vccwでphp7.4を使うためにubuntu20.04にアップデートしたかったので、はじめからやり直し、無事ubuntu20.04にアップデートできました。
ありがとうございました。
オフライン