
前提
ubuntu18.04の環境で、
”sudo apt update” を実行したところ、以下のようなエラーが発生しました。
解決方法をどなたか教えていただけないでしょうか。
よろしくお願いします。
発生している問題・エラーメッセージ
Hit:1 http://repos.rcn-ee.com/ubuntu bionic InRelease Hit:2 http://ports.ubuntu.com bionic InRelease Hit:4 http://ports.ubuntu.com bionic-updates InRelease Get:5 http://archive.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] Get:6 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] Get:3 http://archive.ubuntu.com/ubuntu bionic InRelease [242 kB] Ign:7 http://archive.ubuntu.com/ubuntu bionic-security/main armhf Packages Ign:7 http://archive.ubuntu.com/ubuntu bionic-security/main armhf Packages Ign:7 http://archive.ubuntu.com/ubuntu bionic-security/main armhf Packages Err:7 http://archive.ubuntu.com/ubuntu bionic-security/main armhf Packages 404 Not Found [IP: 2620:2d:4000:1::16 80] Ign:8 http://archive.ubuntu.com/ubuntu bionic-updates/main armhf Packages Ign:8 http://archive.ubuntu.com/ubuntu bionic-updates/main armhf Packages Ign:8 http://archive.ubuntu.com/ubuntu bionic-updates/main armhf Packages Ign:9 http://archive.ubuntu.com/ubuntu bionic/main armhf Packages Err:8 http://archive.ubuntu.com/ubuntu bionic-updates/main armhf Packages 404 Not Found [IP: 2620:2d:4000:1::16 80] Ign:9 http://archive.ubuntu.com/ubuntu bionic/main armhf Packages Ign:9 http://archive.ubuntu.com/ubuntu bionic/main armhf Packages Err:9 http://archive.ubuntu.com/ubuntu bionic/main armhf Packages 404 Not Found [IP: 2620:2d:4000:1::16 80] Fetched 419 kB in 7s (64.1 kB/s) Reading package lists... Done E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic-security/main/binary-armhf/Packages 404 Not Found [IP: 2620:2d:4000:1::16 80] E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic-updates/main/binary-armhf/Packages 404 Not Found [IP: 2620:2d:4000:1::16 80] E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic/main/binary-armhf/Packages 404 Not Found [IP: 2620:2d:4000:1::16 80] E: Some index files failed to download. They have been ignored, or old ones used instead.
補足情報(FW/ツールのバージョンなど)
zyboz7-20上でubuntu18.04が動いており、TeraTermにてwindows10のPCとシリアル通信を行っています。
勉強を始めたばかりで至らない点も多いとは思いますがよろしくお願いします。

これと現象が同じ? https://ubuntu.forumming.com/question/2978/trouble-with-apt-get-update-and-default-repositories
リポジトリサイトを国内のミラーサーバーに変更すると良かったりして。

