お知らせ

  • 利用規約を守って投稿してください。また、よくある質問および投稿の手引きも参照してください。
  • メッセージの投稿にはアカウントが必要です。未登録の方は、ユーザ登録ページからアカウントを作成することができます。

#1 2021-09-29 09:30:38

jack007
新しいメンバ
登録日: 2021-09-11

ubuntu18.04からアップデートできない(vccw)

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.

オフライン

 

#2 2021-09-30 06:24:35

ry
メンバ
登録日: 2008-07-30

Re: ubuntu18.04からアップデートできない(vccw)

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 のリポジトリを追加していて、アップデート時にそのまま書き替わったのでしょう。

オフライン

 

#3 2021-09-30 17:55:46

jack007
新しいメンバ
登録日: 2021-09-11

Re: ubuntu18.04からアップデートできない(vccw)

Err1から4も、ここ2日間何度やっても状態は変わりませんでした。
Err5,6は、対処方法がわかりませんでした。

vccwでphp7.4を使うためにubuntu20.04にアップデートしたかったので、はじめからやり直し、無事ubuntu20.04にアップデートできました。

ありがとうございました。

オフライン

 

Board footer

Powered by FluxBB