シリアル通信で、というのが気になります。ubuntuサーバーはインターネット繋がってますか?
sPy2bUDOZ4uRa7t 様
返信が遅くなってしまい申し訳ありません。
教えていただいたサイトを参考にしたのですが解決せず、新しいエラーが発生してしまいました。
Err:1 http://ports.ubuntu.com bionic InRelease
Temporary failure resolving 'ports.ubuntu.com'
Err:2 http://repos.rcn-ee.com/ubuntu bionic InRelease
Temporary failure resolving 'repos.rcn-ee.com'
Err:3 http://archive.ubuntu.com/ubuntu bionic InRelease
Temporary failure resolving 'archive.ubuntu.com'
Err:4 http://archive.ubuntu.com/ubuntu bionic-security InRelease
Temporary failure resolving 'archive.ubuntu.com'
Err:5 http://ports.ubuntu.com bionic-updates InRelease
Temporary failure resolving 'ports.ubuntu.com'
Err:6 http://archive.ubuntu.com/ubuntu bionic-updates InRelease
Temporary failure resolving 'archive.ubuntu.com'
Reading package lists... Done
W: Failed to fetch http://ports.ubuntu.com/dists/bionic/InRelease Temporary failure resolving 'ports.ubuntu.com'
W: Failed to fetch http://ports.ubuntu.com/dists/bionic-updates/InRelease Temporary failure resolving 'ports.ubuntu.com'
W: Failed to fetch http://repos.rcn-ee.com/ubuntu/dists/bionic/InRelease Temporary failure resolving 'repos.rcn-ee.com'
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-security/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: Some index files failed to download. They have been ignored, or old ones used instead.
t@arm:~$ sudo apt update
Err:1 http://archive.ubuntu.com/ubuntu bionic InRelease
Temporary failure resolving 'archive.ubuntu.com'
Err:2 http://ports.ubuntu.com bionic InRelease
Temporary failure resolving 'ports.ubuntu.com'
Err:3 http://repos.rcn-ee.com/ubuntu bionic InRelease
Temporary failure resolving 'repos.rcn-ee.com'
Err:4 http://archive.ubuntu.com/ubuntu bionic-security InRelease
Temporary failure resolving 'archive.ubuntu.com'
Err:5 http://ports.ubuntu.com bionic-updates InRelease
Temporary failure resolving 'ports.ubuntu.com'
Err:6 http://archive.ubuntu.com/ubuntu bionic-updates InRelease
Temporary failure resolving 'archive.ubuntu.com'
Reading package lists... Done
Building dependency tree
Reading state information... Done
412 packages can be upgraded. Run 'apt list --upgradable' to see them.
W: Failed to fetch http://ports.ubuntu.com/dists/bionic/InRelease Temporary failure resolving 'ports.ubuntu.com'
W: Failed to fetch http://ports.ubuntu.com/dists/bionic-updates/InRelease Temporary failure resolving 'ports.ubuntu.com'
W: Failed to fetch http://repos.rcn-ee.com/ubuntu/dists/bionic/InRelease Temporary failure resolving 'repos.rcn-ee.com'
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-security/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: Some index files failed to download. They have been ignored, or old ones used instead.
mike2mike4 様
返信が遅くなり申し訳ありません。
Zyboに差し込むSDカードにubuntu18.04がインストールされており、windowsPCとZyboはmicro USB type Bで接続されています。

DNSサーバーのIPアドレスを登録できてないんじゃないの?
sPy2bUDOZ4uRa7t 様
以前の投稿に誤りがありました。
ネットワークに接続し忘れており、接続し直し、再度実行したところ以下のようになりました。
$ sudo apt update
Hit:2 http://repos.rcn-ee.com/ubuntu bionic InRelease
Hit:3 http://ports.ubuntu.com bionic InRelease
Get:4 http://archive.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Get:5 http://ports.ubuntu.com bionic-updates InRelease [88.7 kB]
Get:6 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Get:1 http://archive.ubuntu.com/ubuntu bionic InRelease [242 kB]
Ign:7 http://archive.ubuntu.com/ubuntu bionic/main armhf Packages
Ign:7 http://archive.ubuntu.com/ubuntu bionic/main armhf Packages
Ign:7 http://archive.ubuntu.com/ubuntu bionic/main armhf Packages
Err:7 http://archive.ubuntu.com/ubuntu bionic/main armhf Packages
404 Not Found [IP: 2620:2d:4000:1::19 80]
Reading package lists... Done
E: Release file for http://archive.ubuntu.com/ubuntu/dists/bionic-security/InRelease is not valid yet (invalid for another 3d 18h 33min 23s). Updates for this repository will not be applied.
E: Release file for http://ports.ubuntu.com/dists/bionic-updates/InRelease is not valid yet (invalid for another 3d 18h 34min 42s). Updates for this repository will not be applied.
E: Release file for http://archive.ubuntu.com/ubuntu/dists/bionic-updates/InRelease is not valid yet (invalid for another 3d 18h 34min 41s). Updates for this repository will not be applied.
上記の問題はtimezoneの設定を行うことで解決しましたが、投稿時のエラーが再度でてしまいます。
binary-armhf/Packageが、sources.list内で指定されている
archive.ubuntu.com/ubuntuではなく、ports.ubuntu.com/ubuntu内に存在しているので、
sources.listを書き直すとエラーは発生しなくなった。

回答1件
あなたの回答
tips
プレビュー